Class RemoteFilePollingConsumerPollStrategy
- java.lang.Object
-
- org.apache.camel.support.DefaultPollingConsumerPollStrategy
-
- org.apache.camel.component.file.remote.RemoteFilePollingConsumerPollStrategy
-
- All Implemented Interfaces:
org.apache.camel.spi.PollingConsumerPollStrategy
public class RemoteFilePollingConsumerPollStrategy extends org.apache.camel.support.DefaultPollingConsumerPollStrategy
Remote file consumer polling strategy that attempts to help recovering from lost connections.
-
-
Constructor Summary
Constructors Constructor Description RemoteFilePollingConsumerPollStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
rollback(org.apache.camel.Consumer consumer, org.apache.camel.Endpoint endpoint, int retryCounter, Exception e)
-
-
-
Method Detail
-
rollback
public boolean rollback(org.apache.camel.Consumer consumer, org.apache.camel.Endpoint endpoint, int retryCounter, Exception e) throws Exception
- Specified by:
rollback
in interfaceorg.apache.camel.spi.PollingConsumerPollStrategy
- Overrides:
rollback
in classorg.apache.camel.support.DefaultPollingConsumerPollStrategy
- Throws:
Exception
-
-