Hi,

How to reference beans defined into the main servicemix.xml file into one SU xml file ?

I am using SMX as web app, but I CAN'T let components see beans defined into main servicemix.xml... no "../" shortcut ?

While writing in a SU xml file:

 <jencks:connectionTracker id="connectionTracker"
   geronimoTransactionManager="#transactionManager" />

"#transactionManager" has to reference another bean into the *same* SU
xml file.

How to reference a bean in the main/general servicemix.xml file used to
start ServiceMix ?

OK, there is a FAQ entry "How do I share a single object between different service units?" about sharing objects into JDNI space. But is this working ? Is there no simpler solution for such common task ?

Thank you very much.

Regards,
Dominique




Reply via email to