Hi Nivi,

yes it's possible be defining a static ActiveMQ host.

Edit the conf/activemq.xml. You have a section <amq:networkConnectors/>. By
 default, it uses a multicast address but you can define static routing like 
this :

<amq:networkConnectors>
   <amq:networkConnector 
uri="static://(tcp://localhost:61616,tcp://localhost:61617)"/>
</amq:networkCOnnectors>

Setup eatch ServiceMix to use the correct ActiveMQ port number (in 
conf/servicemix.properties).

Regards
JB

On Monday 09 February 2009 - 14:06, Nivetha Shri wrote:
> Hi
> 
> Is it possible to communicate between 2 servicemix instances in different
> vms in the same machine? How can it be achieved?
> 
> Any inputs please??
> 
> Thanks and Regards
> Nivi Shri
> 
> On Thu, Jan 15, 2009 at 6:32 PM, Bozo Juretic <[email protected]> wrote:
> 
> > Hi,
> >
> > perhaps Camel's vm component could help you (if both smx's are in the
> > same VM)?
> >
> > Take a look at http://activemq.apache.org/camel/vm.html .
> >
> > Best regards,
> >
> > Bozo
> >
> > ayyagarikiran wrote:
> > > hello Guys,
> > >
> > > Is there a way to form a bridge between 2 SMX instances without using
> > > web services or any other external service?
> > >
> > > Am currently looking for a feature like 'Network of Brokers' present
> > > in ActiveMQ
> > >
> > > P.S :- Initially posted the same on IRC but think all are busy with
> > > their work :)
> > >
> > > thanks,
> > > Kiran Ayyagari
> > >
> > >
> >

-- 
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086

Reply via email to