Uses of Interface
org.apache.camel.PollingConsumer
Packages that use PollingConsumer
Package
Description
The core Camel API.
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
-
Uses of PollingConsumer in org.apache.camel
Subinterfaces of PollingConsumer in org.apache.camelModifier and TypeInterfaceDescriptioninterfaceAPollingConsumerthat are used by dynamic Poll and PollEnrich EIPs to facilitate components that can use information from the currentExchangeduring the poll.Methods in org.apache.camel that return PollingConsumerModifier and TypeMethodDescriptionEndpoint.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 PollingConsumerModifier and TypeMethodDescriptionConsumerCache.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 PollingConsumerModifier and TypeMethodDescriptionvoidConsumerCache.releasePollingConsumer(Endpoint endpoint, PollingConsumer pollingConsumer) Releases an acquired polling consumer back after usage.