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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.6.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: