org.mule.interceptors
Class JXPathNormalizerInterceptor
java.lang.Object
org.mule.interceptors.MessageNormalizerInterceptor
org.mule.interceptors.JXPathNormalizerInterceptor
- All Implemented Interfaces:
- org.mule.umo.UMOInterceptor
- public class JXPathNormalizerInterceptor
- extends org.mule.interceptors.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.
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
| Methods inherited from class org.mule.interceptors.MessageNormalizerInterceptor |
getOriginalPayload, intercept, setOriginalPayload |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JXPathNormalizerInterceptor
public JXPathNormalizerInterceptor()
before
public org.mule.umo.UMOMessage before(org.mule.umo.Invocation invocation)
throws org.mule.umo.UMOException
- This method is invoked before the event is processed
- Parameters:
invocation - the message invocation being processed
- Throws:
org.mule.umo.UMOException
after
public org.mule.umo.UMOMessage after(org.mule.umo.Invocation invocation)
throws org.mule.umo.UMOException
- This method is invoked after the event has been processed
- Parameters:
invocation - the message invocation being processed
- Throws:
org.mule.umo.UMOException
getBeforeExpressions
public String getBeforeExpressions()
setBeforeExpressions
public void setBeforeExpressions(String beforeExpressions)
getAfterExpression
public String getAfterExpression()
setAfterExpression
public void setAfterExpression(String afterExpression)
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.