Solace JMS Publisher Pure Java Spring Integration

Solace JMS Publisher Pure Java Spring Integration

In previous tutorial you saw how to integrate Solace JMS with using Spring API. If you are planning to use spring in your project then I will suggest please use this tutorial for Solace JMS integration. This tutorial is for those who is more curious to use pure java Solace JMS using Spring framework. Here you will how to use only java with Spring to create Publisher to send message on Solace queue:

Solace JMS version: sol-jms-7.1.2.230

  • Final project structure:

Solace JMS Publisher Pure Java Spring Integration

  • Below Solace jar are needed:

Solace JMS Publisher Pure Java Spring Integration

  • pom.xml:

  • spring-context.xml:

  • javahonk-solace-context.xml:

  • javahonk-solace.properties:

  • SolaceConnectionFactory.java:

  • SolaceMessagePublisher.java:

  • Now to publish message on the queue please use JavahonkSolaceApplicationTest.jajva program:

Reference:

Download source codeJMSSolacePublisherAdapter

Leave a Reply

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