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

public interface InterceptableComponent extends Component
Abstract base class for components that use the Interceptor framework defined in this module
Since:
3.1
  • Method Details

    • getAdditionalConsumerInterceptors

      default List<Interceptor> 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
    • getAdditionalProducerInterceptors

      default List<Interceptor> 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