[jboss-jira] [JBoss JIRA] (DROOLS-407) kieBaseConfiguration.setOption(RuleEngineOption.RETEOO); without drools-reteoo.jar in the classpath should fail fast instead of a warning

Geoffrey De Smet (JIRA) issues at jboss.org
Mon Jan 20 04:41:28 EST 2014


    [ https://issues.jboss.org/browse/DROOLS-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12936858#comment-12936858 ] 

Geoffrey De Smet commented on DROOLS-407:
-----------------------------------------

This is like going to the restaurant and ordering a steak.
And then the waiter brings you salmon because he's out of steaks.

If there's not steaks, I want the waiter to come back and tell me there are no steaks.
Not just bring me something else which he tries to pass off as steak.
                
> kieBaseConfiguration.setOption(RuleEngineOption.RETEOO); without drools-reteoo.jar in the classpath should fail fast instead of a warning
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-407
>                 URL: https://issues.jboss.org/browse/DROOLS-407
>             Project: Drools
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>            Reporter: Geoffrey De Smet
>            Assignee: Mark Proctor
>
> If a user explicitly asks for RETEOO
>   kieBaseConfiguration.setOption(RuleEngineOption.RETEOO);
> and drools-reteoo.jar is not on the classpath, it should crash and burn.
> Not happily continue while logging a warning (which might not be seen).
> Lost a bunch of benchmarks due to this and lead invalid conclusions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list