Fix for ESBJAVA-3470
Remvoing deprecated annotation
Merge pull request #5 from raviu/master

Fix for ESBJAVA-3470 - reviewed by Shafreen.