Interface DelegateProcessor

All Superinterfaces:
Processor

public interface DelegateProcessor extends Processor
A Processor that wraps another Processor and delegates Exchange processing to it, following the Decorator pattern.

Implementations use this interface to intercept, modify, or enrich exchanges before and after they are forwarded to the delegate processor.

See Also:
  • Method Details

    • getProcessor

      @Nullable Processor getProcessor()
      Gets the delegated Processor.
      Returns:
      the processor we delegate to, or null if the delegate has not been initialized yet