Spring集成SpEL:将传递消息记录为方法的参数
我是否可以将消息作为参数传递给SpEL中的方法,而不是头或负载:Spring集成SpEL:将传递消息记录为方法的参数,spring,spring-integration,spring-el,Spring,Spring Integration,Spring El,我是否可以将消息作为参数传递给SpEL中的方法,而不是头或负载: <logging-channel-adapter id="logger" channel="outputLoggingChannel" level="INFO" expression="T(xxx.XmlUtils).prettyPrint(message)" /> 任何帮助都将不胜感激。通过将#root作为参数传递,我们可以传递整个消息,包括头和负载 <logging-channel-ad
<logging-channel-adapter id="logger" channel="outputLoggingChannel" level="INFO" expression="T(xxx.XmlUtils).prettyPrint(message)" />
任何帮助都将不胜感激。通过将#root作为参数传递,我们可以传递整个消息,包括头和负载
<logging-channel-adapter id="logger" channel="outputLoggingChannel" level="INFO" expression="T(xxx.XmlUtils).prettyPrint(#root)" />