wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Extracting message from the queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Extracting message from the queue" Watch "Extracting message from the queue" New topic
Author

Extracting message from the queue

ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 43
Hello All,

We are using Jboss-4.2.3.GA with jboss messaging. We have serveral queues configured in our application.
Some of the messages are struck in the queue.

We have verified through jboss web-console, there we can see the graph and some other configuration details of the queue.
We also verified in jbm_msg and jbm_msg_ref tables. There we couldnt find any possibilities to extract the message using message_id.

Is there any way to check the message from the queue?


Thanks in advance.


Ravikanth Malyala
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

How about QueueBrowser?


[My Blog] [JavaRanch Journal]
ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 43
Thanks for the information.
In weblogic from the console we can extract the message from the queue. Is there any possiblity in JBOSS for the same?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

From your first post in this thread, I thought you were looking for a way to check the contents of a queue without removing the messages:
ravikanth reddy wrote:
Is there any way to check the message from the queue?


But your recent message seems to indicate that you really want to remove those messages from the queue. Is that the case? I don't think there's a way to do it from the jmx-console or any tool (I don't have a server in front of me right now, so can't say for sure).

I guess you should first try to figure out why the messages aren't consumed from the queue. Do you have any MDB or consumer listening on that queue?

ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 43
Hello,

Thanks for the reply.

Problem is resolved by using QueueBroser. (We extracted the message from the queue). Problem was wrong JMS property was passing to the queue. My MDB unable to recoginze that message on the queue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Extracting message from the queue
 
Similar Threads
JMS Question
Proble with JMS Queue.
message sare sent to the queue but mdb dosnt handle them
How to Delete Messages from Jboss Queue during jboss shut down?
JMS message is not picked up by the listener