[cdi-dev] [JBoss JIRA] (CDI-371) Message-Driven Beans should not have request scope active OR EJB spec needs to be updated

John Ament (JIRA) jira-events at lists.jboss.org
Tue May 7 10:45:54 EDT 2013


    [ https://issues.jboss.org/browse/CDI-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772764#comment-12772764 ] 

John Ament commented on CDI-371:
--------------------------------

This functionality has never been implemented as far as anyone is aware.  Currently MDBs do not create a request scope context when they are invoked (at least not consistently across app servers).  In order to do this, an EJB spec change needs to be done to turn on this context.
                
> Message-Driven Beans should not have request scope active OR EJB spec needs to be updated
> -----------------------------------------------------------------------------------------
>
>                 Key: CDI-371
>                 URL: https://issues.jboss.org/browse/CDI-371
>             Project: CDI Specification Issues
>          Issue Type: Bug
>    Affects Versions: 1.0, 1.1.PFD
>            Reporter: John Ament
>
> In CDI spec, section 6.7.1 message-driven beans are included as having Request Scope enabled during invocation.  This is not consistent with other areas where MDBs were removed.  Further more this section needs additional review with the updated MDB spec that the EJB group has come up with.
> I believe Transaction Scope is more appropriate.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list