Interface HasId

All Known Subinterfaces:
CamelClusterMember, CamelClusterService, CamelPreemptiveClusterService, DevConsoleRegistry, HealthCheck, HealthCheckRegistry, HealthCheckRepository, IdAware, ProcessorExchangeFactory, WritableHealthCheckRepository

public interface HasId
Marker for an object that exposes a unique id, useful for referencing it in REST, JMX, and tooling APIs.

Many Camel runtime objects (routes, processors, services) carry an id so they can be looked up, managed, and correlated back to their model definition. IdAware extends this to also allow the id to be set.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the id
  • Method Details

    • getId

      String getId()
      Returns the id
      Returns:
      the id