Respond to Adapter Request

The Respond to Adapter Request activity is used to send a response to an adapter for a received request previously.

When the incoming adapter request requires a response from your process, the Respond to Adapter Request activity is used to send that response.

The following figure illustrates how a Respond to Adapter Request activity sends a response to a specified adapter for a request. The request is received from Request-Response Invocation Service.

General

The General tab has the following fields:
Field Module Property? Description
Name No The name displayed as the label for the activity in the process definition.

The default value is RespondtoAdapterRequest.

Reply For No Select an activity from the list. The Respond to Adapter Request activity sends a response to the selected activity. The following are available options:
  • AdapterRequest-ResponseServer
  • WaitforAdapterRequest
Custom Schema No Select or clear the check box to specify whether you want to supply an output class for this activity.
  • Cleared (default): The Input Editor tab is read-only.
  • Selected: The Input Editor tab is editable.
Note: The feature of Custom Schema in TIBCO ActiveMatrix BusinessWorks 6 is the same as CustomAESchema in TIBCO ActiveMatrix BusinessWorks 5.

Description

In the Description tab, you can enter a short description for the activity.

Input Editor

The Input 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 Input Editor tab becomes the body of the message in the Input tab.

Input

The following table lists the input items for this activity:
Input Item Data Type Description
businessKey String This string is appended to the AE tracking specified in the trackingInfo field.
Note: It is good practice that all publishers in a process use the same business key. Only the most recent business key of the publisher is used in the tracking info for the message.
body Complex The schema definition for the response. The structure of this element is retrieved from the adapter service of the activity.

Fault

The Fault tab lists the possible exceptions thrown by this activity.

Note: This tab plays the same role as the Error Output tab in TIBCO ActiveMatrix BusinessWorks 5.x.
Fault Thrown When...
TransportException The transport cannot be created.
SerializationException The outgoing message cannot be serialized.
ReplyException The reply cannot be sent.