org.apache.camel.cdi.internal
Class CamelContextMap
java.lang.Object
org.apache.camel.cdi.internal.CamelContextMap
@ApplicationScoped
public class CamelContextMap
- extends Object
A helper class to be able to resolve CamelContext instances by their name
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelContextMap
public CamelContextMap()
start
@PostConstruct
public void start()
getCamelContext
public org.apache.camel.CamelContext getCamelContext(String name)
- Returns the
CamelContext
for the given context name
getMandatoryCamelContext
public org.apache.camel.CamelContext getMandatoryCamelContext(String contextName)
- Returns the CamelContext for the given name or throw an exception
getCamelContextMap
public Map<String,org.apache.camel.CamelContext> getCamelContextMap()
Apache Camel