jsr343-experts@jms-spec.java.net

[jsr343-experts] Re: (JMS_SPEC-64) Define simplified JMS API

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Mon, 12 Dec 2011 15:52:40 +0000

On 12/12/2011 15:46, Nigel Deakin wrote:
>
> 3. Comment: For Java SE applications which need to create two MessagingContext objects on the same underlying
> Connection, instead of providing methods like Connection.createMessagingContext(), how about providing a new method
> MessagingContext.createMessagingContext(sessionMode) which creates a second MessagingContext using the same Connection
> as the first MessagingContext? This would remove the need for such applications to use Connection objects at all.
>
> Nigel responds: I think this is an excellent idea.

(Perhaps I should acknowledge that this is quite close to something that others here have suggested)

Nigel