Package org.apache.camel.spi
Interface IdAware
-
- All Superinterfaces:
HasId
- All Known Subinterfaces:
CamelClusterService
,CamelPreemptiveClusterService
,DevConsoleRegistry
,HealthCheckRegistry
,ProcessorExchangeFactory
,ServiceRegistry
public interface IdAware extends HasId
To allow objects to be injected with an id, such as EIPProcessor
s 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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
setGeneratedId(String id)
Sets the id which has been auto generatedvoid
setId(String id)
Sets the id
-