}
}
// Just in case the endpoint itself is an expression
endpoint = (String) ScriptManager.getScriptManager().evaluateExpression(endpoint, null);
MuleMessage response = mule.generateMessage(endpoint, payloadObject, props, mep);
if (mep.hasResponse() && response != null)
{
Object responsePayload = response.getPayload();