Hello!
In the Sun Examples delivered with SwiftMQ all the asynchronous examples
use methods from preventing the subscriber from exiting before they
recieve all messages beeing sent (either by waiting for the Q-key beeing
pressed or by waiting for a certain Message).
I have seen other examples where this type of code is not used, like in
the examples provided with OpenJMS.
What is the difference and why is the "wait" code needed in some cases?
(I have tried to write message-subscribers for use with SwiftMQ without
the "wait"-code but the subscriber failed to recieve any messages)
Regards / Andreas Imner
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/[email protected]/