Bug 826918

Summary: BusinessRulesProcessor action does not provide an option to set-up value of PSEUDO time
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Musharraf Hussain <mhussain>
Component: JBossESBAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.2.0 GACC: soa-p-jira
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Musharraf Hussain 2012-05-31 09:09:12 UTC
Description of problem:
- 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

Version-Release number of selected component (if applicable):
- JBoss Enterprise SOA Platform (SOA-P) 5.2.0
- JBoss ESB 4.10

How reproducible:
- Use the "org.jboss.soa.esb.actions.BusinessRulesProcessor" action and try to set PSEUDO time, but there is no property to set it.

Steps to Reproduce:
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,
  
Actual results:
- There is no available property which would allow to set-up the value of PSEUDO time.

Expected results:
- There should be a property which allows to set-up the value of PSEUDO time.

Additional info: