camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <>
Subject Re: Need help in Connection refused
Date Fri, 15 Jun 2012 06:54:37 GMT
Maybe this could be one possible way:

Using plain Java Socket API write a bean which only does try to connect on
localhost port 61616 inside your Camel route and rethrows the exception if with the message "Connection refused" is thrown so
that your onException clause get's kicked in.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message