Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 55119 invoked from network); 24 Aug 2009 17:05:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Aug 2009 17:05:09 -0000 Received: (qmail 76520 invoked by uid 500); 24 Aug 2009 17:05:34 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 76422 invoked by uid 500); 24 Aug 2009 17:05:34 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 76368 invoked by uid 99); 24 Aug 2009 17:05:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 17:05:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 17:05:22 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mfcyb-00010t-Gj for users@activemq.apache.org; Mon, 24 Aug 2009 10:05:01 -0700 Message-ID: <25119766.post@talk.nabble.com> Date: Mon, 24 Aug 2009 10:05:01 -0700 (PDT) From: "praveen.sharma" To: users@activemq.apache.org Subject: Enqueue count, javax.jms.JMSException: Channel was inactive for too long, configuring activemq topics MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: praveen.sharma@ll.mit.edu X-Virus-Checked: Checked by ClamAV on apache.org Software and OS: Activemq-5.3.0.2-fuse with persistent set to false, LINUX OS I am trying to send large messages to activemq (9.7 M or 5 M). I want ActiveMQ to be running (sending large size messages) for ever without throwing any exception. However, after enqueuecount reaches 200 for a given topic, either I get connection time out exception (shown in the end) or no data is sent if I set keepalive=true, or jms.closeTimeout to a large value. What is the best way to get what I want? Is their a way to change the default enqueue count for a given topic? Exception at org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:655) at org.apache.activemq.ActiveMQSession.getTransacted(ActiveMQSession.java:466) at org.springframework.jms.listener.AbstractMessageListenerContainer.commitIfNecessary(AbstractMessageListenerContainer.java:554) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:465) 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.run(DefaultMessageListenerContainer.java:881) at java.lang.Thread.run(Thread.java:619) [ultMessageListenerContainer-13] efaultMessageListenerContainer INFO Setup of JMS message listener invoker failed for destination 'test.MyImgLTopic' - trying to recover. Cause: The Session is closed [ultMessageListenerContainer-13] AdvisoryConsumer INFO Failed to send remove command: javax.jms.JMSException: Channel was inactive for too long: padua.llan.ll.mit.edu/155.34.142.216:61616 javax.jms.JMSException: Channel was inactive for too long: padua.llan.ll.mit.edu/155.34.142.216:61616 at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62) -- View this message in context: http://www.nabble.com/Enqueue-count%2C-javax.jms.JMSException%3A-Channel-was-inactive-for-too-long%2C-configuring-activemq-topics-tp25119766p25119766.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.