prop.setProperty("acquisition.period", "10000");
prop.setProperty("acquisition.className", "com.scalagent.joram.mom.dest.collector.URLAcquisition");
prop.setProperty("collector.url", url);
prop.setProperty("collector.type", "" + Message.BYTES);
Queue queue = Queue.create(0, "queue", Queue.ACQUISITION_QUEUE, prop);
// Topic topic = Topic.create(0, "topic", Topic.ACQUISITION_TOPIC, prop);
User.create("anonymous", "anonymous");
queue.setFreeReading();
queue.setFreeWriting();
// topic.setFreeReading();
// topic.setFreeWriting();
javax.jms.ConnectionFactory cf =
TcpConnectionFactory.create("localhost", 16010);