Mule Echo组件更改了消息 [英] Mule Echo component changes the message

查看:94
本文介绍了Mule Echo组件更改了消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Mule Echo组件用于将当前消息输出到控制台.就文档而言,Echo组件不应以任何方式更改消息.但是,我注意到它确实对看似类似于对象到字符串"组件的消息产生了影响.

The Mule Echo component is meant to output the current message to the console. As far as the documentation goes the Echo component shouldn't change the message in any way. However I have noticed that it does have an effect on the message seemingly similar to an Object to String component.

这是预期的还是错误?

推荐答案

这是预期的结果.

使用<logger>消息处理器,它代替了过时的Echo组件,并且默认情况下不会记录消息有效负载,即默认情况下保持不变.

Use the <logger> message processor, which is a replacement of the obsolete Echo Component, and which doesn't log the message payload by default, i.e. leaving it intact by default.

这篇关于Mule Echo组件更改了消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆