bloomberg / rmqcpp

A batteries included C++ RabbitMQ Client Library/API.
Apache License 2.0
68 stars 16 forks source link

Implemented the onSuccess() callback #44

Open Pasick opened 4 months ago

Pasick commented 4 months ago

Problem statement

Current implementation of rmqcpp library only provides a callback when the connection is broken. There is no callback which allows to detect when connection is restored to provide a more flexible way to monitor the connection state.

Proposed changes

The onSuccess() callback is raised on connection restore.

Remaining work

willhoy commented 3 months ago

can you please sign your commit and we can get this merged thanks?

Learn more about signing commits.