Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8095

synchronous jms receive not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • JBossAS-4.2.3.GA, JBossAS-5.0.1.GA, JBossAS-5.1.0.GA, 6.0.0.M1
    • JMS (JBossMQ)
    • None
    • Hide

      I have two queues - requestQueue and replyQueue. I send a JMS message through the requestQueue from a seam web application to a MDB. The MDB sends a reply message through the replyQueue. I can see increased message count in jboss admin console. Now (in another request, thus another transaction) I try to receive the reply message synchronously - using MessageConsumer.receive, receive(timeout) or receiveNoWait. I set no selector. The methods never return the message, one timeouts, one never returns and the other returns null. I can see increased number of message listeners in the admin console. The message is also seen in the database (postgres). I've tried both postgres and default hsqldb - no difference.

      Show
      I have two queues - requestQueue and replyQueue. I send a JMS message through the requestQueue from a seam web application to a MDB. The MDB sends a reply message through the replyQueue. I can see increased message count in jboss admin console. Now (in another request, thus another transaction) I try to receive the reply message synchronously - using MessageConsumer.receive, receive(timeout) or receiveNoWait. I set no selector. The methods never return the message, one timeouts, one never returns and the other returns null. I can see increased number of message listeners in the admin console. The message is also seen in the database (postgres). I've tried both postgres and default hsqldb - no difference.

    Description

      For some unknown reason, synchronous receiving of JMS messages doesn't work for me. I've tested both JbossMQ and Jboss Messaging and it behaves the same way.

      The referenced forum thread contains an example application source which triggers this issue (seam ear for jboss tools).

      Attachments

        Activity

          People

            adrian.brock Adrian Brock (Inactive)
            sebek64 Marcel Ĺ ebek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: