Java Client: JMS ObjectMessage Subscriber
This example uses Universal Messaging Provider for JMS to consume Object Messages from a JMS Topic.
Usage
jmsobjectsub <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