1 Reply Latest reply on Feb 20, 2010 10:34 AM by jaikiran

    How get a MDB messages from a queue ? Who polls ?

    ameo

      I have a question to MDB functionality.

       

      An MDB implements the MessageListener interface, so it uses the asynchronous onMessage() callback for JMS messages arriving in the queue.

       

      What does it mean ?

       

      How do the system (ejb-container ?) recognize, that a new message is placed in the queue ?  Does it polls agains the database queue and instantiate a new MDB ?

       

      Greetings