ConnectionFactories and Caching with Spring and ActiveMQ

9 thoughts on “ConnectionFactories and Caching with Spring and ActiveMQ”

  1. Hi Again !

    I have scenario as below:
    1. Successfully setup AMQ 5.3 server running on tcp
    Defined Queue and Topics in activemq.xml, AMQ admin shows them correctly

    2. In my swing client application,
    on some action, class1 creates message and puts in Queue in AMQ so that only single listeners gets message.
    on some action, class2 creates message and puts in Topic in AMQ so that multiple listeners get same message.

    3. In swing client application, I have created spring-config.xml as follows:


    I am not sure if I have bind multiple consumers to Topic rightly.
    Also noticed that AMQ admin shows myTopic1 and myTopic2 under “Queues” after running my app !
    Your kind guidence will get me going.

    Thank you very much for your articles.
    Nitin

    1. I’m really not here to help you debug your system. Ask around on the AMQ and or Spring forums. You can use pastebin.com or pastebin.org to paste code around online.

      1. I posted it at pastebin.org / 617311
        Thank you very much for the pointers.
        Please help me on this pls.

  2. Hi again !

    Thanks for the link and specific mention of the end part :)
    Looks like its solved. I have created two jms:listener-container. one with destination-type queue and other with topic :)

    Many Thanks,
    Nitin

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s