【发布时间】:2015-07-18 20:06:47
【问题描述】:
我有一个问题,其中一个 mule 组件将有效负载对象转换为其他值。例如:假设我的有效载荷包含学生对象。 Student name的初始值=a;
我的第一个 mule 组件将学生姓名更改为 x;
Student s=new Student();
s.setName("x");
我的第二个 mule 组件从有效负载接收名称为 X。但我希望原始值为'a'。
我尝试检查 mule 的原始有效负载,但该值也发生了变化..
<flow .....
<component> </component> // 1st component
<component></component> //2nd component
</flow>
我想要两个组件中的相同有效负载(原始)(名称为 a 的学生对象)..我该怎么做? 我已经检查了原始有效负载,并且已经转换了..
谢谢
【问题讨论】:
标签: java spring mule mule-studio