rabbitmq input and output