Bug 768864
| Summary: | spring drools knowledge agent scanning | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Radovan Synek <rsynek> |
| Component: | BRE (Expert, Fusion) | Assignee: | Mario Fusco <mfusco> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | BRMS 5.3.0.GA | CC: | mfusco, mproctor |
| Target Milestone: | ER6 | ||
| Target Release: | BRMS 5.3.0.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:14:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Mario Fusco <mario.fusco> updated the status of jira JBRULES-3474 to Resolved I added an optional boolean attribute "enabled" to the resource-change-scanner element that, when set to true, starts the scanner and notifier service automatically. Update status to ON_QA. Please verify them against ER6. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |
Having following spring configuration: <drools:kbase id="kbase"/> <drools:kagent id="kagent" kbase="kbase" new-instance="false"> <drools:resources> <drools:resource type="DRL" source="classpath:org/jboss/qa/brms/bre/container/spring/rules/sample.drl"/> </drools:resources> </drools:kagent> <drools:resource-change-scanner id="scanner" interval="1" /> -------------------------------------------------------------------------------- Expecting resource scanning by knowledge agent is configured and running, but no change in resource file detected. This is because ResourceChangeNotifierService and ResourceChangeScannerService are not running, they must be started manually: ResourceFactory.getResourceChangeNotifierService().start(); ResourceFactory.getResourceChangeScannerService().start(); I think these services should be started automatically when resource-change-scanner is configured in spring context or there should be chance to configure service starting from xml.