This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes read all messages from queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "read all messages from queue" Watch "read all messages from queue" New topic
Author

read all messages from queue

ramjcp kris
Greenhorn

Joined: Sep 05, 2005
Posts: 27
Hi All

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.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

"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.

Please edit your profile and correct your display name since accounts with invalid display names will be deleted.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: read all messages from queue
 
Similar Threads
Asynchronous processing design
putting back into the queue the JMS messages
MQ rollback
JMS - how to remove a message from Queue
ActiveMQ: message transactions/history to be permanently stored