Java Client: JMS BytesMessage Publisher
This example uses Universal Messaging Provider for JMS to publish Bytes Messages to a JMS Topic.
Usage
jmsbytespub <factoryname> <topicName> <count> <transacted>
<Required Arguments>
<factoryname> - JMS Factory (Must exist in target realm).
If you are using AMQP, this argument is ignored
but it is still required.
<topicName> - JMS Topic to publish on.
When using AMQP, this should be in the
format topic.<topicName>
<count> - Number of events to publish
<transacted> - Whether the session is transacted
Note: -? provides help on environment variables
Application Source Code