THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
Bus bus = BusFactory.getThreadDefaultBus(); DestinationFactoryManagerImpl dfm = bus.getExtension(DestinationFactoryManagerImpl.class); CustomTransportFactory customTransport = new CustomTransportFactory(); dfm.registerDestinationFactory("http://cxf.apache.org/transports/TRANSPORT_PREFIX", customTransport); dfm.registerDestinationFactory("http://cxf.apache.org/transports/TRANSPORT_PREFIX/configuration", customTransport); ConduitInitiatorManager extension = bus.getExtension(ConduitInitiatorManager.class); extension.registerConduitInitiator("http://cxf.apache.org/transports/TRANSPORT_PREFIX", sbbTransportcustomTransport); extension.registerConduitInitiator("http://cxf.apache.org/transports/TRANSPORT_PREFIX/configuration", customTransport); |
...