import com.sap.gateway.ip.core.customdev.util.Message;
import java.util.HashMap;
def Message processData(Message message) {
def body = message.getBody(java.lang.String) as String;
def millis = 1503478810000
def Date = new Date(millis)
def DateTime = Date.format("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
message.setProperty("MillisecToDate",DateTime);
return message;
}
No comments:
Post a Comment