MWEB-999 AMQP first step

Don't merge it yet
Can't really extract it because of `publishRetriesLeft` variable.