Re: ondemand file processing with pollEnrich not grabbing files from a directory

2021-08-19 Thread Karen Lease
Hi Onder, I created a JIRA issue for this bug: https://issues.apache.org/jira/browse/CAMEL-16874 and have developed a solution. Karen On 18/08/2021 16:31, Onder SEZGIN wrote: Thanks Karen, It is helpful info which i will re-try again. i have another workaround for such case for now. Thanks

Re: ondemand file processing with pollEnrich not grabbing files from a directory

2021-08-18 Thread Onder SEZGIN
Thanks Karen, It is helpful info which i will re-try again. i have another workaround for such case for now. Thanks for chasing it up though. Appreciated. Cheers Onder On Tue, Aug 10, 2021 at 10:04 PM Karen Lease wrote: > Hi Onder, > I reproduced this issue with the current trunk too. > > >

Re: ondemand file processing with pollEnrich not grabbing files from a directory

2021-08-10 Thread Karen Lease
Hi Onder, I reproduced this issue with the current trunk too. Ihe issue is caused by the "sendEmptyMessageWhenIdle=true" option on the file consumer. That causes an exchange with an empty body to be queued which isn't read. When there is a file available, a new exchange is queued with the

Re: ondemand file processing with pollEnrich not grabbing files from a directory

2021-08-05 Thread Onder SEZGIN
extra info: it keeps logging No files found.. skipping to send to S3 which possibly means that file is not getting picked up. and camel version is 3.7.5 thanks On Thu, Aug 5, 2021 at 12:17 PM Onder SEZGIN wrote: > Hello, > > After a while i am taking a ride with newer versions of camel, and i

ondemand file processing with pollEnrich not grabbing files from a directory

2021-08-05 Thread Onder SEZGIN
Hello, After a while i am taking a ride with newer versions of camel, and i have a usecase to create a restful endpoint which will trigger uploading a file from a preconfigured directory to s3 bucket. so below if we endpoint is called and there is no file in the directory it logs nothing to