[jboss-svn-commits] JBL Code SVN: r8975 - labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/src/services/rules.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Jan 22 14:41:14 EST 2007


Author: kurt.stam at jboss.com
Date: 2007-01-22 14:41:14 -0500 (Mon, 22 Jan 2007)
New Revision: 8975

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/src/services/rules/XPathLanguage.dsl
Log:
Adding dsl file to make eclipse expand error go away.

Added: labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/src/services/rules/XPathLanguage.dsl
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/src/services/rules/XPathLanguage.dsl	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/fun_cbr/src/services/rules/XPathLanguage.dsl	2007-01-22 19:41:14 UTC (rev 8975)
@@ -0,0 +1,7 @@
+#JBossESB Content Based Routing using XPath DSL
+[when]xpathMatch "{xpath}"=msg : Message( type == MessageType.JBOSS_XML ) and eval( org.jboss.internal.soa.esb.services.routing.cbr.DslHelper.xmlContentMatches(msg, "{xpath}") )
+[when]xpathEquals "{xpath}", "{value}"=msg : Message( type == MessageType.JBOSS_XML ) and eval( org.jboss.internal.soa.esb.services.routing.cbr.DslHelper.xmlContentEquals(msg, "{xpath}", "{value}") )
+[when]xpathGreaterThan "{xpath}", "{value}"=msg : Message( type == MessageType.JBOSS_XML ) and eval( org.jboss.internal.soa.esb.services.routing.cbr.DslHelper.xmlContentGreaterThan(msg, "{xpath}", "{value}") )
+[when]xpathLessThan "{xpath}", "{value}"=msg : Message( type == MessageType.JBOSS_XML ) and eval( org.jboss.internal.soa.esb.services.routing.cbr.DslHelper.xmlContentLessThan(msg, "{xpath}", "{value}") )
+[then]Log : "{message}"=System.out.println("{message}");
+[then]Destination : "{message}"=destinationServices.add("{message}");




More information about the jboss-svn-commits mailing list