org.mule.api.processor.policy
Class PolicyInvocation
java.lang.Object
org.mule.api.processor.policy.PolicyInvocation
public class PolicyInvocation
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyInvocation
public PolicyInvocation(MuleEvent event,
List<AroundPolicy> policies,
MessageProcessor processor)
proceed
public MuleEvent proceed()
throws MuleException
- Proceed using the current event.
- Throws:
MuleException
- See Also:
setEvent(org.mule.api.MuleEvent)
getEvent
public MuleEvent getEvent()
setEvent
public void setEvent(MuleEvent event)
- Replace the event object completely. Note that most of the time it's enough to simply
modify the event without any rewriting.
- See Also:
getEvent()
getCurrentPolicy
public AroundPolicy getCurrentPolicy()
- Returns:
- policy at the current index in the list
getMessageProcessor
public MessageProcessor getMessageProcessor()
getPolicies
public List<AroundPolicy> getPolicies()
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.