Fixing ESBJAVA-3275

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>