if (SandeshaUtil.isInOrder(msgCtx)) {
String key = SandeshaUtil.getUUID(); // key to store the message.
InvokerBean invokerBean = new InvokerBean(key, msgNo, sequenceId);
ContextManager contextMgr = SandeshaUtil.getContextManager(configCtx);
if(contextMgr != null) invokerBean.setContext(contextMgr.storeContext());
boolean wasAdded = storageManager.getInvokerBeanMgr().insert(invokerBean);
// This will avoid performing application processing more than once.
rmMsgCtx.setProperty(Sandesha2Constants.APPLICATION_PROCESSING_DONE, "true");