Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Connect JMS form - Completing the Response tab

Updated on April 6, 2022

If the JMS connector uses the Point-to-Point scenario, use the Response tab to specify the data read at runtime from the incoming response message. Define how Pega Platform maps the data from fields in the message header or parameter values in the message body to the clipboard.

Message data

If the JMS connector uses the Publish-Subscribe scenario, no responses are expected. Leave this tab blank.

FieldDescription
Data type Select the external Java data type of the response parameter: String, Boolean, Byte, Bytes, Character, or JavaObject.
Message keyEnter the external name of a response parameter.
DescriptionOptional. Enter a brief text description for this parameter.
Map to Select how the system creates response parameter values. The choice you make for this field depends on what you select for Data Type:
  • Clipboard — The system maps the data value to the property specified by the Map to key.
  • XML ParseRule — The system applies a Parse XML rule to obtain the value.

If more choices appear, they each identify a custom function rule in a MapTo library. Review the function rule to determine what it does.

Map to key Identify a destination for the Map to operation:
  • If you map to Clipboard, enter the property name to which data is mapped.
  • If you map to XML Parse Rule, enter the Namespace name (second key part) and the Element Name name — third key part — of the appropriate Parse XML rule. Separate the Namespace value from the Element Name value with a space. That is, use the syntax "NamespaceName ElementName". The system uses the Applies to class of this connector rule as the first key part of the parse rule.
  • Note: To maintain backward compatibility for connector rules created in releases before PRPC Version 5.2, you can specify a data mapping with only a Namespace value. In that case, the system at runtime determines the Element Name key from the root element of the incoming XML document. However, this mapping works only if the Parser Type of the Parse XML rule is set to DOM and validation is not enabled. As a best practice, specify both the Namespace Name and the Element Name of the rule.
  • If you map to a Rule-Utility-Function from a MapTo library, either select a property to hold the results of the function or leave this field blank, as appropriate for the function.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us