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

No LanguageResolver found for language=js

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14.1
    • Fix Version/s: 2.14.3, 2.15.1, 2.16.0
    • Component/s: camel-script
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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] 

      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.

        Attachments

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              barthorre Bart Horré
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: