Send Read BytesMessage Solace Java Example

Send Read BytesMessage Solace Java Example

You could use Solace system to send receive message using two either JMS OR Solace API but Send and reading BytesMessage are same in both the case. In this example you will see how to publish BytesMessage on Solace queue/topic and process it while receive by Subscriber queue/topic:

Send BytesMessage:

Read BytesMessage:

If your reference below is Solace publisher complete class:

JavaHonkQueuePublisher.java:

Solace Subscriber complete class: JavaHonkQueueSubscriber.java:

  • For more information please visit Solace documentation here

Leave a Reply

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