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-6134) camel-jclouds - Does not work in OSGi - Seems META-INF/services loader may not work
Date Sun, 15 Feb 2015 15:23:12 GMT

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

Claus Ibsen updated CAMEL-6134:
-------------------------------
    Assignee:     (was: Ioannis Canellos)

> camel-jclouds - Does not work in OSGi - Seems META-INF/services loader may not work
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-6134
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6134
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jclouds, karaf
>    Affects Versions: 2.11.0
>            Reporter: Claus Ibsen
>
> The BlobStoreBlueprintRouteTest test fails in tests/camel-itest-osgi, when running
> {code}
> mvn clean test -Dtest=BlobStoreBlueprintRouteTest
> {code}
> It cannot find the transient provider, which seems to be located in jclouds-blobstore
JAR in the META/INF/services directory.
> org.jclouds.blobstore.TransientApiMetadata
> Migrating to the new builder API I get this error
> {code}
> java.util.NoSuchElementException: key [transient] not in the list of providers or apis:
{}
> 	at org.jclouds.ContextBuilder.newBuilder(ContextBuilder.java:172)
> 	at org.apache.camel.itest.osgi.jclouds.BlobStoreBlueprintRouteTest.doPreSetup(BlobStoreBlueprintRouteTest.java:52)
> {code}
> Not sure what it takes to get service loader to work in OSGi / Karaf.



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

Mime
View raw message