[
https://issues.apache.org/jira/browse/CAMEL-9784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260711#comment-15260711
]
Claus Ibsen commented on CAMEL-9784:
------------------------------------
Have you configured the fileName option? What is the actual endpoint
configuration you are using?
The one time polling only happens if you set the fileName. Its there to avoid
polling the same file over and over again. That said I dont think the fileName
option have so much value if it can only be used to poll a single file once.
> Camel polling the files from S3 only once
> -----------------------------------------
>
> Key: CAMEL-9784
> URL: https://issues.apache.org/jira/browse/CAMEL-9784
> Project: Camel
> Issue Type: Bug
> Components: camel-aws
> Affects Versions: 2.17.0
> Environment: Linux operating system
> Reporter: Yogesh
> Labels: aws-s3
>
> if deleteAfterRead option is kept false while fetching all the files in the
> S3 bucket to linux machine, Camel polls all the files only once. I tried to
> debug org.apache.camel.component.aws.s3.S3Consumer.java class inside method
> poll() there is check for filesConsumed boolean variable which seems to be
> always true after the first polling and then it never access any files.
> Same issue was reported
> http://stackoverflow.com/questions/34193738/apache-camel-s3-only-do-polling-once
> but the suggestion was to downgrade to 2.16.0 which has many different
> issues which got fixed in 2.17.0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)