Universal Messaging 9.12 | 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.
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
Click here for a code example

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.