Chapter 56. Implementing the Interceptors Processing Logic
handleMessage()method. This method receives the message data and manipulates it as needed. Developers may also want to add some special logic to handle fault processing cases.
56.1. Interceptor Flow
Figure 56.1. Flow through an interceptor
handleMessage()method is called. The
handleMessage()method is where the interceptor's message processing logic is placed.
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.