| |
|
| org.apache.cxf.clustering.FailoverTargetSelector
FailoverTargetSelector | public class FailoverTargetSelector extends AbstractConduitSelector (Code) | | Implements a target selection strategy based on failover to an
alternate target endpoint when a transport level failure is
encountered.
|
Method Summary | |
public void | complete(Exchange exchange) Called on completion of the MEP for which the Conduit was required. | protected Logger | getLogger() | public synchronized FailoverStrategy | getStrategy() | public synchronized void | prepare(Message message) Called prior to the interceptor chain being traversed. | public Conduit | selectConduit(Message message) Called when a Conduit is actually required. | public synchronized void | setStrategy(FailoverStrategy strategy) |
FailoverTargetSelector | public FailoverTargetSelector()(Code) | | Normal constructor.
|
FailoverTargetSelector | public FailoverTargetSelector(Conduit c)(Code) | | Constructor, allowing a specific conduit to override normal selection.
Parameters: c - specific conduit |
complete | public void complete(Exchange exchange)(Code) | | Called on completion of the MEP for which the Conduit was required.
Parameters: exchange - represents the completed MEP |
getLogger | protected Logger getLogger()(Code) | | the logger to use |
getStrategy | public synchronized FailoverStrategy getStrategy()(Code) | | strategy the FailoverStrategy to use |
prepare | public synchronized void prepare(Message message)(Code) | | Called prior to the interceptor chain being traversed.
Parameters: message - the current Message |
selectConduit | public Conduit selectConduit(Message message)(Code) | | Called when a Conduit is actually required.
Parameters: message - the Conduit to use for mediation of the message |
setStrategy | public synchronized void setStrategy(FailoverStrategy strategy)(Code) | | Parameters: strategy - the FailoverStrategy to use |
|
|
|