Interface DelegateEndpoint

All Superinterfaces:
AutoCloseable, ComponentAware, Endpoint, IsSingleton, Service

public interface DelegateEndpoint extends Endpoint
An Endpoint that delegates all operations to another underlying Endpoint, following the Decorator pattern.

Implementations use this interface to wrap an existing endpoint to modify, intercept, or enrich its behaviour without changing the endpoint URI visible to the rest of the routing engine.

See Also:
  • Method Details

    • getEndpoint

      Endpoint getEndpoint()
      Gets the delegated Endpoint.
      Returns:
      the Endpoint we delegate to