Skip to content

kingback1/SimpleAmqpClient-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleAmqpClient-examples

SimpleAmqpClient is an easy-to-use C++ wrapper around the rabbitmq-c C library. Here is the examples for SimpleAmqpClient library application.

Installing

  • protobuf, use the specified SHA1 code:ab2094de11155ffa57e7d38a9b996dd038af981e

  • rabbitmq-c, ENABLE_SSL_SUPPORT=OFF unable OpenSSL thread-safety, it's not necessary.

  • SimpleAmqpClient

note

std::string BasicConsume(const std::string &queue,
                         const std::string &consumer_tag = "",
                         bool no_local = true,
                         bool no_ack = true,
                         bool exclusive = true,
                         boost::uint16_t message_prefetch_count = 1);

the param "exclusive" true for only one client to access the queue, false is for multithread client to access the queue.

Docs

protobuf: https://developers.google.com/protocol-buffers/

About

SimpleAmqpClient examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published