public class ConsumerInjection<I> extends org.apache.camel.impl.CamelPostProcessorHelper implements MethodHandler<I,org.apache.camel.Consume>
Constructor and Description |
---|
ConsumerInjection() |
Modifier and Type | Method and Description |
---|---|
void |
afterInjection(I injectee,
org.apache.camel.Consume consume,
Method method)
Process the given method which is annotated with the annotation on the
injectee after the injectee has been injected
|
org.apache.camel.CamelContext |
getCamelContext() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
consumerInjection, createConsumerProcessor, createInjectionConsumerTemplate, createInjectionPollingConsumer, createInjectionProducer, createInjectionProducerTemplate, createProxyInstantiationRuntimeException, getEndpointInjection, getInjectionBeanValue, getInjectionPropertyValue, getInjectionValue, isSingleton, matchContext, startService, subscribeMethod
public void afterInjection(I injectee, org.apache.camel.Consume consume, Method method) throws InvocationTargetException, IllegalAccessException
MethodHandler
afterInjection
in interface MethodHandler<I,org.apache.camel.Consume>
InvocationTargetException
IllegalAccessException
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
getCamelContext
in class org.apache.camel.impl.CamelPostProcessorHelper
@Inject public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
setCamelContext
in class org.apache.camel.impl.CamelPostProcessorHelper
Apache Camel