Java Client: JMS StreamMessage Publisher
This example uses Universal Messaging Provider for JMS to publish Stream Messages to a JMS Topic.
jmsstreampub <factoryname> <topicName> <count> <transacted>
<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
<count> - Number of events to publish
<transacted> - Whether the session is transacted
Note: -? provides help on environment variables
Application Source Code