You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/10/10 15:26:00 UTC

[jira] [Resolved] (CAMEL-18598) Camel Context starts automatically even if autoStartup="false"

     [ https://issues.apache.org/jira/browse/CAMEL-18598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-18598.
---------------------------------
    Resolution: Not A Bug

> Camel Context starts automatically even if autoStartup="false"
> --------------------------------------------------------------
>
>                 Key: CAMEL-18598
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18598
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint, camel-core
>    Affects Versions: 3.18.2
>            Reporter: Alexander Domke
>            Assignee: Grzegorz Grzybek
>            Priority: Major
>
> I have a simple blueprint.xml with a Camel Context and option autoStartup="false". 
> *blueprint.xml*
> {code:java}
> <?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>
> {code}
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)