MWEB-999 AMQP first step

Don't merge it yet
same pattern as above with fail but here you can simply do something like:

`.fail(errorFunction);`