camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Activemq consumer is closing
Date Thu, 20 Jun 2013 13:52:35 GMT
You should post your connection pool and JmsComponent settings. Are you
using transactions? Are you caching your consumers?


On Thu, Jun 20, 2013 at 2:54 AM, indrayani <ind.k123@gmail.com> wrote:

> below is the full stack trace
>
>
> 2013-06-20 12:24:25,656 [yManager[inbox]] WARN  TemporaryQueueReplyManager
> - Exception inside the DMLC for Temporary ReplyTo Queue for destination
> inbox, refreshing ReplyTo destination
> javax.jms.IllegalStateException: The Consumer is closed
>         at
>
> org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:817)
>         at
>
> org.apache.activemq.ActiveMQMessageConsumer.receive(ActiveMQMessageConsumer.java:581)
>         at
>
> org.apache.activemq.pool.PooledMessageConsumer.receive(PooledMessageConsumer.java:67)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:431)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:311)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:264)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1069)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1061)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:958)
>         at java.lang.Thread.run(Thread.java:662)
> 2013-06-20 12:24:25,656 [yManager[inbox]] WARN
> ultJmsMessageListenerContainer - Setup of JMS message listener invoker
> failed for destination 'temporary' - trying to recover. Cause: The Consumer
> is closed
> 2013-06-20 12:24:25,656 [yManager[inbox]] INFO  PooledConnection
> - failed to delete Temporary Queue
> "temp-queue://ID:xyz-b4be0c20ddf-2115-1371710223718-3:4:1" on closing
> pooled
> connection: The connection is already closed
> 2013-06-20 12:24:25,656 [mer[rtadsinbox]] WARN
> ultJmsMessageListenerContainer - Setup of JMS message listener invoker
> failed for destination 'rtadsinbox' - trying to recover. Cause: The
> Consumer
> is closed
> 2013-06-20 12:24:25,671 [Consumer[inbox]] WARN
> ultJmsMessageListenerContainer - Setup of JMS message listener invoker
> failed for destination 'inbox' - trying to recover. Cause: The Session is
> closed
> 2013-06-20 12:24:25,671 [.0.1:2117@61616] WARN  Transport
> - Transport Connection to: tcp://127.0.0.1:2117 failed:
> java.io.EOFException
> 2013-06-20 12:24:25,687 [Consumer[inbox]] INFO
> ultJmsMessageListenerContainer - Successfully refreshed JMS Connection
> 2013-06-20 12:24:25,703 [mer[rtadsinbox]] INFO
> ultJmsMessageListenerContainer - Successfully refreshed JMS Connection
> 2013-06-20 12:24:25,703 [yManager[inbox]] INFO
> ultJmsMessageListenerContainer - Successfully refreshed JMS Connection
> 2013-06-20 12:24:25,703 [yManager[inbox]] WARN  TemporaryQueueReplyManager
> - Exception inside the DMLC for Temporary ReplyTo Queue for destination
> inbox, refreshing ReplyTo destination
> javax.jms.IllegalStateException: The Session is closed
>         at
> org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:731)
>         at
> org.apache.activemq.ActiveMQSession.getTransacted(ActiveMQSession.java:521)
>         at
>
> org.apache.activemq.pool.PooledSession.getTransacted(PooledSession.java:259)
>         at
>
> org.springframework.jms.listener.AbstractMessageListenerContainer.commitIfNecessary(AbstractMessageListenerContainer.java:573)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:359)
>         at
>
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:264)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1069)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1061)
>         at
>
> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:958)
>         at java.lang.Thread.run(Thread.java:662)
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Activemq-consumer-is-closing-tp5731140p5734413.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

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