public synchronized Message process(Message message) throws ActionProcessingException {
try {
Script execScript = getScript(message);
// create a Java/Groovy binding for the message object
//
Binding binding = new Binding();
// binds the message object to the script with a variable name of 'message'
//
binding.setVariable("message", message);
binding.setVariable("config", configTree);
binding.setVariable("payloadProxy", payloadProxy);
binding.setVariable("logger", logger);
execScript.setBinding(binding);
Object returnVal = execScript.run();