org.neociclo.accord.odetteftp.camel
Class DefaultOdettePollingStrategy
java.lang.Object
org.neociclo.accord.odetteftp.camel.DefaultOdettePollingStrategy
- All Implemented Interfaces:
- org.apache.camel.spi.PollingConsumerPollStrategy
public class DefaultOdettePollingStrategy
- extends Object
- implements org.apache.camel.spi.PollingConsumerPollStrategy
Method Summary |
boolean |
begin(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint)
|
void |
commit(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint)
|
boolean |
rollback(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint,
int retryCounter,
Exception cause)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultOdettePollingStrategy
public DefaultOdettePollingStrategy()
begin
public boolean begin(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint)
- Specified by:
begin
in interface org.apache.camel.spi.PollingConsumerPollStrategy
commit
public void commit(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint)
- Specified by:
commit
in interface org.apache.camel.spi.PollingConsumerPollStrategy
rollback
public boolean rollback(org.apache.camel.Consumer consumer,
org.apache.camel.Endpoint endpoint,
int retryCounter,
Exception cause)
throws Exception
- Specified by:
rollback
in interface org.apache.camel.spi.PollingConsumerPollStrategy
- Throws:
Exception
ACCORD