LibraryToggle FramesPrintFeedback

Figure 4.1 shows the process flow through an interceptor.


In normal message processing, only the handleMessage() method is called. The handleMessage() method is where the interceptor's message processing logic is placed.

If an error occurs in the handleMessage() method of the interceptor, or any subsequent interceptor in the interceptor chain, the handleFault() method is called. The handleFault() method is useful for cleaning up after an interceptor in the event of an error. It can also be used to alter the fault message.

Comments powered by Disqus