Hello, I am new in ServiceMix 4.3.0. I can not find in the documentation, if I can *use more than one JBI component in one Service Unit*. Is it possible?
1) When I deploy *single something.xml configuration* in ServiceMix, I can use *more JBI components* e.g. http:consumer together with saxon:xquery. After copying in deploy all run correctly. 2) But when I create one *Service Unit within one Service Assembly* and use in this Service Unit the *xbean.xml configuration with more than one JBI component*, I become always a *ClassNotFoundException* during deploy, e.g. /ClassNotFoundException: org.apache.servicemix.saxon.XQueryEndpoint/. I tried to insert both JBI packages in the dependencies in the *pom.xml* of the Service Unit, but it has not work. When I use only one JBI component (http:consumer) in this xbean.xml and only one dependency in the pom.xml, the deploy is correct. Is it so, *must I divide the xbean.xml in two Service Units*? Why? Or I am doing something wrong? Or is the directly using of JBI components not recommended any more, since there is Camel? I will create a security gateway (ssl, WS-Security auth with LDAP) for soap web services thogether with some integration (file transfer, emails and xmpp) within the ServiceMix project. Thanks for Your help! Radek -- View this message in context: http://servicemix.396122.n5.nabble.com/Multiple-JBI-components-in-one-Service-Unit-tp4762833p4762833.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
