| Summary: | CCE when using negative patterns without turning on STREAM mode | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Marek Winkler <mwinkler> |
| Component: | BRE | Assignee: | Mario Fusco <mfusco> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas David <tdavid> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | ||
| Target Milestone: | ER4 | ||
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 20:19:26 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: | |
|
Description
Marek Winkler
2013-09-06 10:43:44 UTC
It is not possible to raise a compilation error in this case because the EventProcessingMode is a KieBase option and then it is not available at compile time. What I did is to throw a RuntimeException when you try to create such a kieBase saying: java.lang.RuntimeException: The requested KieBase "KBase" has been set to run in CLOUD mode but requires features only available in STREAM mode I added a test case demonstrating this here: https://github.com/droolsjbpm/drools/blob/69dd8626bb40cd86dd59247a908aa8f212b5eb84/drools-compiler/src/test/java/org/drools/compiler/integrationtests/CepEspTest.java#L3210 Verified on BRMS 6.0.0.ER4. |