- https://stackoverflow.com/questions/45999725/how-to-poll-database-using-apache-camel
- https://issues.apache.org/jira/browse/CAMEL-11682
E.g.
from("direct:pollEnrich").routeId("pollEnrich")
.pollEnrich()
.simple("aws-s3://{{buckets.mybucket}}?amazonS3Client=#amazonS3Client&deleteAfterRead=false&fileName=${in.header.CamelAwsS3Key}")
.convertBodyTo(byte[].class)
.to(...)
<!-- this main class will automatic include Spring XML files from the META-INF/spring directory when running -->
<mainClass>org.apache.camel.spring.Main</mainClass>