Wait for Adapter Request
The Wait for Adapter Request activity waits for the receipt of a request from Request-Response Invocation Service.
The adapter sends a request using a preconfigured service, and the process implements the request. The process sends any required responses back to the adapter service by placing the Respond to Adapter Request activity at a later point in the process.
Adapter Request-Response Invocation Service is configured during adapter configuration, and the activity uses the information in the adapter configuration to configure this activity.
The following figure illustrates a Wait for Adapter Request activity waiting for a request from Request-Response Invocation Service. In the business process, a Respond to Adapter Request activity sends the response at a later point.
General
Event
Field | Module Property? | Description |
---|---|---|
Event Timeout (seconds) | No | A Timeout specified in seconds. The default value is
60.
If no value is specified in this field, the message waits indefinitely. If zero(0) is specified, the event is discarded immediately, unless this activity has already been executed. |
Activity Timeout (msec) | No | The amount of time (in milliseconds) to wait if the message arrives before this activity is executed in the process instance. If the event times out, an error is logged and the event is discarded.
This field contains an XPath expression that specifies the timeout value for the activity. |
Advanced
The Advanced tab contains the Transport Type field. You can select a transport type in the Transport Type list. For more information, see Transport Type.
Output Editor
The Output Editor tab defines the schema used for messages: Map, Stream, or XML Text. Map messages are name or value pairs.
You can use the schema to define the structure of the outgoing request and the incoming reply. The schema defined in the Output Editor tab becomes the body of the message in the Output tab.
Conversations
You can initiate the conversation here. Click Add New Conversation to initiate multiple conversations.
For details about conversations, see TIBCO ActiveMatrix BusinessWorks Application Development.
Output
Output Item | Data Type | Description |
---|---|---|
subject | String | The subject of the message. |
replySubject | String | The reply subject of the message. |
certifiedSequence Number | String | This element contains the sequence number in which this message was received.
It is available only when Tibrv Certified is the transport. |
certifiedSender | String | This element contains the CM name of the message sender.
It is available only when Tibrv Certified is the transport. |
MessageID | String | The ID of the message.
This element is available only when JMS Queue or JMS Topic is the transport. |
trackingInfo | Complex | The AE tracking information of the sender.
This element is a concatenation of "BW." + Application_Name + Module_Name + Process_Name + Activity_Name + User_Part (Business_Key). |
JMSHeaders | Complex | This element contains the message header fields for the message. Only properties applicable to this type of message are displayed.
It is available only when JMS Queue or JMS Topic is the transport. For more information about message header fields, see "JMS Properties" in TIBCO ActiveMatrix BusinessWorks Bindings and Palette Reference. |
body | Complex | A complex schema type specified for the adapter service or a complex schema type designated by user. |