Uses of Interface
org.apache.camel.PollingConsumer
-
Packages that use PollingConsumer Package Description org.apache.camel The core Camel API.org.apache.camel.spi Service Provider Interfaces used by the Camel runtime which are plugin strategies. -
-
Uses of PollingConsumer in org.apache.camel
Methods in org.apache.camel that return PollingConsumer Modifier and Type Method Description PollingConsumer
Endpoint. createPollingConsumer()
Creates a new Polling Consumer so that the caller can poll message exchanges from the consumer usingreceive()
,receiveNoWait()
orreceive(long)
whenever it is ready to do so rather than using the Event Based Consumer returned byEndpoint.createConsumer(Processor)
Important: Do not do any initialization in the constructor of thePollingConsumer
. -
Uses of PollingConsumer in org.apache.camel.spi
Methods in org.apache.camel.spi that return PollingConsumer Modifier and Type Method Description PollingConsumer
ConsumerCache. acquirePollingConsumer(Endpoint endpoint)
Acquires a pooled polling consumer which you must release back again after usage using theConsumerCache.releasePollingConsumer(Endpoint, PollingConsumer)
method.Methods in org.apache.camel.spi with parameters of type PollingConsumer Modifier and Type Method Description void
ConsumerCache. releasePollingConsumer(Endpoint endpoint, PollingConsumer pollingConsumer)
Releases an acquired polling consumer back after usage.
-