[jboss-svn-commits] JBL Code SVN: r15700 - in labs/jbossesb/trunk/product: rosetta/src/org/jboss/soa/esb/services/routing/cbr and 2 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Oct 9 20:19:18 EDT 2007
Author: mark.little at jboss.com
Date: 2007-10-09 20:19:17 -0400 (Tue, 09 Oct 2007)
New Revision: 15700
Modified:
labs/jbossesb/trunk/product/docs/services/ContentBasedRouting.odt
labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/services/routing/cbr/ContentBasedRouter.java
labs/jbossesb/trunk/product/services/jbrules/src/main/java/org/jboss/internal/soa/esb/services/routing/cbr/JBossRulesRouter.java
labs/jbossesb/trunk/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/ContentBasedRouter.java
Log:
http://jira.jboss.com/jira/browse/JBESB-1074
Modified: labs/jbossesb/trunk/product/docs/services/ContentBasedRouting.odt
===================================================================
(Binary files differ)
Modified: labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/services/routing/cbr/ContentBasedRouter.java
===================================================================
--- labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/services/routing/cbr/ContentBasedRouter.java 2007-10-09 23:09:57 UTC (rev 15699)
+++ labs/jbossesb/trunk/product/rosetta/src/org/jboss/soa/esb/services/routing/cbr/ContentBasedRouter.java 2007-10-10 00:19:17 UTC (rev 15700)
@@ -28,20 +28,19 @@
import org.jboss.soa.esb.message.Message;
import org.jboss.soa.esb.services.routing.MessageRouterException;
-
-
/**
- * Content Based Router Interface.
+ * Content Based Router Interface. Separates implementation from the runtime, allowing
+ * the ESB to support different ways of doing CBR.
*
* @author kurt.stam at redhat.com
*
*/
public interface ContentBasedRouter
-{
+{
public abstract void setConfigTree(ConfigTree configTree);
/**
- * Route a message using a certain ruleSet wich and reference a custom
+ * Route a message using a certain ruleSet and reference a custom
* Domain Specific Language (DSL).
*
* @param ruleSet -
Modified: labs/jbossesb/trunk/product/services/jbrules/src/main/java/org/jboss/internal/soa/esb/services/routing/cbr/JBossRulesRouter.java
===================================================================
--- labs/jbossesb/trunk/product/services/jbrules/src/main/java/org/jboss/internal/soa/esb/services/routing/cbr/JBossRulesRouter.java 2007-10-09 23:09:57 UTC (rev 15699)
+++ labs/jbossesb/trunk/product/services/jbrules/src/main/java/org/jboss/internal/soa/esb/services/routing/cbr/JBossRulesRouter.java 2007-10-10 00:19:17 UTC (rev 15700)
@@ -115,7 +115,7 @@
/**
* Route the message, where the routing rules are supplied as part of the
* message itself. We don't support this yet, as I don't see the need right
- * now. However when the need arises, this is were it goes.
+ * now. However when the need arises, this is where it goes.
*
* @param ruleSet -
* Filename of the drl that will be used.
Modified: labs/jbossesb/trunk/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/ContentBasedRouter.java
===================================================================
--- labs/jbossesb/trunk/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/ContentBasedRouter.java 2007-10-09 23:09:57 UTC (rev 15699)
+++ labs/jbossesb/trunk/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/ContentBasedRouter.java 2007-10-10 00:19:17 UTC (rev 15700)
@@ -28,6 +28,8 @@
import org.jboss.soa.esb.services.registry.RegistryException;
import org.jboss.soa.esb.services.routing.MessageRouterException;
/**
+ * The CBR action that drives the CBR implementation dynamically.
+ *
* @author <a href="mailto:schifest at heuristica.com.ar">schifest at heuristica.com.ar</a>
* @author kstam at jboss.com
*
@@ -38,7 +40,7 @@
{
super(config) ;
}
- /** Router the message to one or more destinations, using the ContentBasedRouter to figure out
+ /** Route the message to one or more destinations, using the ContentBasedRouter to figure out
* to which destinations it is going to be routed too.
*
* @param message
More information about the jboss-svn-commits
mailing list