MessageProducer messageProducer = null;
try {
xaQueueConnection = xaQueueConnectionFactory.createXAQueueConnection();
xaQueueSession = xaQueueConnection.createXAQueueSession();
messageProducer = xaQueueSession.createProducer(queue);
Message message = createMessage(xaQueueSession);
messageProducer.send(message);
} finally {
try {