Added the delivery-tag to invocation scope, and the ack/reject to read
from there, so that other outbound-endpoints wouldn't overwrite them.