[
https://issues.apache.org/jira/browse/CAMEL-8546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380142#comment-14380142
]
ASF GitHub Bot commented on CAMEL-8546:
---------------------------------------
GitHub user barthorre opened a pull request:
https://github.com/apache/camel/pull/444
CAMEL-8546: fix script language resolvers
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/barthorre/camel CAMEL-8546
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/444.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #444
----
commit d48a2600c1972a55d092224f7bcc64ed0e555703
Author: bart <[email protected]>
Date: 2015-03-25T15:59:57Z
CAMEL-8546: fix script language resolvers
----
> No LanguageResolver found for language=js
> -----------------------------------------
>
> Key: CAMEL-8546
> URL: https://issues.apache.org/jira/browse/CAMEL-8546
> Project: Camel
> Issue Type: Bug
> Reporter: Bart Horré
>
> {noformat}Unable to start blueprint container for bundle test.xml due to
> unresolved dependencies
> [(&(language=js)(objectClass=org.apache.camel.spi.LanguageResolver))]
> java.util.concurrent.TimeoutException
> at
> org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:293)[10:org.apache.aries.blueprint:0.3.2]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_17]
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_17]
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_17]
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_17]
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_17]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_17]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_17]
> at java.lang.Thread.run(Thread.java:722)[:1.7.0_17] {noformat}
> This happens when we try to use script with blueprint because blueprint tries
> to resolve the LanguageResolver with filter language=js. However camel.osgi
> registered a default LanguageResolver under resolver=default which causes
> blueprint to wait for ever.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)