Rule results

In general, a rule can return any type of result that makes sense for the business purpose of the rule. The return type on the fire() method is java.lang.Object so any Java object can be returned, including arrays. You cannot return a Java primitive since the results must be an object. However, you can return the object form of the primitives. For example, you can return a java.lang.Integer instead of an int. If the rule is fired remotely, the returned value must implement java.io.Serializable.


Related concepts
Overview of Business Rule Beans



Searchable topic ID:   cbrb_results
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/brb/concepts/cbrb_results.html

Library | Support | Terms of Use | Feedback