[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: consumer already closed but broker does not know
From:       Cadmean <hzcadmean () hotmail ! com>
Date:       2015-07-28 1:31:35
Message-ID: 1438047095091-4699955.post () n4 ! nabble ! com
[Download RAW message or body]

I think the advisory message can help you.
Create a consumer and listen the Topic "ActiveMQ.Advisory.Consumer.Queue"

for more details, see  http://activemq.apache.org/advisory-message.html
<http://activemq.apache.org/advisory-message.html>  


cyflhn wrote
> ActiveMQ version: 5.10.1.
> 
> When consumers are created, I will check the status of consumers 
> periodically. For example, I check whether the session is closed and
> whether  transport of connection is failed. If something mentioned above
> occurs, I invoke consumer.close session.close connection.close and create
> some new consumers. But sometimes I found broker does not know the old
> consumers  have been closed and Messages can not be consumed. Sometimes
> when I recreate consumers, I got the message of "unknown data type". I
> want to know the reason. thks.





--
View this message in context: \
http://activemq.2283324.n4.nabble.com/consumer-already-closed-but-broker-does-not-know-tp4699900p4699955.html
 Sent from the ActiveMQ - User mailing list archive at Nabble.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic