} else if (messageType == Sandesha2Constants.MessageTypes.ACK_REQUEST) {
AckRequested ackRequested = (AckRequested) rmMessageContext
.getMessagePart(Sandesha2Constants.MessageParts.ACK_REQUEST);
sequenceID = ackRequested.getIdentifier().getIdentifier();
} else if (messageType == Sandesha2Constants.MessageTypes.CLOSE_SEQUENCE) {
CloseSequence closeSequence = (CloseSequence) rmMessageContext
.getMessagePart(Sandesha2Constants.MessageParts.CLOSE_SEQUENCE);
sequenceID = closeSequence.getIdentifier().getIdentifier();
} else if (messageType == Sandesha2Constants.MessageTypes.CLOSE_SEQUENCE_RESPONSE) {
CloseSequenceResponse closeSequenceResponse = (CloseSequenceResponse) rmMessageContext
.getMessagePart(Sandesha2Constants.MessageParts.CLOSE_SEQUENCE_RESPONSE);
sequenceID = closeSequenceResponse.getIdentifier().getIdentifier();
}