| 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.
|
| Modifier and Type | Method and Description |
|---|---|
PollingConsumer |
Endpoint.createPollingConsumer()
Creates a new Polling
Consumer so that the caller can poll message exchanges from the
consumer using
receive(),
receiveNoWait() or
receive(long) whenever it is ready to do so
rather than using the Event
Based Consumer returned by Endpoint.createConsumer(Processor) |
| Modifier and Type | Method and Description |
|---|---|
PollingConsumer |
ConsumerCache.acquirePollingConsumer(Endpoint endpoint)
Acquires a pooled polling consumer which you must release back again after usage using the
ConsumerCache.releasePollingConsumer(Endpoint, PollingConsumer) method. |
| Modifier and Type | Method and Description |
|---|---|
void |
ConsumerCache.releasePollingConsumer(Endpoint endpoint,
PollingConsumer pollingConsumer)
Releases an acquired polling consumer back after usage.
|
Apache Camel