[jboss-jira] [JBoss JIRA] (JBRULES-3474) Allow to start knowledge agent scanning from drools spring configuration
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Mon Apr 23 15:01:19 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12686803#comment-12686803 ]
RH Bugzilla Integration commented on JBRULES-3474:
--------------------------------------------------
Anne-Louise Tangring <atangrin at redhat.com> made a private comment on [bug 768864|https://bugzilla.redhat.com/show_bug.cgi?id=768864]
> Allow to start knowledge agent scanning from drools spring configuration
> ------------------------------------------------------------------------
>
> Key: JBRULES-3474
> URL: https://issues.jboss.org/browse/JBRULES-3474
> Project: Drools
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Fix For: 5.3.2.Final, 5.4.0.Final
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list