camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dylansd <dylan.scott-dawk...@igindex.co.uk>
Subject Re: Unable to catch exception from Camel.
Date Wed, 29 Jun 2011 12:59:29 GMT
Here is the stack trace if it helps: 

body is : Test Message: 1
1969 [Camel (camel-1) thread #0 - JmsConsumer[B2B.B2B.Q.1]] DEBUG
org.apache.camel.processor.MulticastProcessor  - Done sequential processing
0 exchanges
1969 [Camel (camel-1) thread #0 - JmsConsumer[B2B.B2B.Q.1]] DEBUG
org.apache.camel.component.jms.EndpointMessageListener  - Caused by:
[org.apache.camel.RuntimeCamelException - java.lang.Exception: No
destination queue found for message: Test Message: 1]
org.apache.camel.RuntimeCamelException: java.lang.Exception: No destination
queue found for message: Test Message: 1
	at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1139)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:115)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java: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)
Caused by: java.lang.Exception: No destination queue found for message: Test
Message: 1
	at c.i.f.o.t.s.camel.MessageRouter.routeTo(MessageRouter.java:11)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:322)
	at
org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:224)
	at
org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:167)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:103)
	at
org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:74)
	at
org.apache.camel.language.bean.BeanExpression$InvokeProcessor.process(BeanExpression.java:136)
	at
org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:92)
	at
org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:101)
	at org.apache.camel.processor.RecipientList.process(RecipientList.java:101)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
	at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
	at
org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)
	at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:109)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:103)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:92)
	... 11 more
1969 [Camel (camel-1) thread #0 - JmsConsumer[B2B.B2B.Q.1]] WARN
org.apache.camel.component.jms.JmsMessageListenerContainer  - Execution of
JMS message listener failed, and no ErrorHandler has been set.
org.apache.camel.RuntimeCamelException: java.lang.Exception: No destination
queue found for message: Test Message: 1
	at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1139)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:115)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)
	at
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java: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)
Caused by: java.lang.Exception: No destination queue found for message: Test
Message: 1
	at c.i.f.o.t.spikes.camel.MessageRouter.routeTo(MessageRouter.java:11)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:322)
	at
org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:224)
	at
org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:167)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:103)
	at
org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:74)
	at
org.apache.camel.language.bean.BeanExpression$InvokeProcessor.process(BeanExpression.java:136)
	at
org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:92)
	at
org.apache.camel.language.bean.BeanExpression.evaluate(BeanExpression.java:101)
	at org.apache.camel.processor.RecipientList.process(RecipientList.java:101)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
	at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
	at
org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)
	at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:109)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:77)
	at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:103)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:92)
	... 11 more


--
View 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.

Mime
View raw message