camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Jolliffe <>
Subject http endpoint, unknown host and errorhandler
Date Wed, 18 Apr 2012 12:34:20 GMT
I have a route which gets data using an http endpoint.  I am trying to
sensibly handle errors on the route.  Because its a remote server
there are many things which could go wrong in the network, so I
configured an errorhandler with maximumRedeliveries="5".

My problem is that if I test with a dummy url of a host which doesn't
exist, I get the following consumer polling error which continues

* WARN  2012-04-18 13:31:22,022 Consumer
could not poll endpoint:
caused by:
( [Camel (camel-builtin) thread
#1 -])

This is not being percolated up to my errorhandler.  Am I doing
something wrong?  Do I have to use doTry instead?


View raw message