[jboss-dev-forums] [JBoss ESB Development] - Re: XPath Routing

tfennelly do-not-reply at jboss.com
Tue Sep 22 07:48:14 EDT 2009


OK :)

The ContentBasedRouter interface is in the rosetta codebase, as is the ContentBasedRouterFactory, which is fine.  

The ContentBasedRouter and ContentBasedWiretap actions are in the jbrules service.  Seems to me like these should be in the rosetta codebase if they are supposed to allow a plugable ContentBasedRouter.

The ContentBasedWiretap class uses the ContentBasedRouterFactory to create the actual ContentBasedRouter impl (defaulting to the JBossRulesRouter)... lovely.  In reality, however, the ContentBasedWiretap is not at all generic, as it is littered with drools specific stuff.  I'd be curious to see what would actually happen if you configured a different "cbrClass" on that action - one that doesn't use rule files etc :)

Kev, what do you want to do about these issues (well... imo, they're issues if we want to use ContentBasedWiretap as a basis :) ) ?  I think they can be sorted out with effecting BC, but perhaps you don't want to do that.  Just let me know what you want.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256358#4256358

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256358



More information about the jboss-dev-forums mailing list