SolaceProducts / pubsubplus-go-client

A Solace PubSub+ Go Client
Apache License 2.0
6 stars 8 forks source link

ReconnectionAttemptListener is only invoked once, when disconnected #4

Closed tarjanik closed 2 years ago

tarjanik commented 2 years ago

Hi,

The reconnection attempt listener is only called once, when the Solace broker is disconnedted, then it is not actually invoked on reconnection attempts (as repoted in the logs from C code).

AddReconnectionAttemptListener(listener ReconnectionAttemptListener) uint64

Steps to reproduce:

ReconnectionAttemptListener will be called once

ReconnectionAttemptListener will not be called for any of the retries

ReconnectionListener will be called.

mvsolace commented 2 years ago

Hello,

The single reconnecting/reconnected event is by design and working as intended. As such, there are no current plans to change this in the near future.