Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: JBossAS-4.2.3.GA, JBossAS-5.0.1.GA, JBossAS-5.1.0.GA, 6.0.0.M1
    • Fix Version/s: None
    • Component/s: JMS (JBossMQ)
    • Labels:
      None
    • Steps to Reproduce:
      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).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adrian.brock Adrian Brock
                Reporter:
                sebek64 Marcel Ĺ ebek
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: