May be this link is useful for you: [1] As you may know, SMX is based on Karaf.
[1] http://karaf.apache.org/manual/latest-2.3.x/users-guide/failover.html Christian On Thu, Apr 25, 2013 at 6:10 PM, Michalis <mixalis.varda...@gmail.com>wrote: > Hi all, > > I've read many resources on this forum and on web and I'm confused about > how > can I have 2 instances of smx clustered. > Ok I understand that high availability and clustering is provided through > the activemq broker but let me describe the following scenario. > > Suppose I deploy the following routes in smx (simplified) > *First* > /"take an xml file from an ftp server put it in a queue do smth and send > data from file to a webservice end point"/ > > from(ftp://...).to(jms:queue:...) > from(jms:...).to(cxf:endpoint2) > > *Second* > /"expose a webservice take xml data from it place them on a queue, do smth > and send data to a webservice end point/t" > > from(cxf:endpoint1).to(jms:queue:...) > from(jms:queue:...).to(cxf:endpoint2) > > So if deploy exactly the same routes in 2 smx instances does this mean for > the first scenario that > the first smx who takes access to the file in ftp server does the > processing? > Could this result to an error or something like conflict? > > In second scenario how can 2 smx expose a a web service in same url? What > load balancer can I have in front to manage HTTP traffic? How can this be > done? > > Is this clustering after all? > > Thanks in advance! > > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Clustering-in-smx-4-4-tp5716595.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >