1 Reply Latest reply on Dec 22, 2011 9:02 AM by ataylor

    MDB vs. MessageConsumer

    hushen.savani

      Hi,

          

           I am running a message driven application in JEE container using Hornetq 2.2.5 embedded with JBossAS 6.1.1.

       

           My application acts as a middleware. I've been using JMS Api. The application sends message to other components using MessageProducer and consumes messages using an MDB, not a MessageConsumer. Hornetq documentation says that, don't use Message-Driven Beans for the sake of it. Can anyone pl. have some more pointers on the same. Can the MDBs be real performance killer?