public class DefaultPollingConsumerPollStrategy extends Object implements org.apache.camel.spi.PollingConsumerPollStrategy
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
DefaultPollingConsumerPollStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
begin(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint) |
void |
commit(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint,
int polledMessages) |
boolean |
rollback(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint,
int retryCounter,
Exception e) |
public boolean begin(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint)
begin in interface org.apache.camel.spi.PollingConsumerPollStrategypublic void commit(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint,
int polledMessages)
commit in interface org.apache.camel.spi.PollingConsumerPollStrategyApache Camel