-
Jul 10th, 2007, 01:51 AM
#1
QueueBrowser not scaning all messages in JMS queue (ie not showing inprogress message
Hi all,
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
Thanks,
Thilsen
-
Jul 10th, 2007, 02:31 AM
#2
Hello,
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.
Best regards
agim
-
Jul 10th, 2007, 03:39 AM
#3
QueueBrowser not scaning all messages in JMS queue (ie not showing inprogress messag
Hi,
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?
Regards,
Thilsen
-
Jul 11th, 2007, 12:30 PM
#4
Hello,
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
agim
-
Jul 11th, 2007, 11:44 PM
#5
scaning all messages in JMS queue (ie not showing inprogress message
Hi,
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,
Thilsen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules