Adapter for JMS 6.1 SP1 | webMethods Adapter for JMS Documentation | webMethods Adapter for JMS Installation and User’s Documentation | About the Adapter for JMS | Adapter Services
 
Adapter Services
 
Using MessageProducer, MessageConsumer, and MessageRequestor
Changing the Connection for an Adapter Service or Notification at Design Time
Changing the Connection for an Adapter Service at Run Time
Adapter Service Run-Time Processing
Adapter services enable the Adapter for JMS to initiate operations that interact with JMS providers. You configure adapter services using adapter service templates, which are provided with the Adapter for JMS. Each template represents a specific operation. For example, the MessageProducer template enables you to send (publish) messages to a JMS queue or topic.
Adapter service templates contain all of the code that is necessary to perform an operation on a JMS provider, but without the data specifications. You provide these specifications when you configure an adapter service. Configuring a new service from an adapter service template is straightforward. Using Designer, you assign a default adapter connection to the service, select the adapter service template, and supply the service's data specifications.
After you configure a service, you can incorporate it into a flow or Java service to interact with a JMS provider. For example, you can create a MessageConsumer flow service that retrieves JMS messages from a specific queue, call a MessageToDocument service to convert the JMS message to an Integration Server document, and then call another service that routes the JMS message data to a different backend resource.
The Adapter for JMS provides the following adapter service templates:
Adapter Service Template
Description
MessageProducer
Sends (publishes) JMS messages to a queue or topic.
MessageConsumer
Receives (subscribes to) JMS messages from a queue or topic.
MessageRequestor
Sends JMS messages to a queue or topic and then waits for a reply JMS message.
DocumentToTextMessage
Converts an Integration Server document to a JMS text message.
TextMessageToDocument
Converts a JMS text message to an Integration Server document.
DocumentToObjectMessage
Converts an Integration Server document to a JMS object message.
ObjectMessageToDocument
Converts a JMS object message to an Integration Server document.
DocumentToMapMessage
Converts an Integration Server document to a JMS map message.
MapMessageToDocument
Converts a JMS map message to an Integration Server document.
DocumentToBytesMessage
Converts an Integration Server document to a JMS bytes message.
BytesMessageToDocument
Converts a JMS bytes message to an Integration Server document.
DocumentToStreamMessage
Converts an Integration Server document to a JMS stream message.
StreamMessageToDocument
Converts a JMS stream message to an Integration Server document.