Hello

How does the error handler is supose to work ?

from("file://data.txt?delete=false")
.process(new Processor() 
{
        public void process(Exchange exchange) throws Exception
        {
                throw new Exception("Processing exception");
        }
}).errorHandler(deadLetterChannel("activemq:queue:errors").maximumRedeliveries(2));

what does that code do ?

It send the exception to activemq ?
It print all exception in the system output ?

cmdr
-- 
View this message in context: 
http://www.nabble.com/error-handler-tp15699889s22882p15699889.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to