Reputation: 801
I have a scenario which I would like to understand and learn when run two service mix instances in different box .Each instance has a same program which will take a file from a ftp endpoint. How will they behavior be .
Will both the nodes pick the file or only one picks it. In this case we are not deleting the file after the read or moving the file to any other location and the file remains for a longer time.
I would also like to know if there are any load balancing solution available for this scenario that can be configured from Camel for the the inbound endpoint like file and ftp/sftp.
Upvotes: 2
Views: 1145
Reputation: 55555
Apache ServiceMix does not have such functionality.
fabric8 has this out of the box with the Camel master component
Though you can take a look at using route policy with Apache Camel
... where there is a zookeeper route policy for master/failover. But
... or you can build your custom route policy to do master/failover also.
Upvotes: 3