0 Replies Latest reply on Feb 25, 2015 7:52 AM by ronaldrandon

    Is it possible to browse a queue when a singleton MDB is consuming that queue

    ronaldrandon

      In our application, we are having a queue called 'queue1'. We have configured a singleton message driven bean(Queue1MDB) for this queue.

      My requirement is to check whether any messages already exist in the queue before sending a message to the queue.

       

      To browser the queue, we are using QueueBrowser. I am sending 10 messages to the queue. The singleton MDB process the message one by one. At that time, when I browse the queue its returning empty messages. But I can see the messages in the queue using admin console.

       

      Is it possible to browse a queue when a singleton MDB is consuming that queue?