Adapter for JMS 6.1 SP1 | webMethods Adapter for JMS Documentation | webMethods Adapter for JMS Installation and User’s Documentation | Adapter Services | Configuring MessageProducer Services | Using MessageProducer Services
 
Using MessageProducer Services
To enable the MessageProducer service to send a JMS Message to a Queue or a Topic, provide values for the parameters listed below in the service's input signature when configuring the adapter service within a flow service in Designer. You can either map in values from the pipeline, or you can set constant values using the pipeline editor.
Parameter
Description/Action
JMSMessage
The JMS message object that you want to send to the JMS Destination.
Create the JMS Message object using one of the following Adapter for JMS services:
*DocumentToTextMessage
*DocumentToObjectMessage
*DocumentToMapMessage
*DocumentToBytesMessage
*DocumentToStreamMessage
JMSDestination
The JMS Destination object or the JMS Destination JNDI Name (String).
If the adapter connection is configured for a queue, the JMS destination must be a queue.
If the adapter connection is configured for a topic, the JMS Destination must be a topic.
JMSDeliveryMode
(Optional) The Delivery Mode to use (PERSISTENT or NON_PERSISTENT). You can provide String literals 'PERSISTENT' or 'NON_PERSISTENT' or an Integer value. Default: 'PERSISTENT'
JMSPriority
(Optional) The message's priority 0-9. Default: 4
JMSTimeToLive
(Optional) The message's lifetime (in milliseconds). Default: 0 (forever)