Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20228

camel-jbang - camel export doesn't recognize component in pollenrich

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.4.0
    • camel-jbang
    • None
    • Unknown

    Description

      Given an integration that uses a component in pollEnrich, the camel-jbang command "camel dependency list" doesn't recognize the "aws2-s3" component

       

      import java.lang.Exception;
      import java.lang.Override;
      import org.apache.camel.Exchange;
      import org.apache.camel.builder.RouteBuilder;
      
      public class RouteDeps extends RouteBuilder {    @Override
          public void configure() throws Exception {
              String params = "random_string";
              from("telegram:" + params)
                  .setHeader("test",simple("${in.header.fileName}"))
                  .pollEnrich()
                      .simple("aws2-s3://data?fileName=${in.header.fileName}&deleteAfterRead=false")
                      .timeout(3000)
                  .end();
          }
      }   

       

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              claudio4j Claudio Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: