简体   繁体   English

什么是消息代理重试intval以及如何配置

[英]What is the Message broker retry intval and how to configure

I have used WSO2 Message Broker MB300 server for comiunicate each micro service. 我已使用WSO2 Message Broker MB300服务器来通信每个微服务。 That is using Topic connection. 那就是使用主题连接。

In the dash board "Durable Topic Subscriptions" section and "Number Of Messages Delivery Pending" column message showing as pending. 在仪表板的“持久主题订阅”部分和“消息传递待处理的数量”列中,消息显示为待处理。 That count getting increase. 这个数字越来越多。 Any configuration for Message delivery delay or retry interval? 邮件传递延迟或重试间隔是否有配置?

Redelivery delay is introduced from MB 3.2.0 version which can be set as a system property. MB 3.2.0版本引入了重新交付延迟,可以将其设置为系统属性。 System.setProperty("AndesRedeliveryDelay", "10000"); Also, maximum redelivery attempts can be set in broker.xml by setting the value as follows, <maximumRedeliveryAttempts>10</maximumRedeliveryAttempts> 另外,可以通过将值设置为<maximumRedeliveryAttempts>10</maximumRedeliveryAttempts> ,在broker.xml中设置最大重新交付尝试次数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM