@Test public void skipProcessingWithWrongMessageTypeOnRequest() throws Exception { when(messageContext.getRequest()).thenReturn(mock(WebServiceMessage.class)); unit.handleRequest(messageContext, new Object()); assertThat(backend.copyToMap(), hasKey(TraceeConstants.INVOCATION_ID_KEY)); }
@Override public boolean handleRequest(MessageContext messageContext, Object o) { parseContextFromSoapHeader(messageContext.getRequest(), IncomingRequest); Utilities.generateInvocationIdIfNecessary(backend); return true; }
TraceeEndpointInterceptor extends AbstractTraceeInterceptor implements EndpointInterceptor { @Override public boolean handleRequest(MessageContext messageContext, Object o) { parseContextFromSoapHeader(messageContext.getRequest(), IncomingRequest); Utilities.generateInvocationIdIfNecessary(backend); return true; } }
TraceeEndpointInterceptor extends AbstractTraceeInterceptor implements EndpointInterceptor { @Override public boolean handleRequest(MessageContext messageContext, Object o) { parseContextFromSoapHeader(messageContext.getRequest(), IncomingRequest); Utilities.generateInvocationIdIfNecessary(backend); return true; } TraceeEndpointInterceptor();  TraceeEndpointInterceptor(final String profile);  TraceeEndpointInterceptor(final TraceeBackend backend, final String profile); }
TraceeEndpointInterceptor extends AbstractTraceeInterceptor implements EndpointInterceptor { @Override public boolean handleRequest(MessageContext messageContext, Object o) { parseContextFromSoapHeader(messageContext.getRequest(), IncomingRequest); Utilities.generateInvocationIdIfNecessary(backend); return true; } TraceeEndpointInterceptor();  TraceeEndpointInterceptor(final String profile);  TraceeEndpointInterceptor(final TraceeBackend backend, final String profile); @Override boolean handleRequest(MessageContext messageContext, Object o); @Override boolean handleResponse(MessageContext messageContext, Object o); @Override boolean handleFault(MessageContext messageContext, Object o); @Override void afterCompletion(MessageContext messageContext, Object o, Exception e); }
TraceeEndpointInterceptor extends AbstractTraceeInterceptor implements EndpointInterceptor { @Override public boolean handleRequest(MessageContext messageContext, Object o) { parseContextFromSoapHeader(messageContext.getRequest(), IncomingRequest); Utilities.generateInvocationIdIfNecessary(backend); return true; } TraceeEndpointInterceptor();  TraceeEndpointInterceptor(final String profile);  TraceeEndpointInterceptor(final TraceeBackend backend, final String profile); @Override boolean handleRequest(MessageContext messageContext, Object o); @Override boolean handleResponse(MessageContext messageContext, Object o); @Override boolean handleFault(MessageContext messageContext, Object o); @Override void afterCompletion(MessageContext messageContext, Object o, Exception e);  }