my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes how to consume a specific message from queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to consume a specific message from queue" Watch "how to consume a specific message from queue" New topic
Author

how to consume a specific message from queue

everson santos
Ranch Hand

Joined: Jul 11, 2009
Posts: 50

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

Joined: Jul 11, 2009
Posts: 50

ntumba lobo
Ranch Hand

Joined: Oct 21, 2008
Posts: 180
typical JMS pitfall ;-)


SCJP 5 , SCWCD 5, SCEA 5
 
jQuery in Action, 2nd edition
 
subject: how to consume a specific message from queue