Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to consume a specific message from queue

 
everson santos
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I would like after do something consume/delete/take out the message from queue, but I can't ....

Eg. I have 4 messages on queue and I want consume just one


* I tried code below, but i got error

 
everson santos
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

 
ntumba lobo
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
typical JMS pitfall ;-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic