Sequence sequencePart = (Sequence) applicaionRMMsg
.getMessagePart(Sandesha2Constants.MessageParts.SEQUENCE);
if (sequencePart == null)
throw new SandeshaException("Sequence part is null");
Identifier identifier = new Identifier(factory);
identifier.setIndentifer(newOutSequenceId);
sequencePart.setIdentifier(identifier);
AckRequested ackRequestedPart = (AckRequested) applicaionRMMsg
.getMessagePart(Sandesha2Constants.MessageParts.ACK_REQUEST);
if (ackRequestedPart != null) {
Identifier id1 = new Identifier(factory);
id1.setIndentifer(newOutSequenceId);
ackRequestedPart.setIdentifier(id1);
}
try {
applicaionRMMsg.addSOAPEnvelope();