Hello to everybody, I have a java application that uses activemq 5.2. A batch file starts the broker, create subscribers and register the listeners to the topic. The same bath is responsible for stoping the process. During the stop operation I must perform a check on the state of the topic. If there are some messages in the topic, the application must wait all the messages to be consumed and only after this, close the subscribers and the broker. So, how can I check the state of the topic on the presence of the messages in it ?
Thanks. Serge. -- View this message in context: http://www.nabble.com/How-to-find-if-the-topic-is-empty---tp24934876p24934876.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.