private TransportFactory createTransportFactory() throws BusException {
String transportId = "http://celtix.objectweb.org/transports/jms";
ObjectFactory of = new ObjectFactory();
ClassNamespaceMappingListType mappings = of.createClassNamespaceMappingListType();
ClassNamespaceMappingType mapping = of.createClassNamespaceMappingType();
mapping.setClassname("org.objectweb.celtix.bus.transports.jms.JMSTransportFactory");
mapping.getNamespace().add(transportId);
mappings.getMap().add(mapping);
TransportFactoryManager tfm = new TransportFactoryManagerImpl(bus);
return tfm.getTransportFactory(transportId);
}