Jul 10th, 2007, 01:51 AM
QueueBrowser not scaning all messages in JMS queue (ie not showing inprogress message
I am using JMS in jboss-3.2.3, when scaning for pending messages i am using QueueBrowser.
But QueueBrowser not scaning all messages in JMS queue (ie not showing inprogress message)
But i need to know all messages including ongoing messages..
Antone plz help me
Jul 10th, 2007, 02:31 AM
what do you mean by inprogress Messages ?
If the Producer has an Transacted Session, then it is normal that you will see the messages AFTER producer commits them.
Jul 10th, 2007, 03:39 AM
QueueBrowser not scaning all messages in JMS queue (ie not showing inprogress messag
Thanks for ur reply..
I am using Queuesender and QueueReceiver ..But some Exception or Error causes my JMS server(QueueReceiver listening for onMessage()) hanged up..and not responding to remaining messages...So i need to find pending messags in JMS queue..How can find?
Now i am using QueueBrowser to get list of pending msgs in queue... But doesn't contains Message which passed for processing (called onMessage())
.. But i need to find this also..How can?
Jul 11th, 2007, 12:30 PM
how do you use the QueueReceiver ? (JMStemlate etc.) ?
Normally after an error you have to re-setup your connection and the session. After that you should see all the Messages which are on the Queue and NOT committed before the error occurs.
Could you also post your applicationContext ?
Thanks and best regards
Jul 11th, 2007, 11:44 PM
scaning all messages in JMS queue (ie not showing inprogress message
am sending message from QueueSender with a queuesession.
and starting 3 threads with each have diff sets of confactory, QueueCon,QueueSession, and QueueReceiver..and implemented MessageListener ..
in onMessage() calls three times with 3 messages..
Here i want list alll messages in queue..including these three which called for processing in onMessage()..
i am using QueueBrowser to list..
but it lists only pending messages in queue ...excluding the above 3 messages..
i need these 3 also.. how can i?
Thanks and regards,