On 8/25/06, StanleyH <[EMAIL PROTECTED]> wrote:
hi, my application works like an email client. I want to use queuebrowser to browse all the messages on the queue/keep them on the server and also be notified if a new message has arrived. queuebrowser does not have a OnMessage method. is there a way I can be notified that a new message has arrived on the queue and then have queuebrowser lists the updated queue.
I'm afraid not. You could watch the MBeans to see the enqueue count rise. Or you could create a dummy consumer then when a message arrives, close the consumer - though that could break ordering on your queue. -- James ------- http://radio.weblogs.com/0112098/
