Results 1 to 5 of 5

Thread: QueueBrowser not scaning all messages in JMS queue (ie not showing inprogress message

  1. #1

    Default 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

  2. #2
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    452

    Default

    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

  3. #3

    Default 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

  4. #4
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    452

    Default

    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

  5. #5

    Default 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
  •