问题描述
在 Anypoint Studio 中部署 mule 应用程序时出现以下错误:
org.mule.runtime.core.api.retry.policy.ConnectNotifier: Failed to connect/reconnect:
Message Source Reconnection. Root Exception was: An error occurred while executing the operation:
AUTHORIZE AGAINST broKER. Cause: Can not login into broker - 429 - Too Many Requests ({
"status" : "failure","statusMessage" : "Rate limit exceeded"
}).. Type: class com.mulesoft.mq.restclient.api.exception.RestException
在 MQ 选项的 Anypoint 平台队列中,我们使用了以下配置。
Message TTL - Default 7 Days so we kept as is
Default AckNowledgement Timeout - Default 2 Minutes so we kept as is
解决方法
这通常意味着使用相同凭据的客户端有太多并发操作。它可以是一个应用程序,也可以不止一个。
以防万一还要确保应用程序正在使用 last release of the Anypoint MQ connector。