We use the vm or direct-vm component for inter bundle communication. It should be the fastest integration. But this integration is not so loosely coupled as JMS which can persist the message is the consumer is not up and running...
Because of an issue in the vm component we fixed recently [1], you may want wait for the next Camel 2.10.5 or Camel 2.11.0 release (very soon). [1] https://issues.apache.org/jira/browse/CAMEL-6073 Best, Christian On Tue, Mar 26, 2013 at 8:17 AM, ddewaele <[email protected]> wrote: > Hi, > > We have 2 deployable units, EBA files , containing camel routes that are > deployed on Websphere. > > For those that don't know what an EBA is, it's an enterprise bundle archive > (basically an EAR file containing OSGI bundles). > > We would like to have the ability to send messages that are being processed > in the camel route in EBA1 to a camel route in EBA2. > > EBA2 has existing camel http/jms endpoints that we could use to do the > integration. It would keep the 2 units loosely coupled and the integration > would be straightforward. > > We're also looking into performance, and using http/jms for communication > inside the same jvm might also not be ideal. > > Is using VM endpoints also an option here ? As both EBAs run in the same > JVM, would it be possible to directly exchange messages between these camel > routes ? I read on this mailing list that the VM endpoint was primarily > created for sharing messages between WAR files deployed in Apache Tomcat > etc. > > What is your take on this ? > > Thanks... > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Integrating-2-deployable-units-containing-camel-routes-tp5729827.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
