[cdi-dev] [JBoss JIRA] (CDI-203) Decorator support for @MessageDriven bean MessageListener interface

Martin Kouba (JIRA) jira-events at lists.jboss.org
Mon Sep 24 11:41:35 EDT 2012


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

Martin Kouba commented on CDI-203:
----------------------------------

I see, to resolve the delegate IP. Well, I'm no MDB expert but I think this might be tricky. At least there is no way to get the client reference of a MDB outside JMS queues/topics AFAIK. So this will require some container "hack".

And I guess we will also need to introduce an inconsistent exception like: MDB is non-contextual object but has some bean types and qualifiers...
                
> Decorator support for @MessageDriven bean MessageListener interface
> -------------------------------------------------------------------
>
>                 Key: CDI-203
>                 URL: https://issues.jboss.org/browse/CDI-203
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Decorators, Java EE integration
>    Affects Versions: 1.1 (Proposed)
>            Reporter: David Blevins
>            Assignee: Pete Muir
>             Fix For: 1.1 (Proposed)
>
>
> Interceptors for message-driven beans are explicitly mentioned as supported in CDI 1.0, but decorator support appears to be left out.  Decorators that implement the message listener interface would be very useful.  As well, most contains have one stack now that does both interceptors and decorators, so enabling this for MDBs would be quite easy.

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