public class ExchangeStoreInterceptor extends AbstractInterceptor
Interceptor.Flowid, name, router| Constructor and Description |
|---|
ExchangeStoreInterceptor() |
ExchangeStoreInterceptor(ExchangeStore exchangeStore) |
| Modifier and Type | Method and Description |
|---|---|
ExchangeStore |
getExchangeStore() |
String |
getExchangeStoreBeanId() |
String |
getShortDescription() |
protected Outcome |
handle(Exchange exc,
Interceptor.Flow flow) |
void |
handleAbort(Exchange exc)
Called when any
Interceptor.handleRequest(Exchange) or
Interceptor.handleResponse(Exchange) later in the chain returned
Outcome.ABORT or threw an exception. |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
void |
init()
Called after parsing is complete and this has been added to the object tree (whose root is Router).
|
void |
setExchangeStore(ExchangeStore exchangeStore) |
void |
setExchangeStoreBeanId(String exchangeStoreBeanId)
Deprecated.
use
setExchangeStore(ExchangeStore) instead: Using
setExchangeStoreBeanId(String) from Spring works,
but does not create a Spring bean dependency. |
getDisplayName, getFlow, getHelpId, getId, getLongDescription, getRouter, getRule, init, setDisplayName, setFlow, setIdpublic ExchangeStoreInterceptor()
public ExchangeStoreInterceptor(ExchangeStore exchangeStore) throws Exception
Exceptionpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionpublic void handleAbort(Exchange exc)
InterceptorInterceptor.handleRequest(Exchange) or
Interceptor.handleResponse(Exchange) later in the chain returned
Outcome.ABORT or threw an exception.
handleAbort is called in the reverse order of the chain (as
handleResponse is).handleAbort in interface InterceptorhandleAbort in class AbstractInterceptorprotected Outcome handle(Exchange exc, Interceptor.Flow flow)
public ExchangeStore getExchangeStore()
public void setExchangeStore(ExchangeStore exchangeStore)
public String getExchangeStoreBeanId()
@Deprecated public void setExchangeStoreBeanId(String exchangeStoreBeanId)
setExchangeStore(ExchangeStore) instead: Using
setExchangeStoreBeanId(String) from Spring works,
but does not create a Spring bean dependency.public void init()
throws Exception
AbstractInterceptorinit in class AbstractInterceptorExceptionpublic String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorCopyright © 2022. All Rights Reserved.