11 Replies Latest reply on Sep 17, 2008 4:28 PM by Mike Trzcianowski

    Content Based Routing problem

    Mike Trzcianowski Newbie

      I'm setting up an action with content based router (cbr) but I keep getting this error:

      Caused by: org.jboss.soa.esb.services.routing.MessageRouterException: [4] Unable to expand: xpathEquals expr "xmldata/record/status", ""[13,2]: unkno
      wn:13:2 Unexpected token 'xpathEquals'


      my action looks like this:

       <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="ContentBasedRouter">
       <property name="ruleSet" value="CBRWorkRules.drl"/>
       <property name="ruleLanguage" value="XPathLanguage.dsl"/>
       <property name="ruleReload" value="true"/>
       <property name="destinations">
       <route-to destination-name="ok" service-category="XServices" service-name="Service2" />
       <route-to destination-name="invalid" service-category="XServices" service-name="FaultService" />
       </property>
       </action>
      


      Also, how would I implement something like (not xpathEquals)? What is the proper syntax for this?

      Thank you