@PostConstruct public void activateLoggingFeature() { // Log SoapMessages to Logfile springBus.getInInterceptors().add(logInInterceptor()); springBus.getInFaultInterceptors().add(logInInterceptor()); springBus.getOutInterceptors().add(logOutInterceptor()); springBus.getOutFaultInterceptors().add(logOutInterceptor()); }
@PostConstruct public void activateLoggingFeature() { // Log SoapMessages to Logfile springBus.getInInterceptors().add(logInInterceptorSoapMsgLogger()); springBus.getInFaultInterceptors().add(logInInterceptorSoapMsgLogger()); springBus.getOutInterceptors().add(logOutInterceptorSoapMsgLogger()); springBus.getOutFaultInterceptors().add(logOutInterceptorSoapMsgLogger()); }
@Bean(name = Bus.DEFAULT_BUS_ID) public SpringBus springBus() { SpringBus springBus = new SpringBus(); springBus.getInInterceptors().add(logInInterceptor()); springBus.getInFaultInterceptors().add(logInInterceptor()); springBus.getOutInterceptors().add(logOutInterceptor()); springBus.getOutFaultInterceptors().add(logOutInterceptor()); return springBus; }
@Bean(name = Bus.DEFAULT_BUS_ID) public SpringBus springBus() { SpringBus springBus = new SpringBus(); springBus.getInInterceptors().add(logInInterceptor()); springBus.getInFaultInterceptors().add(logInInterceptor()); springBus.getOutInterceptors().add(logOutInterceptor()); springBus.getOutFaultInterceptors().add(logOutInterceptor()); return springBus; }
@Bean(name = Bus.DEFAULT_BUS_ID) public SpringBus springBus() { SpringBus springBus = new SpringBus(); springBus.getInInterceptors().add(logInInterceptor()); springBus.getInFaultInterceptors().add(logInInterceptor()); springBus.getOutInterceptors().add(logOutInterceptor()); springBus.getOutFaultInterceptors().add(logOutInterceptor()); return springBus; }