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/02/11 14:54:02 UTC

[GitHub] kameshsampath opened a new issue #419: Resolving Dependency Automatically

kameshsampath opened a new issue #419: Resolving Dependency Automatically
URL: https://github.com/apache/camel-k/issues/419
 
 
   When creating a route using `aws-s3`(http://camel.apache.org/aws-s3.html) , the deployment fails with error 
   ```
   file-organizer-5849bb5579-lm596 file-organizer Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: aws-s3://data?accessKey=demoacesskey&amazonS3Endpoint=http%3A%2F%2Fminio.cookbook%3A9000&secretKey=demosecretkey due to: No component found with scheme: aws-s3
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:759)
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:80)
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:227)
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:116)
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:122)
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:75)
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:98)
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1332)
   file-organizer-5849bb5579-lm596 file-organizer 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:212)
   file-organizer-5849bb5579-lm596 file-organizer 	... 13 more
   ```
   
   
   Route
   -----
   ```java
   import org.apache.camel.builder.RouteBuilder;
   
   /**
    * FileOrganizer
    */
   public class FileOrganizer extends RouteBuilder {
   
       @Override
       public void configure() throws Exception {
   
           from("aws-s3://data?amazonS3Endpoint={{s3EndpointUrl}}" + "&accessKey={{minioAccessKey}}"
                   + "&secretKey={{minioSecretKey}}").to("log:message");
       }
   
   }
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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