Added new improvement to drop a message after max retry ESBJAVA-2908

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