activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Priya Parvatikar <>
Subject Re: QueueBrowser in embedded broker not getting any messages
Date Tue, 21 Nov 2006 12:12:30 GMT

Hi Adrian,

> Does using an actual consumer instead of a queue browser works?

I tried using a MessageConsumer instead of a QueueBrowser and the consumer
got the message as expected

As suggested by Marlon, I have uploaded code for the browser itself and a
unit test for it and a few other supporting files

The files are 

1)  -
this contains the code for the QueueBrowser
2)  - this sends a message to a queue
3)  - this is a simple consumer that gets messages from
the queue
4)  - a JUnit test that tests two cases - sender+browser
and sender+consumer. The sender+consumer case works as expected, however the
sender+browser doesn't. 

Supporting files - , , 

Could you please have a look and let me know if there is something incorrect
in the code? Please let me know if you need more information.

Thanks for all your help,

Try enabling JMX in your embedded broker and check if there are really 
messages being enqueued in the queue specified.

Does using an actual consumer instead of a queue browser works?

Priya Parvatikar wrote:
> Hi,

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message