first draft of rabbitmq plugin