public class DefaultNodeIdFactory extends Object implements org.apache.camel.spi.NodeIdFactory
| Modifier and Type | Field and Description | 
|---|---|
protected static Map<String,AtomicInteger> | 
nodeCounters  | 
| Constructor and Description | 
|---|
DefaultNodeIdFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
createId(org.apache.camel.NamedNode definition)  | 
protected static AtomicInteger | 
getNodeCounter(String key)
Returns the counter for the given node key, lazily creating one if necessary 
 | 
protected static void | 
resetAllCounters()
Helper method for test purposes that allows tests to start clean (made protected 
  to ensure that it is not called accidentally) 
 | 
protected static Map<String,AtomicInteger> nodeCounters
public String createId(org.apache.camel.NamedNode definition)
createId in interface org.apache.camel.spi.NodeIdFactoryprotected static AtomicInteger getNodeCounter(String key)
protected static void resetAllCounters()
Apache Camel