Package kieker.monitoring.probe.cxf
Class OperationExecutionSOAPResponseOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor
kieker.monitoring.probe.cxf.OperationExecutionSOAPResponseOutInterceptor
- All Implemented Interfaces:
IMonitoringProbe,org.apache.cxf.binding.soap.interceptor.SoapInterceptor,org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
public class OperationExecutionSOAPResponseOutInterceptor extends org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor implements IMonitoringProbe
CXF OutInterceptor to set the sessionIdentifier header for an outgoing soap
message.
Look here how to add it to your client config:
http://cwiki.apache.org/CXF20DOC/interceptors.html
Setting the soap header with jaxb or aegis databinding didn't work yet:
http://www.nabble.com/Add-%22out-of-band%22-soap-header-using-simple-frontend-td19380093.html
- Since:
- 1.0
- Author:
- Dennis Kieselhorst, Andre van Hoorn
-
Field Summary
Fields Modifier and Type Field Description protected static ControlFlowRegistryCF_REGISTRYStores the singleton instance of the control flow registry.protected IMonitoringControllermonitoringControllerThe monitoring controller of this interceptor.protected static SessionRegistrySESSION_REGISTRYStores the singleton instance of the session registry.static java.lang.StringSIGNATUREThis constant contains the signature, which will be used in the monitoring logs.protected static SOAPTraceRegistrySOAP_REGISTRYStores the singleton instance of the SOAP trace registry.protected ITimeSourcetimeSourceThe used time source.protected java.lang.StringvmNameThe name of the VM. -
Constructor Summary
Constructors Constructor Description OperationExecutionSOAPResponseOutInterceptor()Creates a new instance of this class, using the singleton instance of theMonitoringControlleras controller.OperationExecutionSOAPResponseOutInterceptor(IMonitoringController monitoringCtrl)Creates a new instance of this class, using the given instance of aMonitoringControlleras controller. -
Method Summary
Modifier and Type Method Description voidhandleMessage(org.apache.cxf.binding.soap.SoapMessage msg)Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTraceMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Field Details
-
SIGNATURE
public static final java.lang.String SIGNATUREThis constant contains the signature, which will be used in the monitoring logs. -
CF_REGISTRY
Stores the singleton instance of the control flow registry. -
SESSION_REGISTRY
Stores the singleton instance of the session registry. -
SOAP_REGISTRY
Stores the singleton instance of the SOAP trace registry. -
monitoringController
The monitoring controller of this interceptor. -
timeSource
The used time source. -
vmName
protected final java.lang.String vmNameThe name of the VM.
-
-
Constructor Details
-
OperationExecutionSOAPResponseOutInterceptor
public OperationExecutionSOAPResponseOutInterceptor()Creates a new instance of this class, using the singleton instance of theMonitoringControlleras controller. -
OperationExecutionSOAPResponseOutInterceptor
Creates a new instance of this class, using the given instance of aMonitoringControlleras controller.- Parameters:
monitoringCtrl- The controller of this interceptor.
-
-
Method Details
-
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage msg) throws org.apache.cxf.interceptor.Fault- Specified by:
handleMessagein interfaceorg.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>- Overrides:
handleMessagein classorg.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor- Throws:
org.apache.cxf.interceptor.Fault
-