DSL replaces DSLR by partial match in BRMS
Issue
- If I have DSL like followings, DSL matches DSLR by partial match. It's not an intuitive behaviour especially when I use DSL in Guvnor because I explicitly choose a DSL which I want to match (e.g. "Print hello with decoration").
DSL:
[consequence][]Print hello=System.out.println( "hello" );
[consequence][]Print hello with decoration=System.out.println( "*** hello ***");
DSLR:
rule "Hello World"
when
then
Print hello
Print hello with decoration
end
After expand:
package com.sample
rule "Hello World"
when
then
System.out.println( "hello" );
System.out.println( "hello" ); with decoration
end
Environment
- Red Hat JBoss BRMS
- 5.3.1
- 6.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.