camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Need help in Connection refused
Date Fri, 15 Jun 2012 02:09:31 GMT
It looks like the exception is throw before it is ready to consume the 
message. I doubt the ErrorHandler can do this work.
Maybe you should wrap the jms connector to catch this kind of error.

On 6/14/12 5:44 PM, vargjohn wrote:
> Hi All,
> I have an application which has a camel server running and listening to
> activemq server at port number 61616.
> When the camel server is running, the activemq server should also be running
> at the same time to listen to the messages.
> When the activemq is not started i am getting the below exception.
> "Could not connect to broker URL: tcp://localhost:61616. Reason:
> Connection refused"
> Instead of showing the above exception, i need to show a meaningful message
> to the user something like please restart the activemq server, how do i
> achieve this, Can anyone give me a solution for this exception.
> Thanks&  Regards,
> John
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Blog: (English)
Twitter: willemjiang
Weibo: willemjiang

View raw message