Groovy - To stop, pause, or to put your integration flow to sleep for sometime in SAP CPI ( Business Technology Platform) Code Example

The code for To stop, pause, or to put your integration flow to sleep for sometime in SAP CPI ( Business Technology Platform)

import com.sap.gateway.ip.core.customdev.util.Message;
import java.util.HashMap;

def Message processData(Message message)
{
       def body = message.getBody();
       sleep(40000);
       message.setBody(body);
       return message;
}
Code by Reddy MS, on February 7, 2023 13:23

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.