Mule
  1. Mule
  2. MULE-1115

Example app to illustrate using a Rules Engine with Mule

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: Examples / Tutorials
    • Labels:
      None
    • User impact:
      High
    • Similar Issues:
      MULE-1114Example app to illustrate using the BPM connector
      MULE-1455Example showing how to use Mule with a BPEL Engine
      MULE-3982Create a test case and example to illustrate how to use sessions w/ Mule
      MULE-60Support for a Rules Engine in Mule
      MULE-6177Bookstore example should run deployed in an app server with MMC
      MULE-5714Running mvn on example launcher generates mule-example-launcher.zip (no version) in the apps directory.
      MULE-1401Bundle a JDK 1.4-compatible (retrotranslated) version for script engines
      MULE-3466Distribute Saxon as Mule's default XSLT engine
      MULE-8462Mule app ssl certificates conflict in mutual authentication
      MULE-3185JMS connector violates J2EE rule using websphere

      Description

      Create a variation of the LoanBroker-ESB example which uses JBoss Rules for decision making (determining which bank to consult for a loan based on the customer's credit rating and loan amount).

        Issue Links

          Activity

          Travis Carlson created issue -
          Travis Carlson made changes -
          Field Original Value New Value
          Link This issue relates to MULE-1114 [ MULE-1114 ]
          Travis Carlson made changes -
          Link This issue is blocked by MULE-60 [ MULE-60 ]
          Andrew Perepelytsya made changes -
          Workflow No "Resolved" state, added "Pending 3rd-Party" state [ 17269 ] Release Mode Workflow [ 19554 ]
          Andrew Perepelytsya made changes -
          Workflow Release Mode Workflow [ 19554 ] No "Resolved" state, added "Pending 3rd-Party" state [ 21300 ]
          Andrew Perepelytsya made changes -
          Workflow No "Resolved" state, added "Pending 3rd-Party" state [ 21300 ] Release Mode Workflow [ 23192 ]
          Andrew Perepelytsya made changes -
          Workflow Release Mode Workflow [ 23192 ] Main Mule Workflow [ 24866 ]
          Andrew Perepelytsya made changes -
          Workflow Main Mule Workflow [ 24866 ] Copy of Main Mule Workflow [ 27548 ]
          Andrew Perepelytsya made changes -
          Workflow Copy of Main Mule Workflow [ 27548 ] Main Mule Workflow [ 28901 ]
          Andrew Perepelytsya made changes -
          Workflow Main Mule Workflow [ 28901 ] Copy of Main Mule Workflow [ 31870 ]
          Andrew Perepelytsya made changes -
          Workflow Copy of Main Mule Workflow [ 31870 ] Main Mule Workflow [ 33927 ]
          Andrew Perepelytsya made changes -
          Workflow Main Mule Workflow [ 33927 ] Copy of Main Mule Workflow [ 35060 ]
          Travis Carlson made changes -
          Comment [ prueba ]
          Travis Carlson made changes -
          Component/s Transport: Rules Engine [ 10261 ]
          Andrew Perepelytsya made changes -
          Workflow Copy of Main Mule Workflow [ 35060 ] Fixed Main Mule Workflow (after JIRA upgrade) [ 60850 ]
          Andrew Perepelytsya made changes -
          Workflow Fixed Main Mule Workflow (after JIRA upgrade) [ 60850 ] Copy of Main Mule Workflow [ 64753 ]
          Andrew Perepelytsya made changes -
          Workflow Copy of Main Mule Workflow [ 64753 ] Fixed Main Mule Workflow (after JIRA upgrade) [ 68535 ]
          Ross Mason made changes -
          Assignee Ross Mason [ ross ]
          Hide
          Ross Mason added a comment -

          There is no rules engine connector

          Show
          Ross Mason added a comment - There is no rules engine connector
          Ross Mason made changes -
          Resolution Won't Fix or Usage Issue [ 2 ]
          Status Open [ 1 ] Closed [ 6 ]
          Travis Carlson made changes -
          Resolution Won't Fix or Usage Issue [ 2 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Affects Docs [Yes]
          Assignee Ross Mason [ ross ] Travis Carlson [ tcarlson ]
          Travis Carlson made changes -
          Summary Example app to illustrate using the Rules Engine connector Example app to illustrate using a Rules Engine with Mule
          Fix Version/s 3.2.0 [ 10942 ]
          User impact High
          Travis Carlson made changes -
          Status Reopened [ 4 ] In Progress [ 3 ]
          Hide
          Travis Carlson added a comment -

          Added a simple CEP example for now:
          http://fisheye.codehaus.org/changelog/mule/?cs=20896

          Show
          Travis Carlson added a comment - Added a simple CEP example for now: http://fisheye.codehaus.org/changelog/mule/?cs=20896
          Show
          Travis Carlson added a comment - http://fisheye.codehaus.org/changelog/mule/?cs=21596
          Travis Carlson made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Hide
          Travis Carlson added a comment -

          Note: We still need to incorporate this into the examples launcher.

          Show
          Travis Carlson added a comment - Note: We still need to incorporate this into the examples launcher.
          Hide
          Andrew Perepelytsya added a comment - - edited

          Either file and link (as a blocker level) the issue to update mule-examples-launcher or don't close this issue, please.

          Show
          Andrew Perepelytsya added a comment - - edited Either file and link (as a blocker level) the issue to update mule-examples-launcher or don't close this issue, please.
          Andrew Perepelytsya made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Travis Carlson made changes -
          Link This issue is blocked by MULE-5501 [ MULE-5501 ]
          Hide
          Sebastian Daniel added a comment -

          Thanks for your work.

          Tested the example, it works fine but I had to change a litte in TickFeed.java to get it working:

          private static final MessageFormat lineFormat = new MessageFormat("

          {0,number,0}

          ;

          {1}

          ;

          {2,number,currency}

          ", Locale.US);

          Setting Locale to US is important.
          Otherwise the parsing will fail for most of the people as it'll expect Euros, Yens, Rupees etc.

          Show
          Sebastian Daniel added a comment - Thanks for your work. Tested the example, it works fine but I had to change a litte in TickFeed.java to get it working: private static final MessageFormat lineFormat = new MessageFormat(" {0,number,0} ; {1} ; {2,number,currency} ", Locale.US); Setting Locale to US is important. Otherwise the parsing will fail for most of the people as it'll expect Euros, Yens, Rupees etc.
          Hide
          Travis Carlson added a comment -

          Thanks for the feedback Daniel, I have now added the Locale.

          Show
          Travis Carlson added a comment - Thanks for the feedback Daniel, I have now added the Locale.
          Hide
          Travis Carlson added a comment -

          This has now been added to the Examples Launcher.

          http://fisheye.codehaus.org/changelog/mule/?cs=22163

          Show
          Travis Carlson added a comment - This has now been added to the Examples Launcher. http://fisheye.codehaus.org/changelog/mule/?cs=22163
          Travis Carlson made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Show
          Travis Carlson added a comment - And even documented! http://www.mulesoft.org/documentation/display/MULE3EXAMPLES/CEP+Example
          Hide
          Sebastian Daniel added a comment -

          Great! Also the documentation.
          One proposal: I think Drools Fusion would be a better Link for "Complex Event Processing" than Drools Expert http://www.jboss.org/drools/drools-fusion.html

          Show
          Sebastian Daniel added a comment - Great! Also the documentation. One proposal: I think Drools Fusion would be a better Link for "Complex Event Processing" than Drools Expert http://www.jboss.org/drools/drools-fusion.html
          Hide
          Travis Carlson added a comment -

          Oops, yes drools-fusion was what I meant to put there, thanks.

          Show
          Travis Carlson added a comment - Oops, yes drools-fusion was what I meant to put there, thanks.
          Ramiro Rinaudo made changes -
          Workflow Fixed Main Mule Workflow (after JIRA upgrade) [ 68535 ] Main Mule Workflow v1.0 [ 140182 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          780d 5h 40m 1 Ross Mason 29/Nov/08 07:34 PM
          Reopened Reopened In Progress In Progress
          1m 16s 1 Travis Carlson 05/Jan/11 07:13 AM
          In Progress In Progress Closed Closed
          75d 4h 25m 1 Travis Carlson 21/Mar/11 12:39 PM
          Closed Closed Reopened Reopened
          767d 6h 56m 2 Andrew Perepelytsya 22/Mar/11 07:57 AM
          Reopened Reopened Closed Closed
          80d 4h 13m 1 Travis Carlson 10/Jun/11 12:11 PM

            People

            • Assignee:
              Travis Carlson
              Reporter:
              Travis Carlson
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development