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.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Ross Mason
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 java.lang.String getBeforeExpressions()
setBeforeExpressions
public void setBeforeExpressions(java.lang.String beforeExpressions)
getAfterExpression
public java.lang.String getAfterExpression()
setAfterExpression
public void setAfterExpression(java.lang.String afterExpression)
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.