aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy 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
Sheriff

Joined: Oct 14, 2005
Posts: 19553
    
  10

"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