Considering I have a CBR chain like this,
CBR0 = from seda:preRoute to receipientList (seda:1 OR seda:2 OR seda:3)
CBR1 = from seda:1 to seda:postRoute
CBR2 = from seda:2 to seda:postRoute
CBR3 = from seda:3 to seda:postRoute
CBRP = from seda:postRoute to finalEndpoint
and I want to add idempotent consumers to the whole chain
(transaction-like), so that if an exchange is failed (and removed from
idempotentRepo) in CBR2 it also being removed from CBR0 since my producer
will re-submit the message to the CBR0.
Should I rethink my camel routes? or is it logical to achieve this?
CBR0 = from seda:preRoute to receipientList (seda:1 OR seda:2 OR seda:3)
CBR1 = from seda:1 to seda:postRoute
CBR2 = from seda:2 to seda:postRoute
CBR3 = from seda:3 to seda:postRoute
CBRP = from seda:postRoute to finalEndpoint
and I want to add idempotent consumers to the whole chain
(transaction-like), so that if an exchange is failed (and removed from
idempotentRepo) in CBR2 it also being removed from CBR0 since my producer
will re-submit the message to the CBR0.
Should I rethink my camel routes? or is it logical to achieve this?