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.Processor | getAfter() | 
| org.apache.camel.Processor | getBefore() | 
| org.apache.camel.CamelContext | getCamelContext() | 
| String | getEndpointBaseUri() | 
| String | getEndpointKey() | 
| String | getEndpointUri() | 
| org.apache.camel.Endpoint | getOriginalEndpoint() | 
| boolean | isLenientProperties() | 
| boolean | isSingleton() | 
| boolean | isSkip() | 
| void | setAfter(org.apache.camel.Processor after) | 
| void | setBefore(org.apache.camel.Processor before) | 
| void | setCamelContext(org.apache.camel.CamelContext context) | 
| void | setSkip(boolean skip) | 
| 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 setBefore(org.apache.camel.Processor before)
public void setAfter(org.apache.camel.Processor after)
public void setSkip(boolean skip)
public org.apache.camel.Processor getBefore()
getBefore in interface org.apache.camel.spi.InterceptSendToEndpointpublic org.apache.camel.Processor getAfter()
getAfter 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 getEndpointBaseUri()
getEndpointBaseUri 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()
start in interface org.apache.camel.Servicepublic void stop()
stop in interface org.apache.camel.Servicepublic void shutdown()
shutdown in interface org.apache.camel.ShutdownableServiceApache Camel