Can someone explain me what is the purpose of this code:
//public void deliver(......)
ClientFactoryBean factory = new ClientFactoryBean();
factory.setBus(outBus);
factory.setBindingId(soapBinding);
factory.setServiceClass(JadeWSImpl.class);
factory.setAddress(epr);
client = factory.create();
What I do not comprehend are those two lines:
>>>>>
factory.setBus(outBus);
factory.setBindingId(soapBinding);
>>>>>
More up in the code in another function we have something like
private void activateClient() {
if(outBus == null) {
outBus = (new SpringBusFactory()).createBus(outConfFile);
logger.info("Activated client bus: " + outBus);
} else {
logger.info("Client bus already activated: " + outBus);
}
}
What is the bus necessary to initialize for ????
--
View this message in context:
http://cxf.547215.n5.nabble.com/Why-Bus-tp3339871p3339871.html
Sent from the cxf-user mailing list archive at Nabble.com.