errorHandler(deadLetterChannel("file:somelocation");
from("jms:queuwlocation").to(
"file:someLocation");
I have read that camel error handling comes when there's a processing
between two nodes, such as Processor, Predicate etc. But what if I cannot
consume the message, in my case the camel cannot connect to jms. How should
I log this exception ?. As I am trying to use a deadLetterChannel to send
the message to filesystem, but since I have not received the message there
is nothing new on the file location. how should I encounter this type of
situation?
--
View this message in context:
http://camel.465427.n5.nabble.com/catch-exception-in-camel-tp5773978.html
Sent from the Camel - Users mailing list archive at Nabble.com.