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
 
Configuring MessageProducer Services
 
Using MessageProducer Services
The MessageProducer service enables you to send messages to a JMS Destination (queue/topic). You configure MessageProducer services using a specific adapter connection. After you follow the steps in this section to configure the MessageProducer service, you can invoke it from a flow or Java service. You use the MessageProducer service in combination with other Adapter for JMS services that enable you to create JMS messages to add to the service's input signature.
To use MessageProducer services, you provide values for the service's input signature in the pipeline. For more information about using MessageProducer services, see Using MessageProducer Services.
You can use the same configured MessageProducer service to send messages to different JMS Destinations, provided that the JMS Destinations are all available using the same adapter connection.
*To configure a MessageProducer service
1. Review the steps in Before Configuring or Managing Adapter Services.
2. Start Designer.
3. Right-click the package in which the service should be contained and select New > Adapter Service.
4. Select the parent namespace and type a name for the adapter service. Click Next.
5. Select Adapter for JMS as the adapter type and click Next.
6. Select the appropriate Adapter Connection Name and click Next.
7. From the list of available templates, select the MessageProducer template and click Finish.
The service is created and its parameters and controls are displayed in the adapter service editor. You can select the Adapter Settings tab at any time to confirm adapter service properties such as the Adapter Name, Adapter Connection Name, and Adapter Service Template, as necessary.
8. On the Send Message tab, the Destination Type field will be populated with either Topic or Queue. This value is determined by the service's associated adapter connection.
9. The Input/Output tab shows the service's input and output signatures. To use the MessageProducer service, you provide values for the signature input within the service pipeline in Designer. See Using MessageProducer Services for instructions on using the MessageProducer service.
For information about configuring the Input/Output, Settings, Audit, Permissions, and Results tabs, see the webMethods Service Development Help for your release. These tabs apply to all services that you configure using Designer.
10. Select File > Save.