Hi JB
Thanks for the valid piece of info.. Got it working :-)
Can you please tell me how to bind the bean component using jndi?
It works for me without integrating in servicemix. When i try to integrate
it in servicemix am getting a bean not found exception.
JndiContext context = new JndiContext();
context.bind("myBeanBinding", new MyBean);
CamelContext camelContext = new DefaultCamelContext(context);
and the configure() is overridden as
from("inputEndpoint").to("bean: myBeanBinding");
The same code works without integrating in servicemix. Should i do any other
configurations when integrating in servicemix?
Thanks and Regards
Nivi Shri
On Mon, Feb 9, 2009 at 4:07 PM, Jean-Baptiste Onofré <[email protected]>wrote:
> 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
>