camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Smithee <h1d...@yahoo.com>
Subject Re: Jetty to ActiveMQ Failure
Date Fri, 11 Jan 2013 15:21:20 GMT
Thanks for the pointer.

I changed the route to look like this:

from("jetty:http://localhost:8085/incoming?sessionSupport=true").routeId("Jetty
Endpoint to ActiveMQ")											.setExchangePattern(ExchangePattern.InOut)														

.to("jms:incoming");

to match what the documentation suggested. I also upgraded Camel to 2.10.3
and Jetty to 8.1.2.v20120308 to see if it helps. Unfortunately the bug still
exists using the same jmsConfig I listed above.



Exception

2013-01-11 10:12:54,272 [er[temporary]-1] WARN 
efaultMessageListenerContainer - Setup of JMS message listener invoker
failed for destination 'temporary' - trying to recover. Cause: The Consumer
is closed
2013-01-11 10:12:54,275 [er[temporary]-1] INFO  PooledConnection              
- failed to delete Temporary Queue
"temp-queue://ID:Ks-MacBook-Pro.local-52010-1357916734376-3:3:1" on closing
pooled connection: The connection is already closed
2013-01-11 10:12:54,279 [sumer[incoming]] WARN 
ultJmsMessageListenerContainer - Setup of JMS message listener invoker
failed for destination 'incoming' - trying to recover. Cause: The Session is
closed
2013-01-11 10:12:54,291 [sumer[incoming]] INFO 
ultJmsMessageListenerContainer - Successfully refreshed JMS Connection
2013-01-11 10:12:54,292 [er[temporary]-1] INFO 
efaultMessageListenerContainer - Successfully refreshed JMS Connection
2013-01-11 10:12:54,303 [sumer[incoming]] WARN  EndpointMessageListener       
- Execution of JMS message listener failed. Caused by:
[org.apache.camel.RuntimeCamelException -
org.springframework.jms.InvalidDestinationException: Cannot publish to a
deleted Destination:
temp-queue://ID:Ks-MacBook-Pro.local-52010-1357916734376-3:3:1; nested
exception is javax.jms.InvalidDestinationException: Cannot publish to a
deleted Destination:
temp-queue://ID:Ks-MacBook-Pro.local-52010-1357916734376-3:3:1]
org.apache.camel.RuntimeCamelException:
org.springframework.jms.InvalidDestinationException: Cannot publish to a
deleted Destination:
temp-queue://ID:Ks-MacBook-Pro.local-52010-1357916734376-3:3:1; nested
exception is javax.jms.InvalidDestinationException: Cannot publish to a
deleted Destination:
temp-queue://ID:Ks-MacBook-Pro.local-52010-1357916734376-3:3:1
	at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1271)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:125)
	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.runWorker(ThreadPoolExecutor.java:1110)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.jms.InvalidDestinationException: Cannot
publish to a deleted Destination:
temp-queue://ID:Ks-MacBook-Pro.local-52010-1357916734376-3:3:1; nested
exception is javax.jms.InvalidDestinationException: Cannot publish to a
deleted Destination:
temp-queue://ID:Ks-MacBook-Pro.local-52010-1357916734376-3:3:1
	at
org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:285)
	at
org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168)
	at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:469)
	at
org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:198)
	at
org.apache.camel.component.jms.EndpointMessageListener.sendReply(EndpointMessageListener.java:353)
	at
org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:206)
	at
org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:108)
	... 11 more
Caused by: javax.jms.InvalidDestinationException: Cannot publish to a
deleted Destination:
temp-queue://ID:Ks-MacBook-Pro.local-52010-1357916734376-3:3:1
	at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1731)
	at
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:277)
	at
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:212)
	at org.apache.activemq.pool.PooledProducer.send(PooledProducer.java:79)
	at org.apache.activemq.pool.PooledProducer.send(PooledProducer.java:62)
	at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:592)
	at
org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSend(JmsConfiguration.java:276)
	at
org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:215)
	at
org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:157)
	at
org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$4.doInJms(JmsConfiguration.java:200)
	at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)
	... 15 more



--
View this message in context: http://camel.465427.n5.nabble.com/Jetty-to-ActiveMQ-Failure-tp5725323p5725401.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message