2 Replies Latest reply on May 24, 2011 5:49 AM by Leos Bitto

    Consuming a topic

    Amar Das Newbie

      Hi All:


      I have a topic deployed on JBoss 6.  I want to consume that topic from a standalone client utilizing Spring JMS.  So far I have created a Listener that implements MessageListener.  But I have no clue how to configure Spring so that the listener receives the published messages.  Any example will be appreciated.


      Thanks in advance

        • 1. Consuming a topic
          Clebert Suconic Master

          That's more a spring question. I don't see anything specific to HornetQ here.



          If you decide to use JMS.. there are tons of JMS examples on how to use a consumer.



          Try to ask something more specific and we will try to help you.

          • 2. Consuming a topic
            Leos Bitto Novice

            Check the classes SimpleMessageListenerContainer and DefaultMessageListenerContainer from the package org.springframework.jms.listener. There is a lot of documentation and examples for these Spring classes available on the internet.

            1 of 1 people found this helpful