Tutorial 1: Using the JMS Adapter in Send-Only mode
The goal of this tutorial is to provide detailed information on how to build applications that can generate and send JMS messages using the JMS Adapter.
The Send-Only mode is the simplest mode in which the JMS Adapter can be used. In this mode, the business process includes a single adapter workstep that generates a JMS message and posts it to a predefined JMS queue. No response of the message is expected.
Before proceeding, you should create a test JMS queue, accessible from your application server. We will use this queue to deliver all the test messages, generated from our application. Using the application server console, define a queue named Q1. The way you define a JMS queue will vary depending on your application server vendor and version. Refer to the application server documentation for more information.
The process we will develop will be used to publish a JMS message that contains some product information — product ID number, name and price. After each message is published, a confirmation workstep will be presented.
The following sections describe how to use the JMS Adapter to generate and send JMS messages in the Send-Only mode: