Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2197C633 for ; Thu, 20 Jun 2013 13:53:02 +0000 (UTC) Received: (qmail 24899 invoked by uid 500); 20 Jun 2013 13:53:02 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 24855 invoked by uid 500); 20 Jun 2013 13:53:02 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 24842 invoked by uid 99); 20 Jun 2013 13:53:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 13:53:02 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.217.179 as permitted sender) Received: from [209.85.217.179] (HELO mail-lb0-f179.google.com) (209.85.217.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 13:52:55 +0000 Received: by mail-lb0-f179.google.com with SMTP id w20so5760424lbh.38 for ; Thu, 20 Jun 2013 06:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oEsT96nyNpJu+A3YFpkfjYzu5LIvhvhTqyvRZAtZy3Y=; b=LVO55WaYzkqUcLEdRgjm50sw42sWOVXRX3KMGIlDZKDyH1CECiddgE6e7WsEsuY5aA xpNBx6tSFvhNjJWU+fa5H/CIALbEWKG6tyNaHq6DYm2v99qnX538hOX5khO+I8fMsYdo UPxnSem6vo+5SqqPP+5PfBkIU4HWp8ynTCw9wm2WcUbSxztQ7vpVgIuHf305kU3s8GZy Fi7FTp4Y/DtH0s9PxRsDjuTPLoeEAUtlSQ2g4jihOp/G6DptC0BIm+fMf3SJiG7zM8Sz 99lsRE/2dvPG/wC1e2LmmNz+ih4UWPbfON7Acpi1EZbqrOsydZfGWpCXHVlYCwoWLYXd 4sIA== MIME-Version: 1.0 X-Received: by 10.112.169.71 with SMTP id ac7mr5608678lbc.42.1371736355341; Thu, 20 Jun 2013 06:52:35 -0700 (PDT) Received: by 10.114.185.37 with HTTP; Thu, 20 Jun 2013 06:52:35 -0700 (PDT) In-Reply-To: <1371711294957-5734413.post@n5.nabble.com> References: <1366368718940-5731140.post@n5.nabble.com> <1366378318086-5731146.post@n5.nabble.com> <1371556419119-5734294.post@n5.nabble.com> <1371618362162-5734327.post@n5.nabble.com> <1371711294957-5734413.post@n5.nabble.com> Date: Thu, 20 Jun 2013 09:52:35 -0400 Message-ID: Subject: Re: Activemq consumer is closing From: Christian Posta To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001a11c344842f8a8f04df964252 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c344842f8a8f04df964252 Content-Type: text/plain; charset=ISO-8859-1 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 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 --001a11c344842f8a8f04df964252--