Camel version 2.8.0

We have a web servive route which use an idempotent repository (JDBC) to
prevent duplicates. If the processing of one exchange failed, the entry is
removed from the idempotent repository in the async onCompleation()
execution.

>From time to time we have the issue, that when the client send the request
again after only a few milli seconds, the entry wasn't removed from the
repository and processed as a duplicate.

Is there a way to process the onCompleation() synchronously (before the web
service response is send back)?

Thanks in advance,
Christian

Reply via email to