5 Replies Latest reply on Jul 25, 2012 9:41 AM by Andy Taylor

    Convert MDB to HornetQ Core Consumer

    Paul Carroll Newbie

      I am using JBoss 5.1.0 and I have HornetQ 2.2.14 server integrated with JBoss.  I am currently using JMS and MDB's for asynchronous messaging within my application.  I am using HornetQ's JMS capability for the asynchronous messaging.

       

      I want to use HornetQ core exclusively for asynchronous messaging.  I want to avoid using MDB's within my application which means removing the ones I currently have running.  I have gone through several examples and searched through the documentation but I do not see how to do it.  Sending the message seems straightforward to me but I am unsure how to consume the message.  In other words, I am not sure how to configure HornetQ in JBoss to listen to an address to consume a message sent by the ClientProducer.  Again, I am trying to avoid using MDB's.

       

      Please let me know if you need more information or if you can point me to some documentation on how to do this.

       

      Thanks.