是打发付付付付付付
Posted 舒山
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了是打发付付付付付付相关的知识,希望对你有一定的参考价值。
private static final Logger LOGGER = LoggerFactory.getLogger(MultiConsumer.class);
private static final String TOPIC_EXCHANGE = "topicExchange1";
private static final String ROUTING_KEY = "topic.unique.key";
@RabbitListener(
bindings =
{
@QueueBinding(
value = @Queue(value = "topicQueue", durable = "true", exclusive = "false", autoDelete = "false"),
exchange = @Exchange(value = TOPIC_EXCHANGE, type = ExchangeTypes.TOPIC), key = ROUTING_KEY),
@QueueBinding(
value = @Queue(value = "topicQueue12", durable = "true", exclusive = "false", autoDelete = "false"),
exchange = @Exchange(value = TOPIC_EXCHANGE, type = ExchangeTypes.TOPIC), key = ROUTING_KEY)
})
public void dealMsg(String msg) {
LOGGER.info("收到到消息:{}", msg);
}
以上是关于是打发付付付付付付的主要内容,如果未能解决你的问题,请参考以下文章