Yes, I have, but it's just generate a jbi.xml file in META-INF folder: <?xml version="1.0" encoding="UTF-8"?> <jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0"> <services binding-component="false"/> </jbi>
And as I can undestand it's work only for Components (http://www.google.com/codesearch/p?hl=en&sa=N&cd=4&ct=rc#8VBS2Bil-24/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/Component.java&q=classLoaderDelegation&exact_package=http://svn.apache.org/repos/asf/servicemix/smx3/) and Shared Libraries (http://www.google.com/codesearch/p?hl=en&sa=N&cd=4&ct=rc#8VBS2Bil-24/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/deployment/SharedLibrary.java&q=classLoaderDelegation&exact_package=http://svn.apache.org/repos/asf/servicemix/smx3/), not for SU I am going to find ways to deploy camel component with the self-first delegation rule. Jean-Baptiste Onofre wrote: > > Hi, > > have you tried to define it in your pom.xml using: > > <build> > <plugins> > <plugin> > <groupId>org.apache.servicemix.tooling</groupId> > <artifactId>jbi-maven-plugin</artifactId> > <configuration> > <classLoaderDelegation>self-first</classLoaderDelegation> > </configuration> > </plugin> > </plugins> > </build> > > Regards > JB > > dulanov wrote: >> Hello, >> >> As I undestand Camel SU doesn't XBean based service units >> (http://servicemix.apache.org/classloaders.html). How can I set >> self-first >> delegation classLoaderDelegation for it (<import inverse="true" />)? Is >> it >> possible to use jbi-maven-plugin Maven plugin to do it? > > -- > Jean-Baptiste Onofré > --------------------------------- > HomePage > http://www.nanthrax.net > --------------------------------- > Contacts > [email protected] > [email protected] > --------------------------------- > OpenSource > BuildProcess/AutoDeploy > http://buildprocess.sourceforge.net > Apache ServiceMix > http://servicemix.apache.org > ----------------------------------- > PGP : 17D4F086 > > -- View this message in context: http://www.nabble.com/How-set-self-first-delegation-for-Camel-SU-tp25641478p25644754.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
