Amazon MQ - support for setting stomp hbGracePeriodMultiplier

0

We are using Amazon MQ (Apache MQ), along with STOMP to deliver content to our customers. We wish to keep the connection alive using heartbeats and on the client are setting incoming to 10s and outgoing to 10s, however we occasionally see heartbeat timeouts, I believe due to servers strict enforcement of timeouts.

For our local Apach MQ test server we can avoid this problem by setting "hbGracePeriodMultiplier=1.5" like so:

<transportConnectors>
   <transportConnector name="stomp" uri="stomp://localhost:61613?transport.hbGracePeriodMultiplier=1.5"/>
</transportConnectors>

See Active MQ documentation for Heatbeats: https://activemq.apache.org/stomp However on AWS MQ configuration for transportConnector (https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/permitted-attributes.html#transportConnector.attributes), there is no uri or relevant attribute listed.

Am I missing something - is anyone aware of a way to configure a heartbeat grace period on AWS MQ?

  • Good afternoon, this is setting can be changed but does require a a ticket logged with the support team. They will be able to make the change on your behalf.

已提問 2 年前檢視次數 251 次
1 個回答
0

Hi,

Thanks for reaching out. As RonnieR has mentioned, this can be changed with the assistance of the Support team. Please create a support case for the MQ service and our support engineers will work with you and the service team for this change.

Let us know if you have any questions. Thanks

AWS
支援工程師
Ryan_A
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南