Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3810

BusinessRulesProcessor action does not provide an option to set-up value of PSEUDO time

    XMLWordPrintable

Details

    • Hide

      1. This is a sample jboss-esb.xml file where we are using "org.jboss.soa.esb.actions.BusinessRulesProcessor" action.

      <action class="org.jboss.soa.esb.actions.BusinessRulesProcessor"
      name="business_rule_processor">
      <property name="ruleSet" value="drl/sample.drl" />
      <property name="ruleReload" value="false" />
      <property name="stateful" value="true" />
      <property name="object-paths">
      <object-path esb="body.fetchDetails" />
      </property>
      <property name="ruleFireMethod" value="FIRE_UNTIL_HALT" />
      <property name="ruleClockType" value="PSEUDO" />
      <property name="ruleEventProcessingType" value="STREAM" />
      .....
      </property>
      </action>

      2. Try to set PSEUDO time as a property.
      3. There is no available property which would allow to set-up the value of PSEUDO time.

      Show
      1. This is a sample jboss-esb.xml file where we are using "org.jboss.soa.esb.actions.BusinessRulesProcessor" action. <action class="org.jboss.soa.esb.actions.BusinessRulesProcessor" name="business_rule_processor"> <property name="ruleSet" value="drl/sample.drl" /> <property name="ruleReload" value="false" /> <property name="stateful" value="true" /> <property name="object-paths"> <object-path esb="body.fetchDetails" /> </property> <property name="ruleFireMethod" value="FIRE_UNTIL_HALT" /> <property name="ruleClockType" value="PSEUDO" /> <property name="ruleEventProcessingType" value="STREAM" /> ..... </property> </action> 2. Try to set PSEUDO time as a property. 3. There is no available property which would allow to set-up the value of PSEUDO time.
    • Compatibility/Configuration
    • Medium

    Description

      • Currently there is no way to get SessionPseudoClock from BusinessRulesProcessor action to call SessionPseudoClock.advanceTime() . Thus, BusinessRulesProcessor action [1] does not provide an option to set-up value of PSEUDO time.

      [1] http://anonsvn.jboss.org/repos/labs/labs/jbossesb/tags/JBESB_4_10/product/services/jbrules/src/main/java/org/jboss/soa/esb/actions/BusinessRulesProcessor.java

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-mhussain Musharraf Hussain
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: