message in context:
http://camel.465427.n5.nabble.com/Unable-to-catch-exception-from-Camel-tp4578302p4582894.html
Sent from the Camel - Users mailing list archive at Nabble.com.
a:947)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
>
> --
> View this message in context:
> http
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
--
View this message in context:
http://camel.465427.n5.nabble.com/Unable-to-catch-exception-from-Camel-tp4578302p4578310.html
Sent from the Camel - Users mailing list archive at Nabble.com.
in context:
http://camel.465427.n5.nabble.com/Unable-to-catch-exception-from-Camel-tp4578302p4578302.html
Sent from the Camel - Users mailing list archive at Nabble.com.
-
View this message in context:
http://camel.465427.n5.nabble.com/Unable-to-catch-exception-from-Camel-tp4528048p4535667.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ot;2";
throw new Exception("No destination queue found for message: " +
body);
}
String queueName = "ibmmq:B2B.B2B.Q."+endPoint;
return queueName;
}
Is there something I am doing wrong?
Regards
Dylan.
--
View this message in context:
htt
this message in context:
http://camel.465427.n5.nabble.com/Unable-to-catch-exception-from-Camel-tp4528048p4535048.html
Sent from the Camel - Users mailing list archive at Nabble.com.
: Sven Zethelius
> Sent: Monday, June 27, 2011 8:13 AM
> To: users@camel.apache.org
> Subject: RE: Unable to catch exception from Camel.
>
> Actually you won't be able to catch the exception, since this is caught and
> handled in Spring-JMS AbstractPollingMessageListenerCo
//context.start();
}catch(Exception ep) {
System.out.println("please catch");
}
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Unable-to-catch-exception-from-Camel-tp4528048p4528137.html
Sent from the Camel - Users mailing list archive at Nabble.com.
org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:173)
at
org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)
... 43 more
Regards
Dylan.
--
View this message in context:
http://camel.465427.n5.nabble.com/Unable-to-catch
--Original Message-
From: Sven Zethelius
Sent: Monday, June 27, 2011 8:13 AM
To: users@camel.apache.org
Subject: RE: Unable to catch exception from Camel.
Actually you won't be able to catch the exception, since this is caught and
handled in Spring-JMS AbstractPollingMessageListenerConta
, although I haven't found
a good way yet since Camel creates the MessageListenerContainer for you.
-Original Message-
From: Ashwin Karpe [mailto:aka...@fusesource.com]
Sent: Monday, June 27, 2011 7:54 AM
To: users@camel.apache.org
Subject: Re: Unable to catch exception from Camel.
ware Corporation subsidiary)
http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
CamelOne 2011: http://fusesource.com/camel2011
-
--
View this message in context:
http://camel.465427.n5.nabble.com/Unable-to-catch-exception-
13 matches
Mail list logo