Solace JMS Subscriber Pure Java Spring Integration

Solace JMS Subscriber Pure Java Spring Integration

In previous tutorial you saw how to create pure Java Spring Solace Publisher and this is next series of same part but here I will show you how to create pure java Solace Subscriber who consume message publish on publisher queue. 

Note: If you are planning to use spring in your project then I will suggest please use this tutorial for Solace JMS integration OR its up to you which one suits best.

Solace JMS version: sol-jms-7.1.2.230

  • Final project structure:

Solace JMS Subscriber Pure Java Spring Integration

  • Below Solace jar are needed:

Solace JMS Subscriber Pure Java Spring Integration

  • pom.xml:

  • spring-context.xml:

  • javahonk-solace-context.xml:

  • javahonk-solace.properties

  • SolaceConnectionFactory.java:

  • SolaceMessageSubscriber.java:

  • Finally user¬†JavahonkSolaceSubscriberTest.java test class to test subscriber application:

Reference:

Download source code: JMSSolaceSubscriberAdapter

Leave a Reply

Your email address will not be published. Required fields are marked *