springboot 和 rabbitmq 實現同步和異步隊列

異步隊列配置代碼 @Component @RabbitListener(bindings = {@QueueBinding(value = @Queue(value = "async"), exchange = @Exchange(value = "async.exchange"))}) public class AsyncConsumer { public void execute(M
相關文章
相關標籤/搜索