public class DefaultInterceptSendToEndpoint extends Object implements org.apache.camel.spi.InterceptSendToEndpoint, org.apache.camel.ShutdownableService
| Constructor and Description |
|---|
DefaultInterceptSendToEndpoint(org.apache.camel.Endpoint destination,
boolean skip)
Intercepts sending to the given endpoint
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureProperties(Map<String,Object> options) |
org.apache.camel.AsyncProducer |
createAsyncProducer() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Exchange |
createExchange() |
org.apache.camel.Exchange |
createExchange(org.apache.camel.ExchangePattern pattern) |
org.apache.camel.PollingConsumer |
createPollingConsumer() |
org.apache.camel.Producer |
createProducer() |
org.apache.camel.CamelContext |
getCamelContext() |
org.apache.camel.Processor |
getDetour() |
String |
getEndpointKey() |
String |
getEndpointUri() |
org.apache.camel.Endpoint |
getOriginalEndpoint() |
boolean |
isLenientProperties() |
boolean |
isSingleton() |
boolean |
isSkip() |
void |
setCamelContext(org.apache.camel.CamelContext context) |
void |
setDetour(org.apache.camel.Processor detour) |
void |
shutdown() |
void |
start() |
void |
stop() |
String |
toString() |
public DefaultInterceptSendToEndpoint(org.apache.camel.Endpoint destination, boolean skip)
destination - the original endpointskip - true to skip sending after the detour to the original endpointpublic void setDetour(org.apache.camel.Processor detour)
public org.apache.camel.Processor getDetour()
getDetour in interface org.apache.camel.spi.InterceptSendToEndpointpublic org.apache.camel.Endpoint getOriginalEndpoint()
getOriginalEndpoint in interface org.apache.camel.spi.InterceptSendToEndpointpublic boolean isSkip()
isSkip in interface org.apache.camel.spi.InterceptSendToEndpointpublic String getEndpointUri()
getEndpointUri in interface org.apache.camel.Endpointpublic String getEndpointKey()
getEndpointKey in interface org.apache.camel.Endpointpublic org.apache.camel.Exchange createExchange()
createExchange in interface org.apache.camel.Endpointpublic org.apache.camel.Exchange createExchange(org.apache.camel.ExchangePattern pattern)
createExchange in interface org.apache.camel.Endpointpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.Endpointpublic org.apache.camel.Producer createProducer() throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.AsyncProducer createAsyncProducer() throws Exception
createAsyncProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.PollingConsumer createPollingConsumer() throws Exception
createPollingConsumer in interface org.apache.camel.EndpointExceptionpublic void configureProperties(Map<String,Object> options)
configureProperties in interface org.apache.camel.Endpointpublic void setCamelContext(org.apache.camel.CamelContext context)
setCamelContext in interface org.apache.camel.Endpointpublic boolean isLenientProperties()
isLenientProperties in interface org.apache.camel.Endpointpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic void start() throws Exception
start in interface org.apache.camel.ServiceExceptionpublic void stop() throws Exception
stop in interface org.apache.camel.ServiceExceptionpublic void shutdown() throws Exception
shutdown in interface org.apache.camel.ShutdownableServiceExceptionApache Camel