Set Solace Custom Properties Retrieve Publisher Subscriber

Set Solace Custom Properties Retrieve Publisher Subscriber

In last many tutorials you saw how to send and receive message on Solace Messaging via different technique. In this tutorial I will show you how to set custom properties on Solace massage while publishing the message and through Subscriber how to retrieve it:

  • To set custom properties on publisher do below:

  • And on subscriber retrieve custom properties as below:

  • Complete publisher class for your reference:

  • Complete subscriber class for your reference:

  • For more information please refer Solace official documentation here

Leave a Reply

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