3 Replies Latest reply on Oct 18, 2001 11:21 AM by Peter Antman

    Receive

    meeraj Newbie

      I am using an MDB to receive a message that is sent from a servlet. MDB is listening on a queue. The send is working. However, the receive doesn't work. Hence I tried a simple JMS client with a blocking receive. It doesn't seem to receive the message.

      Any ideas?

      Ta

      Meeraj

        • 1. Re: Receive
          Peter Antman Expert

          No, to little info to tell whats wrong.

          //Peter

          • 2. Re: Receive
            meeraj Newbie

            I am using the predefined testQueue in the JBoss.jcml file. I use the QueueConnectionFactory JNDI name for getting the connection factory. I create a connection, then session and sender for the queue. Then I send a message to the queue after starting the connection. In the same thread I create a queue receiver for the same queue using the same session and do a blocking receive. But the receiver doesn't seem to receive the message.

            • 3. Re: Receive
              Peter Antman Expert

              You don't happen to transact your session, and forgetting to commit?

              //Peter