3 Replies Latest reply on Jul 20, 2009 1:13 PM by joe.luo

    [Fuse-ESB 4] Which bundle does export the NMR Client API ?

      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