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.

Reply via email to