RabbitMQ 绑定规范

To setup RabbitMQ binding create a component of type . See this guide on how to create and apply a binding configuration.

Warning

以上示例将密钥明文存储, It is recommended to use a secret store for the secrets as described here.

元数据字段规范

此组件支持 输入和输出 绑定接口。

  • create

输出绑定支持的操作

可以在队列级别 ( 如上所述) 或消息级别定义生存时间。 在消息级别定义的值会覆盖在队列级别设置的任何值。

若要设置在消息级别生存的时间,请使用 metadata 请求正文中的元数据部分。

字段名为 ttlInSeconds

Priority can be defined at the message level. If maxPriority parameter is set, high priority messages will have priority over other low priority messages.

To set priority at message level use the section in the request body during the binding invocation.

The field name is priority.

相关链接