Uses of Interface
org.apache.camel.PollingConsumer
Packages that use PollingConsumer
-
Uses of PollingConsumer in org.apache.camel
Subinterfaces of PollingConsumer in org.apache.camelModifier and TypeInterfaceDescriptioninterfaceAPollingConsumerused by the dynamicpollandpollEnrichEIPs, allowing the component to use data from the currentExchange(such as headers or properties) to parameterise the poll operation at runtime.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 usingPollingConsumer.receive(),PollingConsumer.receiveNoWait()orPollingConsumer.receive(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.