//here we cannot get the property key using the usual SandeshaUtil.getSequencePropertyKey function,
//because this can be a applicationMessage, which piggybacks the acknowledgement.
String sequencePropertyKey = internalSequenceId;
// Check that the sender of this Ack holds the correct token
SequencePropertyBean tokenBean = seqPropMgr.retrieve(outSequenceId, Sandesha2Constants.SequenceProperties.SECURITY_TOKEN);
if(tokenBean != null) {
SecurityManager secManager = SandeshaUtil.getSecurityManager(configCtx);
SecurityToken token = secManager.recoverSecurityToken(tokenBean.getValue());
secManager.checkProofOfPossession(token, soapHeader, msgCtx);