camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-9526) Blueprint depends-on can no longer contain multiple bean ids
Date Wed, 20 Jan 2016 20:26:39 GMT

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

Jonathan Anstey resolved CAMEL-9526.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.16.2
                   2.15.6

To https://git-wip-us.apache.org/repos/asf/camel.git
   91fbaa4..1805c6b  camel-2.15.x -> camel-2.15.x
   eaefb7c..ea6262b  camel-2.16.x -> camel-2.16.x
   6705ca9..b6355ae  master -> master


> Blueprint depends-on can no longer contain multiple bean ids
> ------------------------------------------------------------
>
>                 Key: CAMEL-9526
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9526
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.15.3, 2.16.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.15.6, 2.16.2, 2.17.0
>
>
> Used to be able to do something like:
> {code}
>     <bean id="id1" class="java.lang.Object"/>
>     <bean id="id2" class="java.lang.Object"/>
>     <camelContext xmlns="http://camel.apache.org/schema/blueprint" id="testCamelContext"
depends-on="id1 id2"/>
> {code}
> Now as of 2.16 and 2.15.3 we get the following:
> {code}
> 2016-01-20 16:44:07,541 | ERROR | rint Extender: 1 | BlueprintContainerImpl         
 | 12 - org.apache.aries.blueprint.core - 1.4.3 | Unable to start blueprint container for
bundle camelContext.xml
> org.osgi.service.blueprint.container.ComponentDefinitionException: Unresolved ref/idref
to component: id1 id2
> 	at org.apache.aries.blueprint.container.BlueprintRepository.validate(BlueprintRepository.java:262)[12:org.apache.aries.blueprint.core:1.4.3]
> 	at org.apache.aries.blueprint.container.RecipeBuilder.createRepository(RecipeBuilder.java:96)[12:org.apache.aries.blueprint.core:1.4.3]
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.getRepository(BlueprintContainerImpl.java:481)[12:org.apache.aries.blueprint.core:1.4.3]
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:328)[12:org.apache.aries.blueprint.core:1.4.3]
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[12:org.apache.aries.blueprint.core:1.4.3]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_60]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60]
> 	at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)[12:org.apache.aries.blueprint.core:1.4.3]
> 	at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[12:org.apache.aries.blueprint.core:1.4.3]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_60]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60]
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_60]
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_60]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60]
> 	at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message