org.apache.camel.cdi.internal
Class CamelFactory
java.lang.Object
org.apache.camel.cdi.internal.CamelFactory
public class CamelFactory
- extends Object
produces Endpoint
and ProducerTemplate
instances for injection into beans
Method Summary |
org.apache.camel.Endpoint |
createEndpoint(javax.enterprise.inject.spi.InjectionPoint point)
|
org.apache.camel.component.mock.MockEndpoint |
createMockEndpoint(javax.enterprise.inject.spi.InjectionPoint point)
|
org.apache.camel.ProducerTemplate |
createProducerTemplate(javax.enterprise.inject.spi.InjectionPoint point)
|
protected org.apache.camel.CamelContext |
getCamelContext(javax.enterprise.inject.spi.InjectionPoint point,
String contextName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelFactory
public CamelFactory()
createMockEndpoint
@Produces
public org.apache.camel.component.mock.MockEndpoint createMockEndpoint(javax.enterprise.inject.spi.InjectionPoint point)
createEndpoint
@Produces
public org.apache.camel.Endpoint createEndpoint(javax.enterprise.inject.spi.InjectionPoint point)
createProducerTemplate
@Produces
public org.apache.camel.ProducerTemplate createProducerTemplate(javax.enterprise.inject.spi.InjectionPoint point)
getCamelContext
protected org.apache.camel.CamelContext getCamelContext(javax.enterprise.inject.spi.InjectionPoint point,
String contextName)
Apache Camel