activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "praveen.sharma" <praveen.sha...@ll.mit.edu>
Subject Enqueue count, javax.jms.JMSException: Channel was inactive for too long, configuring activemq topics
Date Mon, 24 Aug 2009 17:05:01 GMT

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.


Mime
View raw message