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()
CamelContextNameStrategyCamelContextNameStrategy.isFixedName() determines if the name can be re-calculated such as when using a counter,
or the name is always fixed.getName in interface CamelContextNameStrategypublic String getNextName()
CamelContextNameStrategyCamelContextNameStrategy.isFixedName() determines if the name can be re-calculated such as when using a counter,
or the name is always fixed.getNextName in interface CamelContextNameStrategypublic boolean isFixedName()
CamelContextNameStrategyisFixedName in interface CamelContextNameStrategyApache Camel