Refactor rabbitmq stub

To be more in line with ActiveMQ and Server