Interface InterceptableComponent
- All Superinterfaces:
AutoCloseable
,CamelContextAware
,Component
,Service
- All Known Implementing Classes:
CustomFhirComponent
,CustomMllpComponent
,FhirComponent
,FhirComponentWithOptions
,Iti105Component
,Iti10Component
,Iti21Component
,Iti22Component
,Iti30Component
,Iti31Component
,Iti64Component
,Iti65Component
,Iti66Component
,Iti67Component
,Iti68BinaryComponent
,Iti68Component
,Iti78Component
,Iti81Component
,Iti83Component
,Iti8Component
,Iti9Component
,MllpComponent
,MllpDispatchComponent
,MllpTransactionComponent
,Pcc44Component
,Pharm5Component
Abstract base class for components that use the Interceptor framework defined in this module
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<Interceptor>
Returns a list of component-specific (i.e.default List<Interceptor>
Returns a list of component-specific (i.e.Methods inherited from interface org.apache.camel.CamelContextAware
getCamelContext, setCamelContext
Methods inherited from interface org.apache.camel.Component
createEndpoint, createEndpoint, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, isAutowiredEnabled, useRawUri
-
Method Details
-
getAdditionalConsumerInterceptors
Returns a list of component-specific (i.e. transaction-specific) interceptors which will be integrated into the interceptor chain of each consumer instance created by this component. Per default returns an empty list.
When overwriting this method, please note:- Neither the returned list nor any element of it
are allowed to be
null
. - Each invocation should return freshly created instances of interceptors (like prototype-scope beans in Spring), because interceptors cannot be reused by multiple endpoints.
- Returns:
- a list of component-specific (i.e. transaction-specific) FHIR interceptors
- Neither the returned list nor any element of it
are allowed to be
-
getAdditionalProducerInterceptors
Returns a list of component-specific (i.e. transaction-specific) FHIR interceptors which will be integrated into the interceptor chain of each producer instance created by this component. Per default returns an empty list.
When overwriting this method, please note:- Neither the returned list nor any element of it
are allowed to be
null
. - Each invocation should return freshly created instances of interceptors (like prototype-scope beans in Spring), because interceptors cannot be reused by multiple endpoints.
- Returns:
- a list of component-specific (i.e. transaction-specific) FHIR interceptors
- Neither the returned list nor any element of it
are allowed to be
-