I have found this package, which can be used to hide the AMQP specific implementation details: https://github.com/armon/relay