[
https://issues.apache.org/jira/browse/CAMEL-18598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Domke updated CAMEL-18598:
------------------------------------
Description:
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
was:
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
> 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)