L.S., I think the vm: component from Camel can help you do this, as long as you put a camel-core jar in a shared classpath location (cfr. http://camel.apache.org/vm.html).
Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/12/14 Anto Paul <[email protected]>: > I am using SEDA and no plan to use ActiveMQ. I need to pass heavy objects > and is the reason looking for a bridge. > > Anto > > On Thu, Dec 10, 2009 at 1:36 AM, H. Willstrand <[email protected]>wrote: > >> On Wed, Dec 9, 2009 at 7:54 AM, Anto Paul <[email protected]> wrote: >> > Any help on this? >> > >> > Anto >> > >> > On Fri, Dec 4, 2009 at 10:45 AM, Anto Paul <[email protected]> >> wrote: >> > >> >> Hi, >> >> I am using ServiceMix lw container and it is deployed as a WAR file >> in >> >> JBoss. There are two WAR files and has its own ServiceMix container. Now >> I >> >> need to communicate between these two instances. Since both are deployed >> in >> >> same VM I don't want to use any remote client that will pass the payload >> >> over wire. I am looking for a simple and efficient way of exchanging >> payload >> >> from on instance to another using an API call. Also I am using InOut MEP >> for >> >> that so I am expecting immediate response from second SMX instance. >> >> Ways I can think of is to bind SMX client to JNDI and use this >> client >> >> to communicate. But this will give class cast exceptions as both WAR >> files >> >> has ServiceMix JARs. Is there any other way to achieve it? >> >> >> >> Thanks in advance for help. >> >> >> >> Anto >> >> >> > >> >> Have a look at http://activemq.apache.org/vm-transport-reference.html >> >> //HW >> >
