public class RuleSession extends Object
| Constructor and Description |
|---|
RuleSession(Session session) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMElement |
execute(org.apache.axiom.om.OMElement inputElement,
org.wso2.carbon.rule.common.Input input,
org.wso2.carbon.rule.common.Output output)
This method converts the OMElement messages received to POJO format using Axis2 BeanUtil class and converts
the results back to OMElement form.
|
public RuleSession(Session session)
public org.apache.axiom.om.OMElement execute(org.apache.axiom.om.OMElement inputElement,
org.wso2.carbon.rule.common.Input input,
org.wso2.carbon.rule.common.Output output)
throws org.wso2.carbon.rule.common.exception.RuleRuntimeException
inputElement - - in comming message OMElementinput - - input configuration which specify which classes to be used with which Elements.output - - output configuration to be used to convert the results back to OMElementsorg.wso2.carbon.rule.common.exception.RuleRuntimeException - - if there are problems with the configurationCopyright © 2015 WSO2. All rights reserved.