public interface Interceptor extends InterceptingMessageProcessor
Interceptor
is based on a similar concept of servlet filters and
works much the same way. This method is more commonally known as the interceptor
pattern and it allows for pre and processing of invocations on the object being
intercepted.Modifier and Type | Method and Description |
---|---|
MuleEvent |
process(MuleEvent event)
Invoked when the component should be called.
|
setListener
MuleEvent process(MuleEvent event) throws MuleException
process
in interface MessageProcessor
event
- the event containing info about the current message and serviceMuleException
- if the invocation failsCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.