camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6060) spring-dm and blueprint - OSGi language resolver does not work
Date Sun, 10 Feb 2013 07:19:12 GMT

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

Claus Ibsen updated CAMEL-6060:
-------------------------------

    Priority: Blocker  (was: Major)
     Summary: spring-dm and blueprint - OSGi language resolver does not work  (was: spring-dm
- OSGi language resolver does not work)
    
> spring-dm and blueprint - OSGi language resolver does not work
> --------------------------------------------------------------
>
>                 Key: CAMEL-6060
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6060
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring, osgi
>    Affects Versions: 2.11.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Blocker
>             Fix For: 2.11.0
>
>
> Running Camel 2.11 in Karaf 2.3.0, can not resolve languages when using spring-dm apps.
> [  78] [Active     ] [Created     ] [       ] [   50] camel-blueprint (2.11.0.SNAPSHOT)
> [  79] [Active     ] [            ] [       ] [   50] mvel2 (2.1.3.Final)
> [  80] [Active     ] [            ] [       ] [   50] camel-mvel (2.11.0.SNAPSHOT)
> [  81] [Active     ] [            ] [       ] [   80] A Camel Spring-DM Route (1.0.0)
> Exception in thread "SpringOsgiExtenderThread-2" org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>>
Transform[mvel{request.body.substring(0, 4)}] <<< in route: Route[[From[timer:foo?period=5000]]
-> [SetBody[bean{helloBe... because of No language could be found for: mvel
> 	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1328)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:282)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
> 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
> 	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
> 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route1
at: >>> Transform[mvel{request.body.substring(0, 4)}] <<< in route: Route[[From[timer:foo?period=5000]]
-> [SetBody[bean{helloBe... because of No language could be found for: mvel
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:879)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:172)
> 	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:742)
> 	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1821)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1601)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1470)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1438)
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)
> 	... 10 more
> Caused by: org.apache.camel.NoSuchLanguageException: No language could be found for:
mvel
> 	at org.apache.camel.core.osgi.OsgiLanguageResolver.resolveLanguage(OsgiLanguageResolver.java:63)
> 	at org.apache.camel.impl.DefaultCamelContext.resolveLanguage(DefaultCamelContext.java:1009)
> 	at org.apache.camel.model.language.ExpressionDefinition.createExpression(ExpressionDefinition.java:177)
> 	at org.apache.camel.model.language.ExpressionDefinition.createExpression(ExpressionDefinition.java:168)
> 	at org.apache.camel.model.TransformDefinition.createProcessor(TransformDefinition.java:59)
> 	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:459)
> 	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:177)
> 	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:876)
> 	... 20 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message