Package org.apache.camel.spi
Interface IdAware
- All Superinterfaces:
HasId
- All Known Subinterfaces:
CamelClusterService,CamelPreemptiveClusterService,DevConsoleRegistry,HealthCheckRegistry,ProcessorExchangeFactory,ServiceRegistry
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 Summary
Modifier and TypeMethodDescriptiondefault voidsetGeneratedId(String id) Sets the id which has been auto generatedvoidSets the id
-
Method Details
-
setId
Sets the id- Parameters:
id- the id
-
setGeneratedId
Sets the id which has been auto generated- Parameters:
id- the auto generated id
-