use of org.apache.cxf.binding.soap.SoapBindingFactory in project camel by apache.
the class SpringBusFactoryBeanTest method getTheBusInstance.
@Test
public void getTheBusInstance() {
Bus bus = ctx.getBean("cxfBus", Bus.class);
assertNotNull("The bus should not be null", bus);
bus = ctx.getBean("myBus", Bus.class);
assertNotNull("The bus should not be null", bus);
SoapBindingFactory soapBindingFactory = bus.getExtension(SoapBindingFactory.class);
assertNotNull("You should find the factory here", soapBindingFactory);
}
Aggregations