1 Reply Latest reply on May 29, 2007 1:02 AM by beve

    Problems routing with Rules - JBossRulesRouter class not fou

    andre1001

      Hi,

      I've got this error trying to acess a JBoss Rules action from ESB (trunk version)

      java.lang.ClassNotFoundException: org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter


      <service
       category="Empresa"
       name="Endereco"
       description="Manipula as acoes com enderecos">
       <listeners>
       <jms-listener name="JMS-ESBListener" busidref="enderecoEsbChannel" maxThreads="1"/>
       </listeners>
       <actions>
       <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="ContentBasedRouter">
       <property name="ruleSet" value="RegrasParaEndereco.drl"/>
       <!-- <property name="ruleLanguage" value="RegrasParaEndereco.dsl"/> -->
       <property name="ruleReload" value="true"/>
       <property name="destinations">
       <route-to destination-name="gravaEndereco" service-category="Endereco" service-name="GravaEndereco" />
       <route-to destination-name="apagaEndereco" service-category="Endereco" service-name="ApagaEndereco" />
       </property>
       </action>
       </actions>
       </service>
      


      It seems something changed from MR2 to trunck version because there's no org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter in jbossesb-services.jar anymore. What is the correct class now!?

      Thanks.

        • 1. Re: Problems routing with Rules - JBossRulesRouter class not
          beve

          Hi,

          this file is now located in the jbossesb-jbrules.jar that is located in build/jbossesb/lib/jbossesb/lib/jbrules.esb directory. But that jar was not being included by the base-build.xml.
          I have updated samples/quickstart/conf/base-build.xml to reflect this change. Sorry for any inconvenience this caused you.

          Regards,

          Daniel