Added changes for jms consumer