send and receive from rabbitmq