Kieker 1.9

kieker.monitoring.probe.cxf
Class OperationExecutionSOAPResponseOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
      extended by org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
          extended by org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor
              extended by 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
static String SIGNATURE
          This constant contains the signature, which will be used in the monitoring logs.
 
Fields inherited from class org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor
INSTANCE
 
Constructor Summary
OperationExecutionSOAPResponseOutInterceptor()
          Creates a new instance of this class, using the singleton instance of the MonitoringController as controller.
OperationExecutionSOAPResponseOutInterceptor(IMonitoringController monitoringCtrl)
          Creates a new instance of this class, using the given instance of a MonitoringController as controller.
 
Method Summary
 void handleMessage(org.apache.cxf.binding.soap.SoapMessage msg)
           
 
Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getRoles, getUnderstoodHeaders
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, setAfter, setBefore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault
 

Field Detail

SIGNATURE

public static final String SIGNATURE
This constant contains the signature, which will be used in the monitoring logs.

Constructor Detail

OperationExecutionSOAPResponseOutInterceptor

public OperationExecutionSOAPResponseOutInterceptor()
Creates a new instance of this class, using the singleton instance of the MonitoringController as controller.


OperationExecutionSOAPResponseOutInterceptor

public OperationExecutionSOAPResponseOutInterceptor(IMonitoringController monitoringCtrl)
Creates a new instance of this class, using the given instance of a MonitoringController as controller.

Parameters:
monitoringCtrl - The controller of this interceptor.
Method Detail

handleMessage

public void handleMessage(org.apache.cxf.binding.soap.SoapMessage msg)
                   throws org.apache.cxf.interceptor.Fault
Specified by:
handleMessage in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
Overrides:
handleMessage in class org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor
Throws:
org.apache.cxf.interceptor.Fault

Kieker 1.9

Copyright 2014 Kieker Project, http://kieker-monitoring.net