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.
