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

Kevin.Conner@jboss.com do-not-reply at jboss.com
Tue Sep 22 10:31:22 EDT 2009


"tfennelly" wrote : From a users POV, I also don't like the idea of having to specify 2 classes i.e. the ContentBasedRouter action and the the cbrClass property to specify the ContentBasedRouter implementation (so... "....XPathRouter" and "....RegexRouter").  That sucks imo :)

Totally agree, which is why you shouldn't do that.  The cbrClass is there to provide the users with a way of overriding what we do, not configuring what we do.

At the moment that class has a default value for drools but only because that is the only one we support at present.  Add an attribute to override this, make it simple.  Why do yet another C&P job when it is not necessary?

Kev

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

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



More information about the jboss-dev-forums mailing list