Search in sources :

Example 21 with PollingConsumer

use of org.apache.camel.PollingConsumer in project camel by apache.

the class ProcessorEndpoint method createPollingConsumer.

@Override
public PollingConsumer createPollingConsumer() throws Exception {
    PollingConsumer answer = new ProcessorPollingConsumer(this, getProcessor());
    configurePollingConsumer(answer);
    return answer;
}
Also used : PollingConsumer(org.apache.camel.PollingConsumer)

Aggregations

PollingConsumer (org.apache.camel.PollingConsumer)21 Endpoint (org.apache.camel.Endpoint)9 Exchange (org.apache.camel.Exchange)9 Test (org.junit.Test)5 File (java.io.File)2 FailedToCreateConsumerException (org.apache.camel.FailedToCreateConsumerException)2 IsSingleton (org.apache.camel.IsSingleton)2 ArrayList (java.util.ArrayList)1 MBeanServer (javax.management.MBeanServer)1 ObjectName (javax.management.ObjectName)1 CamelExchangeException (org.apache.camel.CamelExchangeException)1 CamelExecutionException (org.apache.camel.CamelExecutionException)1 Consumer (org.apache.camel.Consumer)1 NoSuchBeanException (org.apache.camel.NoSuchBeanException)1 Processor (org.apache.camel.Processor)1 ProxyInstantiationException (org.apache.camel.ProxyInstantiationException)1 RuntimeCamelException (org.apache.camel.RuntimeCamelException)1 ServicePoolAware (org.apache.camel.ServicePoolAware)1 RouteBuilder (org.apache.camel.builder.RouteBuilder)1 GenericFileOperationFailedException (org.apache.camel.component.file.GenericFileOperationFailedException)1