Updated Client class to send message to queue