jsr343-experts@jms-spec.java.net

[jsr343-experts] Re: (JMS_SPEC-121) Injection of JMSContext objects not possible in a WebSocket @OnMessage or @OnClose callback method

From: John D. Ament <john.d.ament_at_gmail.com>
Date: Tue, 7 May 2013 10:10:22 -0400

Nigel,

I'll dig further. It was to have been removed via
https://issues.jboss.org/browse/CDI-205


On Tue, May 7, 2013 at 10:05 AM, Nigel Deakin <nigel.deakin_at_oracle.com>wrote:

> On 07/05/2013 14:41, John D. Ament wrote:
>
>> Nigel,
>>
>> I can see the logic in that (though if that's the case then the current
>> requirement for a request scope to be valid in
>> MDB callbacks should probably be moved from the CDI spec to the EJB spec).
>>
>> I believe this line was removed from the CDI spec for 1.1.
>>
>> John
>>
>
> In the proposed final draft, section 6.7.1 states that "The request scope
> is active...during message delivery to any EJB message-driven bean".
>
> Did it change after that? I think removing this would be an incompatible
> change without a corresponding change to the EJB spec.
>
> Nigel
>
>