Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

read all messages from queue

 
ramjcp kris
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic