Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 404
IAmYourFaja Avatar asked Aug 02 '26 17:08

IAmYourFaja


1 Answers

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

like image 185
Ben ODay Avatar answered Aug 04 '26 06:08

Ben ODay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!