public class CircuitChainProcessor extends DelegatingProcessor
Modifier and Type | Field and Description |
---|---|
protected CircuitDelegateFilter |
cdf |
protected java.util.Map<java.lang.String,CircuitDelegateProcessor> |
cdps |
logMask, logMaskType
Constructor and Description |
---|
CircuitChainProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
addCircuitProcessor(com.vordel.config.ConfigContext ctx, CircuitReference cr) |
void |
attach(com.vordel.config.ConfigContext ctx, CircuitChainFilter filter) |
protected boolean |
callCircuit(com.vordel.config.Circuit ci, CircuitReference cr, Message m) |
void |
filterAttached(com.vordel.config.ConfigContext ctx, com.vordel.es.Entity entity)
Called on a filter's container when the filter is configured.
|
boolean |
invoke(com.vordel.config.Circuit c, Message m)
invoked by circuit to act on a message
|
callCircuit, callCircuit, getCDProc, getCDProc
filterDetached, getCategory, getFilterMessage, getLogMask, logFailure, logFatal, logMessagePayload, logSuccess, report, report, toString
configureFilter, createFilterContainer, getFilter, setFilter
protected CircuitDelegateFilter cdf
protected java.util.Map<java.lang.String,CircuitDelegateProcessor> cdps
public void filterAttached(com.vordel.config.ConfigContext ctx, com.vordel.es.Entity entity) throws com.vordel.es.EntityStoreException
FilterContainerImpl
filterAttached
in class MessageProcessor
ctx
- configuration context for the filter attached to this container.com.vordel.es.EntityStoreException
public void attach(com.vordel.config.ConfigContext ctx, CircuitChainFilter filter)
public boolean invoke(com.vordel.config.Circuit c, Message m) throws CircuitAbortException
MessageProcessor
invoke
in class MessageProcessor
c
- The Circuit contextm
- The messageCircuitAbortException
protected void addCircuitProcessor(com.vordel.config.ConfigContext ctx, CircuitReference cr) throws com.vordel.es.EntityStoreException
com.vordel.es.EntityStoreException
protected boolean callCircuit(com.vordel.config.Circuit ci, CircuitReference cr, Message m) throws CircuitAbortException
CircuitAbortException
This documentation and all its contents and graphics, copyright � 1999 - 2011 Vordel