使用 Mule 4,我试图将消息发布到默认 amqp 交换,但我仍然得到
description=Exchange was not found.
detailedDescription=Exchange was not found.
errorType=AMQP:EXCHANGE_NOT_FOUND
这是我的 XML 代码:
<amqp:publish doc:name="Publish" doc:id="7282ee0e-9188-4a8a-a1f7-eefe5b98ce40"
config-ref="AMQP_Config" exchangeName="#['']">
<amqp:routing-keys >
<amqp:routing-key value="Test" />
</amqp:routing-keys>
<amqp:message>
<amqp:properties/>
</amqp:message>