A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
read all messages from queue
Joined: Sep 05, 2005
Apr 05, 2007 06:45:00
If a Queue contains 10 msgs, when i say getmessage I am getting first message,suppose i want to read all messages from queue,
I mean reading them in loop until no more message is left
can any one suggest me how to do it.
Joined: Oct 14, 2005
Apr 05, 2007 09:46:00
"ramjcp kris", I see you have been around JavaRanch for a while.
You must have missed the fact that we require members to have
valid display names
Display names must contain your first name, a space, then your last name. Fictitious names are not allowed.
edit your profile
and correct your display name since accounts with invalid display names will be deleted.
I agree. Here's the link:
subject: read all messages from queue
putting back into the queue the JMS messages
JMS - how to remove a message from Queue
Asynchronous processing design
ActiveMQ: message transactions/history to be permanently stored
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014