Hi,
you have right, I can't see any bundles exporting the ServiceMix client
API (in smx bundles or nmr bundle).
Nevertheless, you can try to stick the client API in your bundle
classpath using something like:
<Embed-Dependency>servicemix-core;scope=compile</Embed-Dependency>
or
<Bundle-Classpath>servicemix-core.jar</Bundle-Classpath>
Regards
JB
TheWinch wrote:
Hi,
Maybe my question is stupid, but here is my problem.
I have a bean installed from an OSGi bundle. This bean needs to talk to the
NMR, and I am using the ServiceMix Client API to do this. I have the
following dependency in my pom.xml:
org.apache.servicemix/servicemix-core (3.3.1, jar, compile)
I have also imported the following packages in my bundle:
org.apache.servicemix.client
But when I start my bundle, I get the following error:
ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException: org.osgi.fram
ework.BundleException: Unresolved constraint in bundle 177: package;
(package=org.apache.servicemix.
client)
It seems that the package is not exported by any bundle ??? So how am I
supposed to access the client API ?
Thanks for your answers