// System.setProperty("java.naming.factory.initial", "org.apache.naming.modules.memory.MemoryURLContextFactory");
// System.setProperty("java.naming.factory.url.pkgs", "org.apache.naming.modules");
InitialContext ctx = new InitialContext();
String connQosTxt = null;
boolean forQueues = false;
this.factory = new XBConnectionFactory(connQosTxt, this.args, forQueues);
this.topic = new XBDestination(TOPIC, null, false);
ctx.bind(CONNECTION_FACTORY, this.factory);
ctx.bind(TOPIC, this.topic);
}
catch (NamingException ex) {