public class ExplicitCamelContextNameStrategy extends Object implements CamelContextNameStrategy
CamelContext
.Constructor and Description |
---|
ExplicitCamelContextNameStrategy(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name
The
CamelContextNameStrategy.isFixedName() determines if the name can be re-calculated such as when using a counter,
or the name is always fixed. |
String |
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.
|
public ExplicitCamelContextNameStrategy(String name)
public String getName()
CamelContextNameStrategy
CamelContextNameStrategy.isFixedName()
determines if the name can be re-calculated such as when using a counter,
or the name is always fixed.getName
in interface CamelContextNameStrategy
public String getNextName()
CamelContextNameStrategy
CamelContextNameStrategy.isFixedName()
determines if the name can be re-calculated such as when using a counter,
or the name is always fixed.getNextName
in interface CamelContextNameStrategy
public boolean isFixedName()
CamelContextNameStrategy
isFixedName
in interface CamelContextNameStrategy
Apache Camel