You could make your second/backup route timer driven - that may accomplish what
you’re after.
from( “timer:my-timer?period=5000 ).
.pollEnrich( “jms….”, timeout)
You’d probably need to make this route enable some other route to drain the
queue if it found a message, and then have that route stop when it’s done.
It may be a little too convoluted - but I thought I’d throw it out there.
> On Feb 22, 2016, at 11:50 AM, fliot <[email protected]> wrote:
>
> My camel consumers are not geographically at the same distance from broker,
> And network bandwith have some cost...
>
> I just reviewed the exclusive consumer documentation, it doesn't fit exactly
> to my need,
> I was looking for something like a balance factor, with which I could set to
> define how consumer can act.
>
> Thanks anyway for the answer.
>
> Regards.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Activemq-initialDelay-tp5778033p5778075.html
> Sent from the Camel - Users mailing list archive at Nabble.com.