Once again. If there are no subscribers to a topic, Messages are removed by the provider. Start the subscriber before you publish any messages and your code will work. If you need topic messages to persist over multiple subscriber invocations you create a durable subscriber. Messages sent to a queue will persist until they are consumed or the TTL elapses. This is also the case with durable subscribers and topics. Messages sent to topics with no subscribers are deleted immediately.
- JMS TopicSubscriber blocks on receive() Greg Matthews
- Re: JMS TopicSubscriber blocks on receive() Johan Fredriksson
- Re: JMS TopicSubscriber blocks on receive() Greg Matthews
- Re[2]: JMS TopicSubscriber blocks on receive() Tim Rickard
- Tim Rickard
