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

    Problems routing with Rules - JBossRulesRouter class not fou

    Andre Fernando Salvati Novice

      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.