Each JBI component has the META-INF/spring.handlers file registering the XBean namespace handler. Spring-DM introspects all the bundles for such files, and simply call the registered namespace handler which happen to be provided by XBean. Then, XBean finds the meta data needed inside the component bundle because the bundle takes care of exporting the needed package. XBean has a dynamic import package on META-INF.services.org.apache.xbean.spring.* which is the reason why it can find the metdata. Does it help a bit ?
On Wed, Dec 3, 2008 at 3:15 PM, Jon Brisbin <[EMAIL PROTECTED]> wrote: > I fashion myself a reasonably intelligent individual and I can't for the > life of me understand how to make Spring DM use the ActiveMQ XBean mapping > in either Felix or dm Server! I read every post or message on this topic I > could find and the scattered information never fleshes out a full scenario. > They only give you bits and pieces. > > How does ServiceMix get their custom NamespaceHandlers recognized? Does it > use a fragment? To what host does it attach in the Fragment-Host? > > I've spent several days experimenting with different things and I just can't > figure this out. Any help you could give would be greatly appreciated! :) > > Thanks! > > Jon Brisbin > http://jbrisbin.com > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
