public class OsgiCamelContextNameStrategy extends Object implements org.apache.camel.spi.CamelContextNameStrategy
CamelContextNameStrategy
that finds a free name in the
OSGi Service Registry to be used for auto assigned names.
If there is a name clash in the OSGi registry, then a new candidate name is used by appending
a unique counter.Constructor and Description |
---|
OsgiCamelContextNameStrategy(org.osgi.framework.BundleContext context) |
public OsgiCamelContextNameStrategy(org.osgi.framework.BundleContext context)
public String getName()
getName
in interface org.apache.camel.spi.CamelContextNameStrategy
public String getNextName()
getNextName
in interface org.apache.camel.spi.CamelContextNameStrategy
public boolean isFixedName()
isFixedName
in interface org.apache.camel.spi.CamelContextNameStrategy
Apache Camel