camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Problems with JMS messages being dropped by camel when restarting the context
Date Thu, 25 Jun 2009 05:35:40 GMT
Hi
Stopping / shutting down is hard. We have debated this before and would in
the future look into how we can make it better.

Are you having AMQ embedded with Camel that you stop, or is AMQ a remote
broker?




On Wed, Jun 24, 2009 at 3:56 PM, Tim83 <tim.struyf@roots.be> wrote:

>
> Here's the complete exception
>
> org.springframework.jms.InvalidDestinationException: Cannot publish to a
> deleted Destination: temp-queue://ID:56P3J-57576-1245848023626-0:0:2;
> nested
> exception is javax.jms.InvalidDestinationException: Cannot publish to a
> deleted Destination: temp-queue://ID:56P3J-57576-1245848023626-0:0:2
>         at
>
> org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:277)
>        at
>
> org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168)
>        at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474)
>        at
> org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539)
>        at *Producer.confirm(ConfirmationProducer.java:26)
>        at *Consumer.onMessage(*Consumer.java:48)
>        at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543)
>        at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482)
>        at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)
>        at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
>        at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
>        at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
>        at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)
>        at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: javax.jms.InvalidDestinationException: Cannot publish to a
> deleted Destination: temp-queue://ID:56P3J-57576-1245848023626-0:0:2
>         at
> org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1597)
>        at
>
> org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:227)
>        at
>
> org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
>        at
> org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:597)
>        at
> org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:574)
>        at
> org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:541)
>        at
> org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:471)
>        ... 12 more
>
>
> Best regards,
> Tim
> --
> View this message in context:
> http://www.nabble.com/Problems-with-JMS-messages-being-dropped-by-camel-when-restarting-the-context-tp24184908p24185284.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>


-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message