import com.sap.gateway.ip.core.customdev.util.Message;
import java.util.HashMap;
import groovy.json.*;
import groovy.util.logging.*;
import org.codehaus.*;
import groovy.xml.*;
def Message processData(Message message) {
def body = message.getBody(java.lang.String) as String;
map = message.getProperties();
def email = "blake1566@BLAKEGUER.COM"
def (value1, value2) = email.tokenize( '@' )
def chemail =value2.toLowerCase();
def fullemail = value1 + "@" + chemail;
message.setProperty("Header",fullemail);
return message;
}
No comments:
Post a Comment