{
TopicSession session = connection_.createTopicSession
(false, Session.CLIENT_ACKNOWLEDGE);
connection_.start();
Topic topic = session.createTopic(newTopic);
TopicPublisher publisher = session.createPublisher(topic);
int delivery_mode = DeliveryMode.NON_PERSISTENT;
// need to copy message else destination will change, and ack will
// fail.
ObjectMessage message = session.createObjectMessage(data);
publisher.publish(message, delivery_mode, 1, 0);