Communicating with the WBI adapter

To establish communication between the bridge component and the connector, some configuration properties must fit together. In addition to the communication parameters, the business objects supported by the adapter must correspond to those supported by the bridge.

Event processing

The following event table shows correlations between bridge configuration properties and adapter connector specific properties.

Table 28. Event processing communication

Adapter's connector-specific property Bridge configuration property
(Stanza EventHandler)
Description
HostName N/A
(part of WMQChannel)
The host on which the queue manager resides.
Port N/A
(part of WMQCHannel)
The port the queue manager's listener listens to.
Channel WMQChannel
(Format: <channel>/ <transport>/<host name>(<port>)
The channel used for communication with the queue manager.
N/A
(part of InputQueue)
WMQQueue Manager The queue manager used for communication between the bridge and the adapter's connector-specific Property.
InputQueue
(Format: queue:// <queue manager>/queue)
WMQQueue The queue used for communication between the bridge and the adapter's connector-specific property.

The example in Table 29 shows consistent adapter application configuration properties and bridge configuration properties.

Table 29. Example properties

Adapter's connector-specific property Bridge configuration property
HostName=fahost
Port=1414
Channel=CHANNEL1 WMQChannel=CHANNEL1/ TCP/fahost(1414)

WMQQueueManager=TestQMgr
InputQueue=queue://TestQMgr/ FRONTARENA.IN WMQQueue=FRONTARENA.IN

Request processing

This section shows the properties for request processing.

Table 30. Request processing communication

Adapter's connector-specific property Bridge configuration property
(stanza RequestHandler)
Description
HostName N/A
(part of WMQChannel)
The host on which the queue manager resides.
Port N/A
(part of WMQCHannel)
The port the queue manager's listener listens to.
Channel Channel WMQChannel
(Format: <channel>/<transport>/ <host name>(<port>)
The channel used for communication with the queue manager.

N/A (part of quenames)

WMQQueueManager The queue manager used for communication between the bridge and the adapter's connector specific-property.
ReplyToQueue (Format: queue://<queue manager>/queue) WMQReplyQueue The queue used to send replies (to requests) from the bridge to the adapter's connector specific-property.

Table 31. Attribute and bridge configuration

Parameter of attribute in static conversion meta-object Bridge Configuration Property
(stanza RequestHandler)
Description
OutputQueue
(Format: queue://<queue manager>/queue)
WMQRequestQueue Queue used to send requests from the adapter to the bridge.

Timeouts

When the WBI adapter is set up for synchronous event processing, its static conversion meta-object contains a ResponseTimeout value that defines the maximum amount of time the adapter waits for a reply to a service request. The value of bridge configuration parameter PollFrequency should be considerably smaller than this value.

WebSphere MQ authorization

To be able to communicate with the WebSphere MQ queue manager, either of the following must apply:

Copyright IBM Corp. 1997, 2004