Universal Messaging 10.3 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for Java | Code Examples | Provider for JMS | Java Client: JMS StreamMessage Publisher
 
Java Client: JMS StreamMessage Publisher
This example uses Universal Messaging Provider for JMS to publish Stream Messages to a JMS Topic.
Usage
jmsstreampub <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
Click here for a code example