Hello,

I am searching for a pattern that occurs quite often in EAI but I have not
found it in the list of documented patterns.

I want to process input from an external source and feed it into a queue. To
make the scenario fault tolerant at least two adapters have to be installed
on two separate machines. They read input from a custom source (in my case I
have to connect to a legacy system via an API and subscribe to a feed). The
catch is the at any time only one of the adapters may be active.

One way to achieve this is sending heartbeats on a topic and having a rule
which adapter should be active. At the moment I start all adapters inactive
and give them a weight setting. Now if an adapter receives no heartbeats or
only heartbeats from adapters with lower weights it will activate.

While I probably can implement this on my own I am wondering if someone has
already solved the problem.

Best regards

Christian

-- 
View this message in context: 
http://www.nabble.com/Running-several-input-adapters-where-only-one-is-active-at-a-time-tp14237637s22882p14237637.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to