Package org.apache.camel.spi
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 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 Modifier and Type Method Description void
setId(String id)
Sets the id
-
-
-
Method Detail
-
setId
void setId(String id)
Sets the id- Parameters:
id
- the id
-
-