Hi Claus,

I think such an API is long due in Camel
I've documented the various ways for having sindleton Camel routes on
my blog long ago.

http://www.ofbizian.com/2014/01/masterslave-failover-for-camel-routes.html

Something related again for clustering... We have a number of statefil EIPs.

Having some kind of API for sharing the state between clustered EIPs
would be cool. It is not clear how that would look like yet, but this
is a different topic anyway.

Cheers,

On 28 May 2016 at 08:52, Claus Ibsen <claus.ib...@gmail.com> wrote:
> Hi
>
> We have a few components that offer capability to run a Camel routes
> in master/slave mode, where one node is elected as master and only
> runs the route at that node, and the other nodes are in slave mode,
> and then will failover if needed.
>
> For example camel-zookeeper, and camel-quartz can do that. And now
> also camel-consul. And possible others I have forgot.
>
> I wonder if we should introduce some API those components
> implementations can implement so we would better be able to manage and
> know about this. Then we can have JMX information about routes being
> in master/slave mode, and you can see for example in a 4 node cluster
> that its node-b that is the master.
>
> node-a route-foo: slave
> node-b route-foo: master
> node-c route-foo: slave
> node-d route-foo: slave
>
> We have a bit old JIRA ticket about this:
> https://issues.apache.org/jira/browse/CAMEL-4454
>
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475

Reply via email to