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

camel-rest-openapi - StackOverflow loading generated long route definitions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • None
    • None
    • camel-rest-openapi
    • None
    • Unknown

    Description

      When using the camel-restdsl-openapi-plugin with a rather long and complex api like this one: BIAN_CustomerOffer

      The generated routeBuilder class contains one `rest()` method including all the route definitions. This one has over 40 endpoints and the build is causing a StackOverflow error.

      When splitting the route definitions into multiple files or just `rest()` calls, the problem is gone.

       

      Attachments

        1. nohup.out
          334 kB
          Ruben Romero Montes

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ruromero Ruben Romero Montes
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: