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

Bug 1145976

Summary: BPM/Rules properties are not set in org.kie.api.runtime.Environment
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Anton Giertli <agiertli>
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: oskutka, rcernich, soa-p-jira
Target Milestone: CR1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1147509 (view as bug list) Environment:
Last Closed: 2025-02-10 03:43:03 UTC Type: Support Patch
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:    
Bug Blocks: 1146192, 1147509    
Attachments:
Description Flags
[0] reproducer none

Description Anton Giertli 2014-09-24 08:39:14 UTC
Created attachment 940703 [details]
[0] reproducer

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 2 Tomas Rohovsky 2015-02-09 13:36:24 UTC
Verified. Anton, thanks for the reproducer!

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