Rabbitmq-C / C++ : How to test connection to server

314 views
Skip to first unread message

Kiran D

unread,
Oct 11, 2016, 10:29:05 AM10/11/16
to rabbitmq-users
We are using the RabbitMQ C and C++ libraries in topic publish/subscribe model and have few questions on connection management:
  • Check Server Connection - Our client applications need to periodically test connection to the RabbitMQ broker. We did not find any library API to accomplish this. What is the recommended way of implementing a method such as CheckBrokerConnection().
  • Connection Recovery - Also noticed java and dotnet clients can be configured to connect in auto-recovery mode. There is no such option in C/C++ client. Any suggested way for implementing this?
  • Heartbeat - Rabbitmq supports heartbeats between clients and the broker. This is also available for java and dotnet clients but not the C++ client. Is there any plan to include this feature for C++ client?

Regards,
Kiran
Reply all
Reply to author
Forward
0 new messages