com.vordel.circuit
Class InvocationEngine
java.lang.Object
com.vordel.circuit.InvocationEngine
public class InvocationEngine
- extends java.lang.Object
Field Summary |
static java.lang.String |
PROP_FAILURE_REASON
The failure reason from the failing Filter, or the name of the failing Filter if no reason is set. |
Method Summary |
static boolean |
invokeCircuit(Circuit circuit,
java.lang.Object context,
Message m)
|
static boolean |
invokeFaultHandler(Circuit circuit,
CircuitAbortException fault,
Message m,
MessageProcessor faultHandler)
|
static boolean |
invokeFilter(Circuit circuit,
MessageProcessor node,
Message message,
MessageProcessor caller,
java.lang.Object context)
|
static int |
processMessage(Circuit circuit,
Message m,
MessageProcessor lastChanceHandler,
java.lang.Object context)
Entry point into user-configured circuits, to be called by the relevant listener Plugin. |
static boolean |
recordCircuitPath(java.lang.Object context,
Message m)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_FAILURE_REASON
public static final java.lang.String PROP_FAILURE_REASON
- The failure reason from the failing Filter, or the name of the failing Filter if no reason is set.
- See Also:
- Constant Field Values
InvocationEngine
public InvocationEngine()
recordCircuitPath
public static boolean recordCircuitPath(java.lang.Object context,
Message m)
invokeCircuit
public static boolean invokeCircuit(Circuit circuit,
java.lang.Object context,
Message m)
throws CircuitAbortException
- Throws:
CircuitAbortException
invokeFilter
public static final boolean invokeFilter(Circuit circuit,
MessageProcessor node,
Message message,
MessageProcessor caller,
java.lang.Object context)
throws CircuitAbortException
- Throws:
CircuitAbortException
invokeFaultHandler
public static boolean invokeFaultHandler(Circuit circuit,
CircuitAbortException fault,
Message m,
MessageProcessor faultHandler)
throws CircuitAbortException
- Throws:
CircuitAbortException
processMessage
public static int processMessage(Circuit circuit,
Message m,
MessageProcessor lastChanceHandler,
java.lang.Object context)
- Entry point into user-configured circuits, to be called by the relevant listener Plugin.
- Parameters:
m
- The message to be processedlastChanceHandler
- The fault handler to call if no other fault handler takes responsibility for a
CircuitAbortException
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel