Hi ServiceMix Developer !
When installing a component, ServiceMix reads
the jbi.xml file located in the META-INF directory.
This file specifies the Bootstrap class, Component class and
class loaders to create. Everything else is left to the component.
Check the jbi spec for more informations.
You may want to deploy service units on an existing component,
like the lwcontainer, which supports deployment of servicemix.xml config
files.
The loanbroker example of servicemix 3.0-SNAPSHOT distribution contains
an such an example.
Cheers,
Guillaume Nodet
ServiceMix Developer (sent by Nabble.com) wrote:
Hi,
I'm new to ServiceMix.
I have developed my own components for ServiceMix.
When I start them using the servicemix.xml and set the classpath before
everything works fine.
But I want to start the components from the install-dir like in the
spring-toolkit example by a zip-File.
It seems the file jbi-spring.xml is not read, because the installation is
successful, but the initialization of the class was not executed.
Is it necessary to derive my own classes from SpringComponent?? My
Components are derived from ComponentSupport.
Anybody, any Ideas?
Thanks, regards
--
View this message in context:
http://www.nabble.com/Deployment-using-Spring-t1081979.html#a2818897
Sent from the servicemix - user forum at Nabble.com.