Overhaul of AMQP provider for better performance and reliability