You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/03/05 15:24:19 UTC

[GitHub] [camel-k] kameshsampath opened a new issue #527: Enhancing way of calculating the dependencies

kameshsampath opened a new issue #527: Enhancing way of calculating the dependencies
URL: https://github.com/apache/camel-k/issues/527
 
 
   camel-k right now detect the dependencies and adds them to classpath via the component uris in `from()` /`to()`, but when use the component uri's in other components e.g pollEnricher it fails to calculate the dependencies.
   
   ```
   from("knative:endpoint/s3filelogger")
   				.log("Downloading file: ${in.header.fileName}")
   				.setHeader(S3Constants.KEY,simple("${in.header.fileName}"))
   				.pollEnrich()
   					.simple("aws-s3://data?fileName=${in.header.fileName}&deleteAfterRead=false")
   				  .timeout(3000)
   				.idempotentConsumer(header("CamelAwsS3ETag"), idmRepo())
   				//just sending the response back to the callee
   				.process(this::sendResponse)
   				.end();
   ```
   
   The dependency calculation needs to be enhanced to handle these kind of scenarios as well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services