As specified in previous posting,
Below is the stack trace. 
<ERROR><2008/01/10 10:43:23.127><21621663><> ExceptionListener receives a
JMS exception <TRACE><2008/01/10 10:43:23.127><21621663><> Unregistering
Message Listener... <TRACE><2008/01/10 10:43:23.127><21621663><>
Notifying/signaling a waiting thread... <ERROR><2008/01/10
10:43:23.144><21621663><> ExceptionListener receives a JMS exception
<TRACE><2008/01/10 10:43:23.144><21621663><> Unregistering Message
Listener... <ERROR><2008/01/10 10:43:23.153><21621663><>
javax.jms.IllegalStateException: The Consumer is closed at
org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:679)
at
org.apache.activemq.ActiveMQMessageConsumer.setMessageListener(ActiveMQMessageConsumer.java:352)
 

Thabks



activemqnewbie wrote:
> 
> Subscriber closes with an exception(below)after consuming certain
> messages.This happens at different intervals. 
> Appreciate if someone could let me know the reason and solution for this. 
> Am using activemq 5.0,java 5. 
> Is there any property/setting that i need to do ? 
> Below is the stack trace. 
> <ERROR><2008/01/10 10:43:23.127><21621663><> ExceptionListener receives a
> JMS exception <TRACE><2008/01/10 10:43:23.127><21621663><> Unregistering
> Message Listener... <TRACE><2008/01/10 10:43:23.127><21621663><>
> Notifying/signaling a waiting thread... <ERROR><2008/01/10
> 10:43:23.144><21621663><> ExceptionListener receives a JMS exception
> <TRACE><2008/01/10 10:43:23.144><21621663><> Unregistering Message
> Listener... <ERROR><2008/01/10 10:43:23.153><21621663><>
> javax.jms.IllegalStateException: The Consumer is closed at
> org.apache.activemq.ActiveMQMessageConsumer.checkClosed(ActiveMQMessageConsumer.java:679)
> at
> org.apache.activemq.ActiveMQMessageConsumer.setMessageListener(ActiveMQMessageConsumer.java:352)
>  
> 
> 
> Thanks 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Consumer-is-closed-Exception-tp15022223s2354p15023049.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to