Notifications

414 views

Issue

Overview

Starting with the Helsinki release, the RESTMessageV2 API includes the setEccTopic(String topic) and getEccTopic() methods.

These methods allow users to assign a custom probe business rule to handle REST responses. Assigning a custom probe business rule overrides all default ECC response handling for that RESTMessageV2 object, such as for asynchronous messages or messages sent via MID Server.

API details

setEccTopic(String topic)

Parameters:

ParameterTypeDescription
topicStringThe name of a business rule on the ECC Queue table that defines processing logic for the REST response.

Returns:

TypeDescription
None 

Example:

var rm = new sn_ws.RESTMessageV2();
rm.setEccTopic("CustomProbeBR");
getEccTopic()

Parameters:

ParameterTypeDescription
None  

Returns:

TypeDescription
String The name of the ECC Queue topic that handles the response to this REST message.

Example:

var rm = new sn_ws.RESTMessageV2();
var topic = rm.getEccTopic();
gs.log(topic);

Article Information

Last Updated:2019-08-02 21:25:48
Published:2019-06-12