Author: scabanovich
Date: 2010-11-09 09:32:22 -0500 (Tue, 09 Nov 2010)
New Revision: 26371
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/impl/BusinessRulesProcessor.java
Log:
JBIDE-7193
https://jira.jboss.org/browse/JBIDE-7193
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/impl/BusinessRulesProcessor.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/impl/BusinessRulesProcessor.java 2010-11-09
14:10:22 UTC (rev 26370)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/impl/BusinessRulesProcessor.java 2010-11-09
14:32:22 UTC (rev 26371)
@@ -6,6 +6,8 @@
private static final long serialVersionUID = 1L;
public static String ATTR_RULE_AGENT_PROPERTIES = "rule agent properties";
public static String ATTR_DECISION_TABLE = "decision table";
+ public static String ATTR_RULE_MAX_THREADS = "rule max threads";
+ public static String ATTR_RULE_MULTITHREAD_EVALUATION = "rule multithread
evaluation";
static int RULE_SET_BASED = 0;
static int RULE_AGENT_BASED = 1;
@@ -25,9 +27,8 @@
int kind = getKind();
return kind < 0 || kind == DECISION_TABLE_BASED;
}
- String ATTR_RULE_MAX_THREADS = "rule max threads";
if(ATTR_RULE_MAX_THREADS.equals(name)) {
- String a = getAttributeValue("rule multithread evaluation");
+ String a = getAttributeValue(ATTR_RULE_MULTITHREAD_EVALUATION);
if("true".equals(a)) return true;
String b = getAttributeValue(ATTR_RULE_MAX_THREADS);
return b != null && b.length() > 0;