Registry / messaging / librabbitmq

librabbitmq

JSON →
library0.15.0vcpkgunverified

A C-language AMQP client library for use with v2.0+ of the RabbitMQ broker.

vcpkg install librabbitmq
INSTALL
IMPORT
SIG · LIBRABBITMQ
L
librabbitmq
messagingcppv0.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

amqp.h
#include <amqp.h>

Open and close a RabbitMQ connection

#include <amqp.h> #include <amqp_tcp_socket.h> #include <iostream> int main() { amqp_connection_state_t conn = amqp_new_connection(); amqp_socket_t *socket = amqp_tcp_socket_new(conn); if (amqp_socket_open(socket, "localhost", 5672)) { std::cerr << "Failed to open socket\n"; return 1; } amqp_destroy_connection(conn); std::cout << "Connection closed\n"; }
Debug
Known issues
gotchaThis is a C library; C++ users must manage memory manually or wrap in RAII.
fix
Use a C++ wrapper or ensure proper cleanup with amqp_destroy_connection.
affects: *
Upgrade
Version history
0.15.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources

No resource links recorded.

librabbitmq — pip install librabbitmq · libregistry