문제

How do I clear the payload/set it to null in Mule? I've been using:

<set-payload value="" doc:name="Set Payload"/>

This works fine until I add an element to my flow using the GUI in Mule Studio, then the element changes to the following, which throws errors:

<set-payload  doc:name="Set Payload"/>

Thanks in advance.

도움이 되었습니까?

해결책

Try setting it explicitly to null:

<set-payload value="#[null]" doc:name="Set Payload"/>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top