org.mule.interceptors
Class JXPathNormalizerInterceptor
java.lang.Object
org.mule.interceptors.MessageNormalizerInterceptor
org.mule.interceptors.JXPathNormalizerInterceptor
- All Implemented Interfaces:
- UMOInterceptor
- public class JXPathNormalizerInterceptor
- extends MessageNormalizerInterceptor
JXPathNormalizerInterceptor
can be used as a simple pre/post
message transformer for a given component.
Users can set JXPath expressions
to execute before and after the component reeives the event. The
beforeExpressions can be a single expression or a comma separated list of
expressions, each of which result in an object that will be used as an argument to
the method called on the component. The afterExpression is a single
expression that will be used to set a value on the orginal payload.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JXPathNormalizerInterceptor
public JXPathNormalizerInterceptor()
before
public UMOMessage before(Invocation invocation)
throws UMOException
- This method is invoked before the event is processed
- Specified by:
before
in class MessageNormalizerInterceptor
- Parameters:
invocation
- the message invocation being processed
- Throws:
UMOException
after
public UMOMessage after(Invocation invocation)
throws UMOException
- This method is invoked after the event has been processed
- Specified by:
after
in class MessageNormalizerInterceptor
- Parameters:
invocation
- the message invocation being processed
- Throws:
UMOException
getBeforeExpressions
public String getBeforeExpressions()
setBeforeExpressions
public void setBeforeExpressions(String beforeExpressions)
getAfterExpression
public String getAfterExpression()
setAfterExpression
public void setAfterExpression(String afterExpression)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.