Java Client: JMS BytesMessage Queue Publisher
This example uses Universal Messaging Provider for JMS to publish Bytes Messages to a JMS Queue.
Usage
jmsbytesqpub <factoryname> <queueName> <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.
<queueName> - JMS Queue to publish on.
When using AMQP this should be in the
format queue.<queueName>
<count> - Number of events to publish
<transacted> - Whether the session is transacted
Note: -? provides help on environment variables
Application Source Code