fixed {https://wso2.org/jira/browse/ESBJAVA-3175}
Merge pull request #67 from dushansachinda/master

fixed {https://wso2.org/jira/browse/ESBJAVA-3175}