[ 
https://issues.apache.org/jira/browse/CAMEL-5408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403796#comment-13403796
 ] 

Henryk Konsek commented on CAMEL-5408:
--------------------------------------

What about adding an asynchronous CDI event consumer? It could work similarly 
to the Guava EventBus consumer [1].

from("cdi-event:///?eventClass=com.foo.MyEvent").to("mock:consumedFromCdi");

[1] http://camel.apache.org/guava-eventbus.html
                
> Extend CDI component with support for events
> --------------------------------------------
>
>                 Key: CAMEL-5408
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5408
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Ɓukasz Dywicki
>         Attachments: CAMEL-5408.patch
>
>
> Camel-cdi integration allows to use beans registered in CDI registry. CDI 
> supports also event mechanism which can be useful in many cases. Provided 
> patch allows camel produce new CDI events.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to