Connect JCA rules - Completing the Output tab

When the interaction mode is either SYNC_SEND_RECEIVE or SYNC_RECEIVE, as specified on the Service tab, the connector receives a response from the Enterprise Information System (EIS). Use the Output tab to specify the record type of the output record in the response and to configure the data mapping for the contents (elements) of the output record.

Note: Connect JCA rules are no longer being actively developed, and are being considered for deprecation in upcoming releases. Using Connect JCA rules does not follow Pega development best practices. Consider other implementation options instead.

Output record

Field Description
Name Specify the name of the output record as it is defined by the adapter function this connector rule calls.
Type Select the data type of the output record:
  • Mapped — The record type implements the CCI MappedRecord interface (which implements java.util.Map ).
  • Indexed — The record type implements the CCI IndexedRecord interface (which implements java.util.List ).
  • Custom — The record type is a custom type, a JavaBean-based representation of the external data structure.

See also More about Connect JCA rules.

Initialization activity for custom type If you selected Custom in the Type field and the resource adapter Execute() method requires a reference to an instantiated output record, select the activity that instantiates output records for this record type.

For information about creating the initialization activity, see More about Connect JCA rules.

Handler activity for custom type If you selected Custom in the Type field, select the activity that maps the values in the output record to the Pega Platform properties specified in the Record properties section.

For information about creating the handler activity, see More about Connect JCA rules.

Record properties

Use this section to map the contents of the output record to Pega Platform properties

Field Description
Data type Specify the fully qualified Java class type of the output record element. Select a type appropriate for the Type of the Pega Platform property mapped to it. For example, enter java.util.List for a property of mode Value List, or java.lang.String for a property of mode Single Value.
Property name When the type is set to Mapped, enter the name of the map key for the key/value pair defined by this data mapping. If not, leave blank.
Description Optional. Enter a description of the output record property or the Pega Platform property. This text is for information only.
Map to Select the destination of the output record property.
Map to key Specify the key to locating the property in the destination. For example, if the destination is the clipboard, the key is the name of the property on the clipboard.