Hi,

have a look at this article:

http://camel.apache.org/how-do-i-retry-processing-a-message-from-a-certain-point-back-or-an-entire-route.html

Bart Horré
Anova r&d bvba

On Tue, Jun 13, 2017 at 7:44 PM, sap <patelsac...@gmail.com> wrote:

> Hi.
>
> I have a route similar to below.
>
> from("sql:select id from tab where value =
> 1234?outputHeader=id&outputType=SelectOne")
> .to("direct:domore")
>
>
> from("direct:domore")
> .to(some ftl which will use the id)
> .to(some queue)
>
> When an exception occurs in route "direct:domore", most likely cause is a
> race condition and id is not "yet" present and is null. At this point, i
> want to restart the parent route. i.e. from("sql:...) which a re delivery
> delay.
>
> how can i specify on exception clause?
>
> Thanks,
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/onException-Redelivery-to-parent-route-tp5803518.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to