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

Route cannot be started within web-console, if autoStartup="false" is set in camel.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.7.3, 2.8.0
    • Component/s: camel-web
    • Labels:
      None
    • Environment:

      Windows 2008 R2, JRE 1.6, ActiveMQ 5.5.0, Camel 2.7.1 (included in ActiveMQ 5.5.0 plus: camel-ftp-2.7.1.jar)
      NO JDK Installed

      Description

      When a route has autoStartup="false" set in the camel.xml, it cannot be started anymore in the web- console.
      In the logfile, an entry is generated, similar to this:
      "Cannot start route route2 as its configured with autoStartup=false | org.apache.camel.spring.SpringCamelContext | qtp7446303-52"
      If a route does not have autoStartup="false", it can be stopped and started normally (as before with ActiveMQ 5.4.2 / Camel 2.4.0)

      Reproduce steps:

      • Configure a route with "<route autoStartup="false">"
      • Start the ActiveMQ Service
      • Navigate to "http://server.domain.tld:8161/camel/routes
      • try to start the route with the button "Start"
      • check the logfile "activemq.log"

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              jimmyrueedi Jimmy Rueedi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: