RMDBeanMgr nextMsgMgr = storageManager.getRMDBeanMgr();
RMDBean findBean = new RMDBean();
findBean.setPollingMode(true);
findBean.setTerminated(false);
findBean.setSequenceID(entry.getSequenceId());
RMDBean nextMsgBean = nextMsgMgr.findUnique(findBean);
if(nextMsgBean == null) {
// This sequence must have been terminated, or deleted
stopThreadForSequence(entry.getSequenceId(), false);
} else {