Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1147509

Summary: BPM/Rules properties are not set in org.kie.api.runtime.Environment
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Rick Wagner <rwagner>
Component: Rules / jBPM integrationAssignee: David Ward <dward>
Status: CLOSED UPSTREAM QA Contact: Matej Melko <mmelko>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: agiertli, kejohnso, oskutka, rcernich, soa-p-jira
Target Milestone: DR4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1145976 Environment:
Last Closed: 2025-02-10 03:43:09 UTC 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:
Bug Depends On: 1145976    
Bug Blocks:    

Description Rick Wagner 2014-09-29 12:42:02 UTC
+++ This bug was initially created as a clone of Bug #1145976 +++

Description of problem:

properties being set on SwitchYard's BPM and Rules components (via
<bpmroperties> or <rulesroperties>) are being passed into the
creation of a org.kie.api.runtime.KieSessionConfiguration, but not into
the org.kie.api.runtime.Environment.

Version-Release number of selected component (if applicable):
FSW 6.0.0
Issue is present in both SwitchYard 1.x and SwitchYard 2.x

How reproducible:

always

Steps to Reproduce:
1. Set some property on BPM component
2. Try to get its value from the jBPM process, using some script, i.e.
System.out.println("environment property value:"+kcontext.getKieRuntime().getEnvironment().get("org.kie.api.persistence.pessimistic"));

3. Value is null

I have attached a reproducer, just run the class ProcessOrderTest. In the log, there will be message:

"environment property value:null"

This indicates that the property is not set.

Actual results:

Property in BPM component is not set in org.kie.api.runtime.Environment

Expected results:

Property in BPM component is set in org.kie.api.runtime.Environment

Additional info:

Comment 6 Red Hat Bugzilla 2025-02-10 03:43:09 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.