Skip to content

Instantly share code, notes, and snippets.

@jonashackt
Created August 13, 2015 13:00
Show Gist options
  • Save jonashackt/dc3747087b7a91a367d8 to your computer and use it in GitHub Desktop.
Save jonashackt/dc3747087b7a91a367d8 to your computer and use it in GitHub Desktop.
Activate Logging of SOAP-Messages with Apache CXF directly on the SpringBus
@Bean(name=Bus.DEFAULT_BUS_ID)
public SpringBus springBus() {
SpringBus springBus = new SpringBus();
LoggingFeature logFeature = new LoggingFeature();
logFeature.setPrettyLogging(true);
logFeature.initialize(springBus);
springBus.getFeatures().add(logFeature);
return springBus;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment