I have difficulties using ServicemixClient Api in smx4 in order to made dynamic JBI call. In fact I would like to use it from a bean or a Camel process to made call from database.
When I test my old bean working with servicemix 3.4 I have the following error :
org.osgi.framework.BundleException: Unresolved constraint in bundle 154: package; (package=org.apache.servicemix.client)
Other question how to use the ServiceClient Api from a Camel Process .
Thanks by advance
SMX4 is based on OSGI and your beans will be required to be packaged as an OSGi bundle.
Section 10 of http://fusesource.com/docs/esb/4.1/migration/index.html should help you and a very useful tutorial is found at http://camel.apache.org/tutorial-osgi-camel-part1.html