} else {
identifierStr = (String) outSequenceBean.getValue();
}
Identifier id1 = new Identifier(factory,rmNamespaceValue);
id1.setIndentifer(identifierStr);
sequence.setIdentifier(id1);
rmMsg.setMessagePart(Sandesha2Constants.MessageParts.SEQUENCE,sequence);
if (addAckRequested) {
ackRequested = new AckRequested(factory,rmNamespaceValue);
Identifier id2 = new Identifier(factory,rmNamespaceValue);
id2.setIndentifer(identifierStr);
ackRequested.setIdentifier(id2);
rmMsg.setMessagePart(Sandesha2Constants.MessageParts.ACK_REQUEST,
ackRequested);
}