配置文件
rabbitmq:
customizeRoutingKey : hrmHomeSite
host: 127.0.0.1
port: 5672
listener:
simple:
acknowledge-mode: manual #手动签收
确认模式
AcknowledgeMode.NONE:不确认
AcknowledgeMode.AUTO:自动确认
AcknowledgeMode.MANUAL:手动确认
监听方法
配置文件
rabbitmq:
customizeRoutingKey : hrmHomeSite
host: 127.0.0.1
port: 5672
listener:
simple:
acknowledge-mode: manual #手动签收
确认模式
AcknowledgeMode.NONE:不确认
AcknowledgeMode.AUTO:自动确认
AcknowledgeMode.MANUAL:手动确认
监听方法