Package org.apache.camel.spi
Interface CamelContextNameStrategy
public interface CamelContextNameStrategy
Strategy for assigning name to a
CamelContext
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the nameGets the next calculated name, if this strategy is not using fixed names.boolean
Whether the name will be fixed, or allow re-calculation such as by using an unique counter.
-
Method Details
-
getName
String getName()Gets the name TheisFixedName()
determines if the name can be re-calculated such as when using a counter, or the name is always fixed.- Returns:
- the name.
-
getNextName
String getNextName()Gets the next calculated name, if this strategy is not using fixed names. TheisFixedName()
determines if the name can be re-calculated such as when using a counter, or the name is always fixed.- Returns:
- the next name
-
isFixedName
boolean isFixedName()Whether the name will be fixed, or allow re-calculation such as by using an unique counter.- Returns:
- true for fixed names, false for names which can re-calculated
-