users@jms-spec.java.net

[jms-spec users] [jsr343-experts] Re: JMS 2.0 Early Draft ready for final review

From: Rüdiger zu Dohna <ruediger.dohna_at_1und1.de>
Date: Mon, 20 Feb 2012 19:15:10 +0100

On 2012-02-20, at 14:45, Nigel Deakin wrote:
>>>> * Injecting a MessagingContext
>>>> ------------------------------
>> But we don't have to specify that there has to be some underlying MessagingContext, do we?
>
> We have to say *something* because we don't want the application to think that the instance variable holding the
> MessagingContext will correspond to the same session for the entire life of the owning bean (because that would have
> implications for message ordering). I'm still looking for the right form of words here and am open to suggestions.

IMHO, if message ordering was only defined within one transaction, that would be good enough. This is the 99,99% use case in EE and a useful simplification in SE, isn't it?