varun93 / SpringJMSActiveMQ

A simple Spring JMS example using ActiveMQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpringJMSActiveMQ

A simple Spring JMS example using ActiveMQ

Description

The code is based upon the blog post http://www.city81.blogspot.com/2011/09/spring-jms-with-activemq.html

After configuring the broker url in the ./src/main/resources/resources.properties file, run the MessageReceiver and then the MessageSender class.

Both beans contain a main method. The MessageSender class will terminate after the sending of each message but the MessageReceiver bean will continue to run to receive messages.

About

A simple Spring JMS example using ActiveMQ