// set the destination for the message using the getJMSReplyTo method
// on the previously received message. Send the message using the
// send method on the queue sender.
// 5. Create a message using the createMessage method
Message returnMessage = queueSession.createMessage();
// 6. Set properties of the message.
returnMessage.setStringProperty("RECIPIENT", "CLIENT");
returnMessage.setIntProperty("count", message.getIntProperty("JMSXDeliveryCount"));
returnMessage.setJMSCorrelationID(message.getJMSMessageID());
// 7. Retrieve the reply destination.