Hi, I am beginner in JBOSS FUSE can you please guide me or provide any link on how to wrap apache ldap dependency into karaf.
Do you add any special Camel component or other Maven depdedency to your source code project, eg in the pom.xml file?
In JBoss Fuse you would need to install those components as well, for example if you use a new Camel component such as camel-ldap then you need to install it with
Before you install your own application.
this is the dependency i added in pom.xml. I am using apacheds ldap api to communicate with remote ldap server for authentication from java api.
for more details this is what i see in jboss fuse web console under OSGI section my bundleImported Packages
The following optional imports were not satisfied:javax.ws.rs
You need to install an OSGi bundle that has that Apache LDAP api you use.
From the pom above it looks like its the api-all JAR that has it
You can try install it in JBoss Fuse using wrap as its not an OSGi bundle
osgi:install -s wrap:mvn:org.apache.directory.api/api-all/1.0.0-M25
Thanks it worked, great relief for me after spending two days in this issue.