camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Lacerda <>
Subject Is it poossible, start a route from an EJB endpoint?
Date Sat, 05 Sep 2015 15:19:07 GMT

I'm a Camel newbie looking for some help.

I'd like to know if is possible to start a camel spring route from an EJB

For example:

  <from uri="ejb:MyServiceBean?method=foo&amp;synchronous=true"/>

I'm getting the following exception when try to start the route:

"Caused by: java.lang.UnsupportedOperationException: You cannot consume from
a bean endpoint"

My idea is provide the remote EJB interface as a Camel Endpoit and lookup
the EJB from another JBoss EAP server instance, in the common EJB Remote
Lookup way.

The samples that I already saw starts the route as a <direct:true> endpoint.

Camel EJB <>  
Another example

Any help will be very appreciated.

Thanks in advance.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message