// If the listener was listening to a queue, cancelling any pending reply:
if (req.getQueueMode()) {
activeCtx.cancelReceive(req.getCancelledRequestId());
AgentId to = AgentId.fromString(req.getTarget());
sendNot(to,
new AbortReceiveRequest(activeCtx.getId(), req.getRequestId(), req.getCancelledRequestId()));
}
}