You can use a route scoped onException block (instead of a global one).
But probably the best option by using JMS as source of your message is
using a transacted route. You can simple throw an exception if the "thing"
you are looking for is not available and let the broker re-send the
message. If y
Thank you. Looking at the tst helped us resolving the issue.
-
Alireza Salemi
--
View this message in context:
http://camel.465427.n5.nabble.com/Exception-doesn-t-get-caught-in-the-route-tp5733381p5734234.html
Sent from the Camel - Users mailing list archive at Nabble.com.