private static void sendToHornetQ(String payload, String queueName) throws Exception {
HornetQMixIn hqMixIn = new HornetQMixIn(false)
.setUser(HQ_USER)
.setPassword(HQ_PASSWD);
hqMixIn.initialize();
try {
Session session = hqMixIn.getJMSSession();
MessageProducer producer = session.createProducer(HornetQMixIn.getJMSQueue(queueName));
producer.send(hqMixIn.createJMSMessage(payload));