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

camel-osgi-activator Allow RouteBuilders to be added Pre Camel Context Start

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Flags:
      Patch

      Description

      One gap identified in the thread [1] was the lack of support for configuring the camel context pre-startup.  This would require a means of identifying RouteBuilders that needed to be started pre-startup and restarting/reloading the context if pre-startup routes were added following other non-prestartup routes. 

      Suggest adding a Boolean OSGi Service Property called "camel.osgi.activator.pre-startup" that could be set to true for pre startup configuration. 

      Second will need to modify the behavior of CamelRoutesActivator to handle this new flag as well as restart/reload.

       

      [1] https://lists.apache.org/thread.html/092a0b13ed330e92570ba2bfaa8aabbe3b70cb0ecadfff0b21823156%40%3Cdev.camel.apache.org%3E

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acosentino Andrea Cosentino
                Reporter:
                bob Bob Paulin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m