Misleading error message thrown from spring mediator fix

https://wso2.org/jira/browse/ESBJAVA-3291