camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Whiteside (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-4543) Camel Blueprint support is limited/hardcoded to Aries
Date Fri, 14 Oct 2011 18:54:11 GMT

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

Aaron Whiteside updated CAMEL-4543:
-----------------------------------

    Issue Type: Improvement  (was: Bug)
    
> Camel Blueprint support is limited/hardcoded to Aries
> -----------------------------------------------------
>
>                 Key: CAMEL-4543
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4543
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-blueprint, osgi
>    Affects Versions: 2.9.0
>         Environment: JBoss 7.0.2
>            Reporter: Aaron Whiteside
>            Priority: Blocker
>         Attachments: BlueprintContainerRegistry.patch, separate_aries_blueprint_support_from_generic_blueprint_support.patch
>
>
> Camel Blueprint support is limited/hardcoded to Aries. This makes it impossible to use
in JBoss 7 or with another blueprint implementation like Gemini.
> The following classes use various things from Aries.
> * BlueprintContainerRegistry
> * BlueprintPropertiesParser
> * CamelContextFactoryBean
> * CamelProxyFactoryBean
> * CamelNamespaceHandler
> Now obviously the last three are related to the custom namespace handler for Aries.
> It would be good if these were moved into their own module, something like camel-aries-namespace
or the like.
> That people can choose to include if they would like to use the custom blueprint namespace
handler in Aries. Otherwise the camel-blueprint module should be implementation agnostic and
work on all blueprint containers. Not just Aries.
> {code}
> 10:18:58,656 ERROR [org.jboss.osgi.framework.internal.FrameworkEventsPlugin] (MSC service
thread 1-3) Framework ERROR: org.osgi.framework.BundleException: Cannot resolve bundle resModule:
[com.mm.routing.engine:1.0.0.SNAPSHOT]
> 	at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:157)
[jbosgi-framework-core-1.0.0.CR8.jar:1.0.0.CR8]
> 	at org.jboss.osgi.framework.internal.AbstractBundleState.ensureResolved(AbstractBundleState.java:551)
[jbosgi-framework-core-1.0.0.CR8.jar:1.0.0.CR8]
> 	at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:210)
[jbosgi-framework-core-1.0.0.CR8.jar:1.0.0.CR8]
> 	at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:494)
[jbosgi-framework-core-1.0.0.CR8.jar:1.0.0.CR8]
> 	at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:144)
[jboss-as-osgi-service-7.0.2.Final.jar:7.0.2.Final]
> 	at org.jboss.as.osgi.deployment.BundleStartTracker$1.transition(BundleStartTracker.java:119)
[jboss-as-osgi-service-7.0.2.Final.jar:7.0.2.Final]
> 	at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1429)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at org.jboss.msc.service.ServiceControllerImpl.access$2600(ServiceControllerImpl.java:49)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1952)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0]
> 	at java.lang.Thread.run(Thread.java:722) [:1.7.0] Caused by: org.jboss.osgi.resolver.XResolverException:
Unable to resolve Module[com.mm.routing.engine:1.0.0.SNAPSHOT]: missing requirement [Module[com.mm.routing.engine:1.0.0.SNAPSHOT]]
package; (package=org.apache.camel.blueprint) [caused by: Unable to resolve Module[org.apache.camel.camel-blueprint:2.9.0.SNAPSHOT]:
missing requirement [Module[org.apache.camel.camel-blueprint:2.9.0.SNAPSHOT]] package; (&(package=org.apache.aries.blueprint)(version>=0.3.0)(!(version>=1.0.0)))]
> 	at org.jboss.osgi.resolver.felix.FelixResolver.resolveInternal(FelixResolver.java:117)
[jbosgi-resolver-felix-1.0.9.jar:1.0.9]
> 	at org.jboss.osgi.resolver.spi.AbstractResolver.resolve(AbstractResolver.java:148) [jbosgi-resolver-spi-1.0.9.jar:1.0.9]
> 	at org.jboss.osgi.framework.internal.ResolverPlugin.resolve(ResolverPlugin.java:155)
[jbosgi-framework-core-1.0.0.CR8.jar:1.0.0.CR8]
> 	... 11 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message