msgToInvoke = storageManager.retrieveMessageContext(messageContextKey, configurationContext);
// ending the transaction before invocation.
if(transaction != null) {
transaction.commit();
transaction = storageManager.getTransaction();
}
RMMsgContext rmMsg = MsgInitializer.initializeMessage(msgToInvoke);