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
