Interface IdAware

  • All Superinterfaces:
    HasId
    All Known Subinterfaces:
    CamelClusterService, HealthCheckRegistry, ServiceRegistry

    public interface IdAware
    extends HasId
    To allow objects to be injected with an id, such as EIP Processors which has been defined from Camel routes.

    This allows access to the id of the processor at runtime, which makes it easier to map it to the corresponding model definition.

    • Method Detail

      • setId

        void setId​(String id)
        Sets the id
        Parameters:
        id - the id