Support of arrays in the TBEL script node
This commit is contained in:
parent
9bb4497f58
commit
b1cdfefecc
@ -124,7 +124,7 @@ public class RuleNodeTbelScriptEngine extends RuleNodeScriptEngine<TbelInvokeSer
|
||||
protected Object[] prepareArgs(TbMsg msg) {
|
||||
Object[] args = new Object[3];
|
||||
if (msg.getData() != null) {
|
||||
args[0] = JacksonUtil.fromString(msg.getData(), Map.class);
|
||||
args[0] = JacksonUtil.fromString(msg.getData(), Object.class);
|
||||
} else {
|
||||
args[0] = new HashMap<>();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user