17 outubro 2015

Web Article - Spring JMS Example

Java Messaging Service (JMS) is a standard messaging API used to send and receive messages.

Spring simplifies the use of JMS API by providing another layer around the JMS layer.

This layer provides convenience methods for sending and receiving messages, as well as manages the creation and release of resources like the connection object.

The JmsTemplate class is the main class which we will be using often to work with the JMS API.

Dependencies

 4.0.0
 com.javacodegeeks.camel
 springQuartzScheduler
 0.0.1-SNAPSHOT
 
  
   org.springframework
   spring-core
   4.1.5.RELEASE
  
  
   org.springframework
   spring-context
   4.1.5.RELEASE
  
  
   org.springframework
   spring-jms
   4.1.5.RELEASE
  
  
   org.apache.activemq
   activemq-all
   5.12.0
  
 
 

Read full atricle here.