compare with the bug fixed file JMSSink.java