Merge pull request #112 from miyuru/master

fixing https://wso2.org/jira/browse/ESBJAVA-3279
refactoring inbound endpoint
Merge pull request #113 from isudana/master

refactoring inbound endpoint