Interface IdAware
- All Superinterfaces:
HasId
- All Known Subinterfaces:
CamelClusterService, CamelPreemptiveClusterService, DevConsoleRegistry, HealthCheckRegistry, ProcessorExchangeFactory
Marker for an object whose id can be injected, such as EIP
Processors created from Camel
routes.
Camel assigns the id (explicit or auto-generated) so it is available at runtime, which makes it easier to map the
object back to its corresponding model definition. Extends HasId to add the ability to set the id.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidsetGeneratedId(String id) Sets the id which has been auto generatedvoidSets the id
-
Method Details
-
setId
-
setGeneratedId
Sets the id which has been auto generated- Parameters:
id- the auto generated id
-