Re: Endpoint configuration error

2013-02-28 Thread Claus Ibsen
On Thu, Feb 28, 2013 at 9:53 AM, Richa wrote: > Thank you for your reply claus. > I am using camel 2.10.2. > It's a normal java function. The function returns the JmsEndpoint which I > later use in my route. But even though I put try catch block, I get this > exception thrown out. Apparently the c

Re: Endpoint configuration error

2013-02-28 Thread Richa
Thank you for your reply claus. I am using camel 2.10.2. It's a normal java function. The function returns the JmsEndpoint which I later use in my route. But even though I put try catch block, I get this exception thrown out. Apparently the code does not go to the catch block. Currently my catch b

Re: Endpoint configuration error

2013-02-28 Thread Claus Ibsen
On Thu, Feb 28, 2013 at 7:19 AM, Richa 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 l