accept a callback for when confirm=true
update amqp