RESTMessageV2 API EccTopic SupportIssue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size: 14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> 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: ParameterTypeDescriptiontopicStringThe name of a business rule on the ECC Queue table that defines processing logic for the REST response. Returns: TypeDescriptionNone Example: var rm = new sn_ws.RESTMessageV2(); rm.setEccTopic("CustomProbeBR"); getEccTopic()Parameters: ParameterTypeDescriptionNone Returns: TypeDescriptionString 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);