Request processing

The following stanzas must be specified if the bridge component of the adapter is configured for request processing, for example, if the Mode parameter is set to Request or Both.

Whether requests are to be processed in a synchronous or asynchronous fashion is determined by either specifying or omitting the parameters WMQReplyQueue and WMQCorrelationQueue. To specify the stanzas, refer to the tables below.

Table 24. Request processing

Parameters WMQReplyQueue and WMQCorrelationQueue Request Processing
None specified Asynchronous
Both specified Synchronous
One specified, second one not specified Not allowed (configuration error)


Table 25. Stanza RequestHandler

Keyword Mandatory/ Optional/ Default value Possible values Description
Name Mandatory The name of an existing AMB client. The client name used for communication with the FRONT ARENA application. For more information, see Configuring the application.

WMQQueueMana ger

Mandatory The name of an existing WebSphere MQ queue manager. The WebSphere MQ queue manager used for communication with target application. For more information, see Communicating with the WBI adapter.
WMQChannel Mandatory

<channel/ <transport>/ hostname(port)

The WebSphere MQ channel used for communication with the given queue manager/
Transport (which usually is TCP)/ URL of the system hosting the queue manager + queue manager listener port. For more information, see Communicating with the WBI adapter.

WMQRequestQue ue

Mandatory The name of an existing WebSphere MQ queue owned by the given queue manager. The WebSphere MQ queue used to send requests to the bridge component of the adapter.

WMQReplyQueue

Optional
Note: This parameter must be specified if the WMQ Correlation Queue is specified.
The name of an existing WebSphere MQ queue owned by the given queue manager. The WebSphere MQ queue used to pass replies back to the originator of the associated request.

WMQCorrelation Queue

Optional
Note: This parameter must be specified if the WMQReply Queue is specified.
The name of an existing WebSphere MQ queue owned by the given queue manager. The WebSphere MQ queue internally used by the bridge component of the adapter for request - reply correlation.
WMQUserID Optional A user ID that is known to the given queue manager. The user ID to be used in the messages sent by the bridge component.
WMQRetries Optional
Default: 3
Integer value; Negative values mean: Retry forever. The number of retries if the WebSphere MW connection cannot be established or drops.

WMQRetryInterval

Optional

Integer value > 0

The time (in milliseconds) between successive retries to establish a WebSphere MQ connection.

FAPublicationSub ject

Mandatory String The topic under which request messages are published on the AMB by the bridge. For more information, see Configuring the application.

FAAMBASenderSo urce

Optional String The prefix of the subject under which FRONT ARENA publishes replies to requests. For more information, see Configuring the application.

Even if the parameters, for example WMQQueueManager, WMQChannel, or others, were specified in an EventHandler stanza already, they must be re-specified. The same or different values can be taken.

Note:
In most scenarios, it is appropriate to use the same values.

Copyright IBM Corp. 1997, 2004