Universal Messaging Developer Guide : Enterprise APIs : Enterprise Developer's Guide for Java : Code Examples : Provider for JMS : Java Client: JMS ObjectMessage Subscriber
Java Client: JMS ObjectMessage Subscriber
This example uses Universal Messaging Provider for JMS to consume Object Messages from a JMS Topic.
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
Click here for a code example
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback