上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 38 下一页
摘要: 配置类: package com.wangbiao.config.dynamic; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure 阅读全文
posted @ 2021-04-11 17:41 余生请多指教ANT 阅读(145) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-04-10 14:24 余生请多指教ANT 阅读(37) 评论(0) 推荐(0)
摘要: server: port: 9006 spring: application: name: cloud-zuul-wangbiao # zipkin: # base-url: http://localhost:9411/ #字符编码 # http: # encoding: # charset: UT 阅读全文
posted @ 2021-04-10 11:32 余生请多指教ANT 阅读(410) 评论(0) 推荐(0)
摘要: 转载于:https://my.oschina.net/u/4884318/blog/4908669 大牛 佩服此人 截取本人遇到的问题: “error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding” 当发现, 阅读全文
posted @ 2021-04-09 21:42 余生请多指教ANT 阅读(1850) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-04-08 19:24 余生请多指教ANT 阅读(167) 评论(0) 推荐(0)
摘要: SpringGateAway: 先进行鉴权,然后进行路由,日志什么等等 阅读全文
posted @ 2021-04-08 17:44 余生请多指教ANT 阅读(164) 评论(0) 推荐(0)
摘要: /** * 重复消费逻辑判断与处理 */ @Component public class RepeatMqConsumer { /** * 服务对象 */ private int count=1; @Autowired private DispatcherService dispatcherServ 阅读全文
posted @ 2021-04-08 10:20 余生请多指教ANT 阅读(569) 评论(0) 推荐(0)
摘要: #手动应答 #spring.rabbitmq.listener.simple.acknowledge-mode=manual #spring.rabbitmq.listener.simple.acknowledge-mode=none #不发生异常才应答 #spring.rabbitmq.liste 阅读全文
posted @ 2021-04-08 09:55 余生请多指教ANT 阅读(510) 评论(0) 推荐(0)
摘要: //备份队列 @Bean("alternate_queue") public Queue alternate_queue() { return new Queue("alternate_queue", true); } //备份交换机 @Bean("alternate_exchange") publ 阅读全文
posted @ 2021-04-08 09:44 余生请多指教ANT 阅读(104) 评论(0) 推荐(0)
摘要: @Bean public RabbitTemplate rabbitTemplate(CachingConnectionFactory factory) { //若使用confirm-callback ,必须要配置publisherConfirms 为true factory.setpublishe 阅读全文
posted @ 2021-04-08 08:12 余生请多指教ANT 阅读(593) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 38 下一页