public interface InterceptableEndpoint<ConfigType extends InterceptableEndpointConfiguration,ComponentType extends InterceptableComponent>
extends org.apache.camel.Endpoint
Modifier and Type | Method and Description |
---|---|
default org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor originalProcessor)
Default implementation that creates a consumer by calling
doCreateConsumer(Processor)
and weaves in configured interceptor processors to be executed before calling the first
processor in the consumer route. |
List<Interceptor> |
createInitialConsumerInterceptorChain() |
List<Interceptor> |
createInitialProducerInterceptorChain() |
default org.apache.camel.Producer |
createProducer()
Default implementation that creates a producer by calling
doCreateProducer()
and weaves in configured interceptor processors to be executed before reaching out
for the target |
org.apache.camel.Consumer |
doCreateConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
doCreateProducer() |
default List<Interceptor> |
getCustomInterceptors()
Returns a list of endpoint-specific custom interceptors from
getInterceptableConfiguration() |
ComponentType |
getInterceptableComponent() |
ConfigType |
getInterceptableConfiguration() |
default org.apache.camel.Producer createProducer() throws Exception
doCreateProducer()
and weaves in configured interceptor processors to be executed before reaching out
for the targetcreateProducer
in interface org.apache.camel.Endpoint
Exception
default org.apache.camel.Consumer createConsumer(org.apache.camel.Processor originalProcessor) throws Exception
doCreateConsumer(Processor)
and weaves in configured interceptor processors to be executed before calling the first
processor in the consumer route.createConsumer
in interface org.apache.camel.Endpoint
originalProcessor
- processor for handling the consumed requestException
default List<Interceptor> getCustomInterceptors()
getInterceptableConfiguration()
org.apache.camel.Producer doCreateProducer() throws Exception
Exception
org.apache.camel.Consumer doCreateConsumer(org.apache.camel.Processor processor) throws Exception
Exception
ComponentType getInterceptableComponent()
ConfigType getInterceptableConfiguration()
List<Interceptor> createInitialConsumerInterceptorChain()
List<Interceptor> createInitialProducerInterceptorChain()
Copyright © 2018 Open eHealth Foundation. All rights reserved.