Argast wrote: > > Your solution would work if I'd use static configuration. I'm using jbi > packaging though and wondering if there is a similar config for this case. >
You got it wrong. This works ONLY with jbi packaging (since there are no service units/assemblies in static configuration). You just need to change the configuration of your container $SERVICEMIX_HOME/conf/servicemix.xml. In detail: 1) Create a jar that will contain the listner implementations. 2) Put the jar inside $SERVICEMIX_HOME/lib/ 3) Edit accordingly the serivcemix configuration $SERVICEMIX_HOME/conf/servicemix.xml. 4) Now restart & you are ready to deploy your service assemblies. -- View this message in context: http://old.nabble.com/custom-service-unit-initialization-on-started-event-tp28191268p28230179.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
