Package org.apache.camel.spi
Interface CamelContextNameStrategy
-
public interface CamelContextNameStrategy
Strategy for assigning name to aCamelContext
.- See Also:
ManagementNameStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Gets the nameString
getNextName()
Gets the next calculated name, if this strategy is not using fixed names.boolean
isFixedName()
Whether the name will be fixed, or allow re-calculation such as by using an unique counter.
-
-
-
Method Detail
-
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
-
-