Problem of createDurableSubscriber() or DeliveryMode.PERSISTENT
Raj Kumar Bindal
posted 11 years ago
I am sending messages using topic and a selector. But one problem: Suppose i am sending messages to 3 persons through selector and only 2 are online at that time,so those 2 get the messages but third person when he becomes online does not get the message. I am using: publisher.publish(TextMessage,DeliveryMode.PERSISTENT,TextMessage.DEFAULT_PRIORITY,TextMessage.DEFAULT_TIME_TO_LIVE); and also creating durable Subscriber.
Plz tell me the solution and if this is not correct what else can i do so that the third person also gets the message.