MQTT client does not reconnect on broker restart

Solution Unverified - Updated -

Issue

  • In AMQ 7, mqtt client is not able to reconnect to the broker in the event of a broker restart of failover.

The workaround is to call subscribe every time the client reconnects.

This was not required in AMQ 6, In AMQ 6, the mqtt client is able to reconnect to the broker without having to call the subscribe method

Environment

  • Red Hat AMQ
    • 7.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content