By creating a bus with your own bean configuration file, i.e. using the factory method
Code Block |
---|
SpringBeanFactorySpringBusFactory.createBus("mycxf.xml") |
you can complement or overwrite the bean definitions that CXF would use by default. In this case mycxf.xml
must be on the classpath, but you can also use a factory method taking a URL that points to your bean configuration file.
...