[cdi-dev] JMS 2.1: Proposal to allow any CDI managed bean in a Java EE application to listen for JMS messages

Jozef Hartinger jharting at redhat.com
Tue Aug 25 10:26:21 EDT 2015


Agreed. I think we should leverage the existing CDI event/observer 
functionality instead of introducing a completely new delivery mechanism.


On 25.08.2015 16:05, Romain Manni-Bucau wrote:
>
> For this last case a really elegant solution would be to just reuse
> @Observes to fire the message from the jms "container" listener and
> propagate it to the "user" listener. This would then allow to decouple
> the application listener from JMS.


More information about the cdi-dev mailing list