Re: [HEADS UP] - Big commits for component doc cleanup

2021-08-05 Thread Jean-Baptiste Onofré

Thanks for the update.

Just updated my local copy.

Regards
JB

On 05/08/2021 15:03, Claus Ibsen wrote:

Hi

Working on
https://issues.apache.org/jira/browse/CAMEL-16844

Then I cleaned up all -component adoc files (about 200 files) so we
can better control the generate tables with better section titles, and
in the future add more explanation about difference with configuring
component vs endpoint.

This should help end users to better know the difference.

We can also consider flipping the order so endpoints come before component.




Re: [HEADS UP] - Big commits for component doc cleanup

2021-08-05 Thread Claus Ibsen
Hi

The big commit(s) has been pushed (17 commits)

On Thu, Aug 5, 2021 at 3:03 PM Claus Ibsen  wrote:
>
> Hi
>
> Working on
> https://issues.apache.org/jira/browse/CAMEL-16844
>
> Then I cleaned up all -component adoc files (about 200 files) so we
> can better control the generate tables with better section titles, and
> in the future add more explanation about difference with configuring
> component vs endpoint.
>
> This should help end users to better know the difference.
>
> We can also consider flipping the order so endpoints come before component.
>
>
> --
> Claus Ibsen
> -
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2



-- 
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2


[HEADS UP] - Big commits for component doc cleanup

2021-08-05 Thread Claus Ibsen
Hi

Working on
https://issues.apache.org/jira/browse/CAMEL-16844

Then I cleaned up all -component adoc files (about 200 files) so we
can better control the generate tables with better section titles, and
in the future add more explanation about difference with configuring
component vs endpoint.

This should help end users to better know the difference.

We can also consider flipping the order so endpoints come before component.


-- 
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2


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 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 upload but later if i place a file under the directory and
> make an api call to upload endpoint again, it does not pick up the file?
>
> Any idea is appreciated, i kind of doubt about default aggregation part of
> pollEnrich pattern but i am not sure.
>
> Thanks
> Onder
>
> rest()
> .path("/v1/upload")
> .consumes("application/json")
> .produces("application/text")
> .post()
> .type(Void.class)
> .to("direct:uploadFiles");
>
> from("direct:uploadFiles")
> 
> .pollEnrich("file:{{shared-folder}}?include=.*.gz=true=true")
> .choice()
>   .when(body().isNull()).log("No files found.. skipping to send to 
> S3")
>   .otherwise().to("direct:toAwsS3")
> .endChoice();
>
>


[ANNOUNCE] Apache Camel 3.11.1 (LTS) Released

2021-08-05 Thread Gregor Zurowski
The Camel PMC is pleased to announce the release of Apache Camel 3.11.1 (LTS).

Apache Camel is an open source integration framework that empowers you
to quickly and easily integrate various systems consuming or producing
data.

This patch release contains 33 bug fixes and improvements.

The release is available for immediate download at:

https://camel.apache.org/download/

For more details please take a look at the release notes at:

https://camel.apache.org/releases/release-3.11.1/


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 upload but later if i place a file under the directory and
make an api call to upload endpoint again, it does not pick up the file?

Any idea is appreciated, i kind of doubt about default aggregation part of
pollEnrich pattern but i am not sure.

Thanks
Onder

rest()
.path("/v1/upload")
.consumes("application/json")
.produces("application/text")
.post()
.type(Void.class)
.to("direct:uploadFiles");

from("direct:uploadFiles")

.pollEnrich("file:{{shared-folder}}?include=.*.gz=true=true")
.choice()
  .when(body().isNull()).log("No files found.. skipping to send to S3")
  .otherwise().to("direct:toAwsS3")
.endChoice();


[RESULT] [VOTE] Release Apache Camel 3.11.1 (LTS)

2021-08-05 Thread Gregor Zurowski
Thanks for your participation in this vote.

The vote passes with the following results:

+1 binding: 6 (Andrea Cosentino, Claus Ibsen, Gregor Zurowski,
Jean-Baptiste Onofré, Omar Al-Safi, Zoran Regvart)
+1 non-binding: 1 (Otavio Rodolfo Piske)

I am going to publish the artifacts for Camel 3.11.1 shortly.

Thanks,
Gregor


On Mon, Aug 2, 2021 at 11:12 AM Gregor Zurowski
 wrote:
>
> Hi Everyone:
>
> This is a vote to release Apache Camel 3.11.1, the first patch release
> for Camel 3.11.x with 33 improvements and fixes.
>
> Release notes: 
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12350361=12311211
>
> == Apache Camel 3.11.1 ==
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1347/
>
> Tarballs: 
> https://repository.apache.org/content/repositories/orgapachecamel-1347/org/apache/camel/apache-camel/3.11.1/
>
> Tag: 
> https://gitbox.apache.org/repos/asf?p=camel.git;a=tag;h=refs/tags/camel-3.11.1
>
> == Apache Camel Spring Boot 3.11.1 ==
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1348/
>
> Tag: 
> https://gitbox.apache.org/repos/asf?p=camel-spring-boot.git;a=tag;h=refs/tags/camel-spring-boot-3.11.1
>
> == Apache Camel Karaf 3.11.1 ==
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1349/
>
> Tag: 
> https://gitbox.apache.org/repos/asf?p=camel-karaf.git;a=tag;h=refs/tags/camel-karaf-3.11.1
>
> Please test this release candidate and cast your vote.
> [ ] +1 Release the binary as Apache Camel, Camel Spring Boot and Camel
> Karaf 3.11.1
> [ ] -1 Veto the release (provide specific comments)
>
> The vote is open for at least 72 hours.
>
> Thanks,
> Gregor


Re: [VOTE] Release Apache Camel 3.11.1 (LTS)

2021-08-05 Thread Gregor Zurowski
+1 (binding)

Gregor

On Mon, Aug 2, 2021 at 11:12 AM Gregor Zurowski
 wrote:
>
> Hi Everyone:
>
> This is a vote to release Apache Camel 3.11.1, the first patch release
> for Camel 3.11.x with 33 improvements and fixes.
>
> Release notes: 
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12350361=12311211
>
> == Apache Camel 3.11.1 ==
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1347/
>
> Tarballs: 
> https://repository.apache.org/content/repositories/orgapachecamel-1347/org/apache/camel/apache-camel/3.11.1/
>
> Tag: 
> https://gitbox.apache.org/repos/asf?p=camel.git;a=tag;h=refs/tags/camel-3.11.1
>
> == Apache Camel Spring Boot 3.11.1 ==
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1348/
>
> Tag: 
> https://gitbox.apache.org/repos/asf?p=camel-spring-boot.git;a=tag;h=refs/tags/camel-spring-boot-3.11.1
>
> == Apache Camel Karaf 3.11.1 ==
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1349/
>
> Tag: 
> https://gitbox.apache.org/repos/asf?p=camel-karaf.git;a=tag;h=refs/tags/camel-karaf-3.11.1
>
> Please test this release candidate and cast your vote.
> [ ] +1 Release the binary as Apache Camel, Camel Spring Boot and Camel
> Karaf 3.11.1
> [ ] -1 Veto the release (provide specific comments)
>
> The vote is open for at least 72 hours.
>
> Thanks,
> Gregor