Java application to send and receive messages via a JMS Queue