Hello Gert,

If I have the Producer end point on ESB instance 1 and Consumer endpoint on
ESB instance 2,
but both the instances are running on the same virtual machine, then in
this case after creating a network of brokers using <networkConnectors />
inside the activemq-broker.xml
do I still need to create a camel route as you had explained above?

Thank you,
Arun



On 12 November 2013 08:45, Gert Vanthienen [via ServiceMix] <
[email protected]> wrote:

> 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 <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5718337&i=0>>
> 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.
>  Regards,
>
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://servicemix.396122.n5.nabble.com/How-to-connect-two-service-mix-instances-tp5718331p5718337.html
>  To unsubscribe from How to connect two service mix instances?, click 
> here<http://servicemix.396122.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5718331&code=YXJ1bi4yMi5oQGdtYWlsLmNvbXw1NzE4MzMxfDc1Nzg1Njc4MQ==>
> .
> NAML<http://servicemix.396122.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Mit freundlichen Grüßen / Kind regards,
Arun




--
View this message in context: 
http://servicemix.396122.n5.nabble.com/How-to-connect-two-service-mix-instances-tp5718331p5718456.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to