}
private void invokeOutboundDeliveredTrueIfRequestAcked() {
String seqId = request.getSequenceId();
long messageNumber = request.getMessageNumber();
OutboundDelivered outboundDelivered = retrieveOutboundDelivered(seqId, messageNumber);
if (outboundDelivered != null) {
Sequence outboundSequence = rc.sequenceManager().getOutboundSequence(seqId);
boolean isRequestAcked = outboundSequence.isAcknowledged(messageNumber);
if (isRequestAcked) {
if (LOGGER.isLoggable(Level.FINE)) {
LOGGER.fine("Invoking outboundDelivered.setDelivered(true) for " +
"seq id:"+outboundSequence.getId()+" and " +
"message number:"+messageNumber);
}
outboundDelivered.setDelivered(Boolean.TRUE);
rc.outboundDeliveredHandler.remove(seqId, messageNumber);
} else {
if (LOGGER.isLoggable(Level.FINE)) {
LOGGER.fine("isRequestAcked found false, cannot invoke outboundDelivered.setDelivered(true)");
}