Universal Messaging 10.11 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for Java | Code Examples | Provider for JMS | Java Client: JMS StreamMessage Subscriber
 
Java Client: JMS StreamMessage Subscriber
This example uses Universal Messaging Provider for JMS to consume Stream Messages from a JMS Topic.
Usage
jmsstreamsub <factoryname> <destinationName> <transacted> <selector>

<Required Arguments>

<factoryname> - JMS Factory (Must exist in target realm)
If you are using AMQP, this argument is ignored
but it is still required.
<destinationName> - JMS Destination to subscribe to.
When using AMQP this should be in the
format topic.<topicName> or queue.<queueName>
<transacted> - Whether the session is transacted
<selector> - An optional message selector


Note: -? provides help on environment variables
Application Source Code
Click here for a code example