IAmYourFaja
IAmYourFaja

Reputation: 56912

Camel routing between EJBs

I just need confirmation/clarification on my understanding of some Apache Camel basics. If I have a backend that consists of many EJBs, and I want to use a service bus like Camel to wire them together in various ways, then I imagine there must be someway of defining each EJB as an "endpoint" (my ESB terminology is still in development) and then to send messages to those endpoints? If so, can someone provide or point me to a working code example that demonstrates this, and if not, can someone explain to me how EJBs can communicate over Camel?

Thanks in advance!

Upvotes: 3

Views: 3025

Answers (1)

Ben ODay
Ben ODay

Reputation: 21015

see camel-ejb for an overview and take a look at this unit test for a working example...

https://svn.apache.org/repos/asf/camel/trunk/components/camel-ejb/src/test/java/org/apache/camel/component/ejb/GreaterCamelEjbTest.java

Upvotes: 1

Related Questions