The Send Exception to Adapter Request activity is used to send an exception to an adapter for a received request previously.
The Adapter Request-Response Server activity works as a process starter in a process. When you perform the requested operation, an error might occur. With the Send Exception to Adapter Request activity, you can return an exception to the adapter service with information about the exception.
The following figure illustrates a Send Exception to Adapter Request activity sending an exception to a previously received request from an adapter.
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
SendExceptiontoAdapterRequest.
|
Reply For
|
No
|
Select the activity for which this activity sends a response from the list:
- 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.
|
Copyright © Cloud Software Group, Inc. All rights reserved.