Hi!

Question: is it possible to configure a route so that at any given time there is at most one consumer?


I thought of using idempotentConsumers. The expression for the message id would be any constant, really. This way, when another consumer tries to process the exchange, it'd be discarded.


http://people.apache.org/~dkulp/camel/idempotent-consumer.html


But this seems like bending the rules more than what I'd like to. Hence the question. If there's a way to do a semaphore like step, that'd be lovely.


Thanks in advance!

Luiz


Reply via email to