I'm using the advisory topics in ActiveMQ 4 to watch when a new topic is created on a certain subtopic. This works great and allows me to startup the producer that generates message for subscribers on this new topic.
However it also important for me to know when there are no more subscribers so I can stop the producer. I see the AdvisorySupport.getNoTopicConsumersAdvisoryTopic and I've setup a consumer to that topic, but I'm not receiving any messages on it. I'm assuming this no topic consumers functionality works and it's just something in my setup causing the problem. So here's a little about my config. I'm using topics, with persistent messages. My subscriptions are setup with ?retroactive=true and am using the LastImageSubscriptionRecoveryPolicy. I'm running RC-3 on linux under IBM JDK 1.4.2 I am receiving messages on the .getConsumerAdvisoryTopic when a single consumer is added or removed, but not on the .getNoTopicConsumersAdvisoryTopic when there are no consumers on the topic. What am I missing? -- View this message in context: http://www.nabble.com/Problem-with-No-Subscriber-Advisory-Topic-t1621608.html#a4393897 Sent from the ActiveMQ - User forum at Nabble.com.
