make it work with rabbitmq