问题描述
我正在创建一个用于SCDF流的spring cloud stream应用程序。我正在尝试从应用程序属性设置使用者绑定的max-priority属性。但是创建的队列不是优先级队列。 如果在创建流时将maxPriority用作部署程序属性,则可以创建优先级队列。
我在Yaml中使用的设置如下:-
spring:
cloud:
stream:
rabbit:
bindings:
input:
consumer:
maxPriority: 10
我正在使用2.1.3版本的Spring Cloud Rabbit活页夹
不能使用应用程序yml文件设置此属性吗?流中有很多应用程序,通过部署程序属性传递此属性非常麻烦。