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

Camel Context starts automatically even if autoStartup="false"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 3.18.2
    • None
    • camel-blueprint, camel-core
    • None
    • Unknown

    Description

      I have a simple blueprint.xml with a Camel Context and option autoStartup="false".

      blueprint.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
      
          <camelContext xmlns="http://camel.apache.org/schema/blueprint" id="test" autoStartup="false">
              <route>
                  <from uri="timer:testTimer" />
                  <log message="Tick" />
              </route>		
          </camelContext>
      
      </blueprint>
      

      What puzzles me is that the CamelContext starts automatically although according to the configuration it should not. Is there a possibility to influence the behavior?

      I use: karaf 4.4.1, camel 3.18.2
       
       
       

       

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            delphisual Alexander Domke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: