public class InvocationEngine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
InvocationEngine() |
Modifier and Type | Method and Description |
---|---|
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(InvocationContext ic,
Message m)
Entry point into user-configured circuits, to be called by the relevant listener Plugin.
|
public static final java.lang.String PROP_FAILURE_REASON
public static boolean invokeCircuit(Circuit circuit, java.lang.Object context, Message m) throws CircuitAbortException
CircuitAbortException
public static final boolean invokeFilter(Circuit circuit, MessageProcessor node, Message message, MessageProcessor caller, java.lang.Object context) throws CircuitAbortException
CircuitAbortException
public static boolean invokeFaultHandler(Circuit circuit, CircuitAbortException fault, Message m, MessageProcessor faultHandler) throws CircuitAbortException
CircuitAbortException
public static int processMessage(InvocationContext ic, Message m)
InvocationContext
- The circuits and fault handler to be called if no other fault handler takes
responsibility for a CircuitAbortExceptionm
- The message to be processed
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel