What is happening now is that as soon a Client A publishes a message and the update() method of
Client B is triggered, the message is removed from the queue.
I've tried to set the subscribeQos.setWantContent to false, but that doesn't keep the message in
the queue.
So, basically, here is the sequence of events.
1. Client B connects and subscribes for updates.
2. Client A connects and publishes a message.
3. Client B receives a notification that a message has arrived. Message remains in queue.
4. A period of time elapses...
5. Client B retrieves message contents.
6. Client B removes message from queue (if not done automatically)
Is xmlBlaster able to do this?
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com