Hi Arun,
Apache ServiceMix comes with an embedded ActiveMQ instance. You can
set up a network of brokers to interconnect the two ActiveMQ instances
so messages produced on one instance can be consumed on the other one.
Once that has been set up, just create a Camel route that does
to("activemq://MyQueue") on one machine and deploy a second route that
starts with from("activemq://MyQueue") on the other one - ActiveMQ
will take care of forwarding the messages to the other machine behind
the scenes.
In order to set up the network of brokers, have a look at
http://activemq.apache.org/networks-of-brokers.html. The configuration
for the embedded ActiveMQ instance can be found in the
etc/activemq-broker.xml file. If you edit the file and add the
necessary bits in there, the embedded ActiveMQ broker will
automatically be restarted to pick up the configuration changes.
Regards,
Gert Vanthienen
On Mon, Nov 11, 2013 at 1:27 AM, arun kumar <[email protected]> wrote:
> Hi All,
>
> I am newbie to Servicemix.
> I am using Apache service mix 4.5.2 and i would like to interconnect two
> service mix instances running on two different servers.
>
> The thing is I have producer on ESB instance 1 and the consumer end point on
> ESB instance 2. So is it possible that I send the request to ESB instance 1
> to serve the request by interconnecting these two ESB instances.
>
> Thanks,
> Arun
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/How-to-connect-two-service-mix-instances-tp5718331.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.