3 Replies Latest reply on Oct 26, 2010 7:00 AM by Tom Fennelly

    Problem with CBR + DRL

    Giovanni Marigi Newbie

      Hi,

      I'm a newbie of jboss esb and I'm trying to use some ready examples to better understand the features of esb.

      My configuration is: jboss as 5.1.0GA + jboss esb 4.9

       

      I have a problem with a Content Based Router action based on a drl file;

      when my service invokes the ContentBasedRouter action I got this exception:

       

      org.jboss.soa.esb.couriers.FaultMessageException: org.jboss.soa.esb.actions.ActionProcessingException: No rule destination(s) [dest2, dest1] were matched, . Please fix your configuration and/or routing rules.
          at org.jboss.soa.esb.listeners.message.errors.Factory.createExceptionFromFault(Factory.java:50)
          at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCourierImpl.java:207)
          at org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.attemptDelivery(ServiceInvoker.java:675)
          at org.jboss.soa.esb.client.ServiceInvoker$EPRInvoker.access$200(ServiceInvoker.java:569)
          at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:359)
          at org.jboss.soa.esb.client.ServiceInvoker.deliverSync(ServiceInvoker.java:219)
          at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSyncWithoutDecomposing(UncomposedMessageDeliveryAdapter.java:107)
          at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSync(UncomposedMessageDeliveryAdapter.java:86)
          at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.invoke(JBossRemotingGatewayListener.java:375)
          at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
          at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:379)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
          at java.lang.Thread.run(Thread.java:619)
      Caused by: org.jboss.soa.esb.actions.ActionProcessingException: No rule destination(s) [dest2, dest1] were matched, . Please fix your configuration and/or routing rules.
          at org.jboss.soa.esb.actions.ContentBasedWiretap.process(ContentBasedWiretap.java:182)
          at org.jboss.soa.esb.actions.ContentBasedRouter.process(ContentBasedRouter.java:58)
          at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)
          at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)
          at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)
          at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          ... 1 more

       


      I attached the esb file

       

      I use a request through soapui the invoke the service.

       

      Thanks to everybody!

       

      Giovanni