Java Code Examples for org.apache.cxf.Bus.DEFAULT_BUS_ID

The following are Jave code examples for showing how to use DEFAULT_BUS_ID of the org.apache.cxf.Bus class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: steve-plugsurfing   File: OcppConfiguration.java   View Source Code Vote up 5 votes
/**
 * Help by: http://stackoverflow.com/a/31988136
 *
 * logFeature.initialize(springBus) is not needed, because during the init of bus it will call f.initialize(this)
 * in {@link org.apache.cxf.bus.extension.ExtensionManagerBus#initializeFeatures()} anyway
 */
@Bean(name = Bus.DEFAULT_BUS_ID, destroyMethod = "shutdown")
public SpringBus springBus() {
    SpringBus bus = new SpringBus();
    bus.getFeatures().add(new LoggingFeature()); // Log incoming/outgoing messages
    return bus;
}
 
Example 2
Project: tutorial-soap-spring-boot-cxf   File: WebServiceConfiguration.java   View Source Code Vote up 4 votes
@Bean(name = Bus.DEFAULT_BUS_ID)
public SpringBus springBus() {
    return new SpringBus();
}
 
Example 3
Project: tutorial-soap-spring-boot-cxf   File: WebServiceConfiguration.java   View Source Code Vote up 4 votes
@Bean(name = Bus.DEFAULT_BUS_ID)
public SpringBus springBus() {
    return new SpringBus();
}
 
Example 4
Project: tutorial-soap-spring-boot-cxf   File: SimpleBootCxfApplication.java   View Source Code Vote up 4 votes
@Bean(name = Bus.DEFAULT_BUS_ID)
public SpringBus springBus() {
    return new SpringBus();
}
 
Example 5
Project: tutorial-soap-spring-boot-cxf   File: SimpleBootCxfApplication.java   View Source Code Vote up 4 votes
@Bean(name = Bus.DEFAULT_BUS_ID)
public SpringBus springBus() {
    return new SpringBus();
}
 
Example 6
Project: tutorial-soap-spring-boot-cxf   File: WebServiceConfiguration.java   View Source Code Vote up 4 votes
@Bean(name = Bus.DEFAULT_BUS_ID)
public SpringBus springBus() {
    return new SpringBus();
}
 
Example 7
Project: tutorial-soap-spring-boot-cxf   File: WebServiceConfiguration.java   View Source Code Vote up 4 votes
@Bean(name = Bus.DEFAULT_BUS_ID)
public SpringBus springBus() {
    return new SpringBus();
}
 
Example 8
Project: tutorial-soap-spring-boot-cxf   File: WebServiceConfiguration.java   View Source Code Vote up 4 votes
@Bean(name = Bus.DEFAULT_BUS_ID)
public SpringBus springBus() {
    return new SpringBus();
}