Solace JMS Queue Subscriber Hello World

Solace JMS Queue Subscriber Hello World

If have just started with Solace and want to subscriber and consume message publish by the publisher on the newly created Solace queue using JMS API then please use below sample Hello World program.

Solace JMS version: sol-jms-7.1.2.230

  • To run this program you will need below jar:

Solace JMS Queue Publisher Hello World

You will also need below information:

  • SOLACE_HOST=tcp://url:portnumber
  • SOLACE_VPN=VPN NAME
  • SOLACE_CONNECTION_FACTORY=JMS connection factory
  • SOLACE_OUTPUT_QUEUE_NAME=queue name
  • SOLACE_USERNAME_PUB=user name
  • SOLACE_PASSWORD_PUB=password

Sample program:

JavaHonkSolaceQueueSubscriberHelloWorld.java:

Reference:

Leave a Reply

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