I would like to invoke a Spring bean from a JSR 181 endpoint class, packaged
in the same service unit .zip as a the endpoint, via standard Spring IOC
(setter injection). Since I understand that XBean is an extention to Spring,
I've added the spring definition to my xbean.xml (am I right in doing
this?):

<bean id="anotherService" class="another.AnotherServiceImpl"/>

However the moment I do this the Maven build scripts fail with:

[INFO] Failed to generate jbi.xml

Embedded error: Unable to generate service unit descriptor!
another.AnotherServiceImpl


Note that I haven't declared that bean as a jsr181:endoint or jsr181:pojo!
-- 
View this message in context: 
http://www.nabble.com/Adding-local-%28non-JBI%29-Spring-dependencies-tf4223012s12049.html#a12013152
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to