Example of sending java request from a client to a RabbitMQ queue and waiting for the response