[
https://jira.jboss.org/jira/browse/JBESB-2084?page=com.atlassian.jira.plu...
]
Jaroslaw Kijanowski commented on JBESB-2084:
--------------------------------------------
You haven't added the decision tables to your esb archive, modify build.xml and change
*.xls to decisionTables/*.xls
Moreover your Priority_Rules DT has a wrong import statement (wrong packages), should be:
org.jboss.soa.esb.message.Message, org.jboss.soa.esb.message.format.MessageType,
org.jboss.soa.esb.samples.quickstart.businessrules.dvdstore.OrderHeader,
org.jboss.soa.esb.samples.quickstart.businessrules.dvdstore.Customer
Finally your last rule looks invalid, remove it and run the test again, should work fine
now.
Decision Tables fail silently using BusinessRuleProcessor
---------------------------------------------------------
Key: JBESB-2084
URL:
https://jira.jboss.org/jira/browse/JBESB-2084
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.4
Reporter: Burr Sutter
Attachments: ABusiness_rules_service.zip
See attached example/quickstart. The following in the jboss-esb.xml
<action
class="org.jboss.soa.esb.actions.BusinessRulesProcessor"
name="calculateOrderPriority">
<property name="decisionTable"
value="decisionTables/Priority_Rules.xls" />
<property name="ruleReload" value="true" />
<property name="object-paths">
<object-path esb="body.orderHeader" />
<object-path esb="body.customer" />
</property>
</action>
Does nothing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira