On Thu, Feb 28, 2013 at 7:19 AM, Richa <rsinha2...@gmail.com> wrote:
> Hi,
> I am creating a JmsEndpoint for my route. The problem is that when the JMS
> is down, the following line:
> JmsEndpoint
> endpoint=(JmsEndpoint)getContext().getEndpoint("activemq:topic:jms.topicName"
> is throwing exception.
> I have put this line in a try catch block but still I cannot catch the
> exception. I don't want to throw the exception but to catch the exception
> and handle it in my way.Kindly help me with this.
>

Where have you put this code?
And what Camel version do you use?

Its just java code, so a try catch exception or throwable ought to handle that.




>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Endpoint-configuration-error-tp5728272.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to