Implementing classes provide access to all RM headers on Inbound and
Outbound messages in JAX-WS pipeline and provide a way to simulate dropped
requests and responses in a JAX-WS client.
Each method takes a com.sun.xml.ws.rm.Message argument. The RM headers
can be accessed using the getSequenceElement, getAckRequestedElement and
getSequenceAcknowledgement methods, which return com.sun.xml.ws.rm.protocol
objects.
The return values of handleClientRequestMessage and
handleEndpointResponseMessage methods determine whether the request or response messages
message should be processed or "lost".
The RM system will look for the name of a class that implements
ProcessingFilter by calling the static method:
ProcessingFilter com.sun.xml.rm.jaxws.runtime.RMProvider.getProcessingFilter().
If non-null, the returned ProcessingFilter will be used. The instance of ProcessingFilter
can be set by a test application using the static method:
void com.sun.xml.rm.jaxws.runtime.RMProvider.setProcessingFilter(ProcessingFilter filter); |