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
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: 18991
    
    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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: read all messages from queue