Sami Dalouche wrote:
Hi, I'd like to embed serviceMix and JBI components using Spring. However, it looks like there are 2 ways of doing it : - the standard Spring way, which should work without any problem, but isn't as pleasant as the other way - the ServiceMix's way, which uses a slightly modified Spring config file. However, I don't understand how Spring can understand this configuration file. If I add such a file to the list of my Spring files (in a WAR), it won't understand the container, components, etc tags. Is there some additional component to deploy inside the Spring context that will understand these tags ? Or do I have to use a modified version of spring ?
The current extended XML mechanism uses a snapshot of the Spring CVS repository which has the XML extension feature.
Unfortunately this has never been officially released yet - the Spring folks have not yet decided how/when to support custom XML extension in Spring.
So to avoid depending on a custom version of Spring, we're gonna move the XML extension code into a sister project (http://gbean.org/) so we will have GBean versions of the common Spring classes (like ClassPathXmlApplicationContext etc) which will understand extensible XML for Spring.
For more background on this see... http://radio.weblogs.com/0112098/2005/06/10.html#a527 -- James ------- http://radio.weblogs.com/0112098/
