This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 179
typical JMS pitfall ;-)


SCJP 5 , SCWCD 5, SCEA 5
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to consume a specific message from queue
 
Similar Threads
Separating JMS Producer/Consumer on JBoss 4.0.2
Remove JMS message from Queue programatically
Message apparantly not getting to Queue or MDB from Java Client
how to set up a queueconnectionfactory
How to send message from Web Component