// to retrieve the message and acknowledge it
// with the stored UID
try {
if (ref.acknowledged(intid, sid,
true, true, id, remoteNotified, true)) {
dst.removeMessage(ref.getSysMessageID(),
RemoveReason.ACKNOWLEDGED);
}
} catch (BrokerException ex) {
// XXX improve internal error
logger.log(Logger.WARNING,"Internal error", ex);