azure-sdk-for-cpp/sdk/core/azure-core-amqp
Anton Kolesnyk 6da4d9649d
FIx typos (#5185)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-27 13:55:27 -08:00
..
inc Moved all uAMQP types out of public headers into _impl headers (#5171) 2023-11-17 09:32:06 -08:00
samples Moved all uAMQP types out of public headers into _impl headers (#5171) 2023-11-17 09:32:06 -08:00
src Moved all uAMQP types out of public headers into _impl headers (#5171) 2023-11-17 09:32:06 -08:00
test FIx typos (#5185) 2023-11-27 13:55:27 -08:00
vcpkg Make vcpkg.json comment multiline (#5175) 2023-11-21 17:06:37 -08:00
vendor/azure-uamqp-c Fixed Linux AMQP crash and many other fixes. (#5166) 2023-11-14 23:45:24 +00:00
cgmanifest.json Small cleanup around AMQP dependencies (#5083) 2023-10-28 22:28:51 +00:00
CHANGELOG.md Fixed Linux AMQP crash and many other fixes. (#5166) 2023-11-14 23:45:24 +00:00
CMakeLists.txt Moved all uAMQP types out of public headers into _impl headers (#5171) 2023-11-17 09:32:06 -08:00
cspell.json Merge AMQP functionality to main. (#4596) 2023-05-10 20:58:39 +00:00
NOTICE.txt Merge AMQP functionality to main. (#4596) 2023-05-10 20:58:39 +00:00
README.md Convert most AMQP types to read-only; Significant API surface cleanup. (#4640) 2023-05-26 13:17:09 -07:00
vcpkg.json Vendor AMQP at commit 52942afb1a4b48a1d8af7a3ac37d3211661e3423 (#5049) 2023-10-25 11:19:20 -07:00

Azure SDK AMQP Library for C++

Azure::Core::Amqp (azure-core-amqp) provides an implementation to enable developers to create Azure SDKs which consume the AMQP protocol. Note that this is NOT a general purpose AMQP library, it is intended solely for the purposes of building Azure C++ SDK clients which communicate with Azure services over AMQP.

Getting started

Include the package

The easiest way to acquire the AMQP library is leveraging vcpkg package manager. See the corresponding Azure SDK for C++ readme section.

To install Azure Core AMQP package via vcpkg:

> vcpkg install azure-core-amqp-cpp

Then, use in your CMake file:

find_package(azure-core-amqp-cpp CONFIG REQUIRED)
target_link_libraries(<your project name> PRIVATE Azure::azure-core-amqp)

Key concepts

The AMQP Protocol is a relatively complicated protocol which is used by Azure services to communicate with clients. This library provides a set of classes which can be used to build Azure SDK clients which communicate with Azure services over AMQP.

The AMQP library provides the following classes:

  • AmqpClient - The basic client used to communicate with the AMQP server.
  • MessageSender - A class which is used to send messages to an AMQP server.
  • MessageReceiver - A class which is used to receive messages from an AMQP server.

Examples

Next steps

You can build and run the tests locally by executing azure-core-amqp-test. Explore the test folder to see advanced usage and behavior of the public classes.

Troubleshooting

If you run into issues while using this library, please feel free to file an issue.

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

License

Azure SDK for C++ is licensed under the MIT license.

Impressions