Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-428

ServiceMix Drools Enhancements

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      To be complete the servicemix 3.2.1 drools components, require some enhancements:

      1) There's the need to support a default destination, where exchange will be routed if none rules in the drools file is verified.
      To support this, we need to provide a way to specify default destinations. there will be a defaultTargetService ( QName ) attribute and a defaultTargetURI attribute in drools endpoint class. ( defaultTargetURI will have the precedence on defaultTargetServiceAttribute)

      2) We must add the possibility to configure not only global "objects" for memory but also a list of "asserted objects" to be asserted in memory ( so it's possible to use that objects in LHS part of rules )

      3) The actual code of jbi helper does not care about sender and correlation id.

      4) We need a method in jbi helper object to support the concept of fault withn the flow, ( to default destination ) without generate a jbi fault. a fault in flow from jbi point of view is a "correct" normalized message.

      The attached patches solve all the above in a very generic way.

      Attachments

        1. JbiHelper.java.patch
          2 kB
          Andrea Zoppello
        2. DroolsEndpoint.java.patch
          3 kB
          Andrea Zoppello

        Activity

          People

            gnodet Guillaume Nodet
            zoppello Andrea Zoppello
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: