Connection cnx = cf.createConnection();
Session sess = cnx.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer producer = sess.createProducer(null);
Message msg = sess.createMessage();
msg.setStringProperty("expiration", "0");
msg.setStringProperty("persistent", "true");
msg.setStringProperty("acquisition.period", "30000");
msg.setStringProperty("collector.url", "http://www.gnu.org/licenses/lgpl-3.0.txt");
msg.setStringProperty("collector.type", "5");