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