Interface EndpointAware

All Known Subinterfaces:
AsyncProducer, BatchConsumer, Consumer, DynamicPollingConsumer, PollingConsumer, Producer

public interface EndpointAware
Implemented by objects that are associated with a specific Endpoint, such as a Producer sending to an endpoint or a Consumer reading from one.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the endpoint associated with an object.
  • Method Details

    • getEndpoint

      Endpoint getEndpoint()
      Gets the endpoint associated with an object. It's the endpoint for sending to for components like Producer or for consuming from for components like Consumer or Route
      Returns:
      the endpoint