String str = new Long(msgNo).toString();
SequencePropertyBean highestMsgNoBean = new SequencePropertyBean (sequenceId,Sandesha2Constants.SequenceProperties.HIGHEST_IN_MSG_NUMBER,str);
SequencePropertyBean highestMsgKeyBean = new SequencePropertyBean (sequenceId,Sandesha2Constants.SequenceProperties.HIGHEST_IN_MSG_KEY,key);
if (highetsInMsgNoStr!=null) {
seqPropMgr.update(highestMsgNoBean);
seqPropMgr.update(highestMsgKeyBean);
}else{
seqPropMgr.insert(highestMsgNoBean);
seqPropMgr.insert(highestMsgKeyBean);
}