final String eoiStr = this.getStringContentFromHeader(hdr); // null if hdr==null if (eoiStr == null) { this.unsetKiekerThreadLocalData(); return; } catch (final NumberFormatException exc) { OperationExecutionSOAPResponseInInterceptor.LOGGER.warn("Invalid EOI", exc); this.unsetKiekerThreadLocalData(); return; final String traceIdStr = this.getStringContentFromHeader(hdr); // null if hdr==null if (traceIdStr == null) { this.unsetKiekerThreadLocalData(); return; } catch (final NumberFormatException exc) { OperationExecutionSOAPResponseInInterceptor.LOGGER.warn("Invalid trace id", exc); this.unsetKiekerThreadLocalData(); return; this.unsetKiekerThreadLocalData();
private IBookstore createClient() { final JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); // On the client-side, we only intercept outgoing requests and incoming // responses. factory.getOutInterceptors() .add(new OperationExecutionSOAPRequestOutInterceptor(this.clientMonitoringController)); factory.getInInterceptors() .add(new OperationExecutionSOAPResponseInInterceptor(this.clientMonitoringController)); factory.setServiceClass(IBookstore.class); factory.setAddress(this.serviceAddress); return (IBookstore) factory.create(); }
private IBookstore createClient() { final JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); // On the client-side, we only intercept outgoing requests and incoming responses. factory.getOutInterceptors().add(new OperationExecutionSOAPRequestOutInterceptor(this.clientMonitoringController)); factory.getInInterceptors().add(new OperationExecutionSOAPResponseInInterceptor(this.clientMonitoringController)); factory.setServiceClass(IBookstore.class); factory.setAddress(TestCXFClientServerInterceptors.SERVICE_ADDRESS); return factory.create(IBookstore.class); }
final String eoiStr = this.getStringContentFromHeader(hdr); // null if hdr==null if (eoiStr == null) { this.unsetKiekerThreadLocalData(); return; } catch (final NumberFormatException exc) { LOG.warn("Invalid EOI", exc); this.unsetKiekerThreadLocalData(); return; final String traceIdStr = this.getStringContentFromHeader(hdr); // null if hdr==null if (traceIdStr == null) { this.unsetKiekerThreadLocalData(); return; } catch (final NumberFormatException exc) { LOG.warn("Invalid trace id", exc); this.unsetKiekerThreadLocalData(); return; this.unsetKiekerThreadLocalData();