users@jms-spec.java.net

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

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Tue, 07 May 2013 15:05:09 +0100

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