[cdi-dev] [JBoss JIRA] (CDI-205) Invocations of message listener methods of message-driven beans during message delivery should not be business method invocations

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


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

John Ament commented on CDI-205:
--------------------------------

Thanks Pete.

I fear that this has been missed then, as section 6.7.1 should have had some kind of update applied to reflect a similar change.
                
> Invocations of message listener methods of message-driven beans during message delivery should not be business method invocations
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CDI-205
>                 URL: https://issues.jboss.org/browse/CDI-205
>             Project: CDI Specification Issues
>          Issue Type: Bug
>    Affects Versions: 1.0, 1.1.EDR
>            Reporter: Martin Kouba
>            Assignee: Pete Muir
>             Fix For: 1.1.PFD
>
>
> *7.2. Container invocations and interception* states:
> When the container invokes a method of a bean, the invocation may or may not be treated as a business method invocation:
> * Invocations of message listener methods of message-driven beans during message delivery are business method invocations.
> As MDBs are not CDI beans their methods shouldn't be business invocations (and thus should not pass through method interceptors and decorators).
> If the original intent was to support such use case the spec should be reworded.

--
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