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