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

Support partial route containing only the "from" for RouteBuilderParser.parseRouteBuilderTree

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.5.0
    • 3.6.0
    • tooling
    • None
    • Unknown

    Description

      currently, if I have

      public class PartialRoute extends RouteBuilder {
      
          public void configure() {
              from("file:src/data?noop=true");
          }
      }
      

      the org.apache.camel.parser.RouteBuilderParser.parseRouteBuilderTree(JavaClassSource, String, String, boolean) method is returning an empty list.

      i'm expecting that i tis returning a list of one element with the "from"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apupier Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: