mirror of
https://github.com/vxcontrol/lualibs-amqp.git
synced 2026-07-01 08:47:26 -04:00
e41241a048da2f8522f4aa4642ac24a26ae38959
LUA-AMQP
Lua Client for AMQP 0.9.1, while this has been tested only with RabbitMQ it should work with any other AMQP 0.9.1 broker.
This library is fork of :
https://github.com/mengz0/amqp
https://github.com/ZigzagAK/amqp
This library at the moment supports ngx.socket and socket, it can be used with luajit and does not have to be used only in OpenResty. it is also cqueues compatible, with wokring SSL.
Additional features
This fork contains the code that is missing in the original library.
- Decode all AMQP packets
- Several other fixes
- Examples on how to use this library.
- Removed not working bitopers.lua, also not needed for my use case.
Requirements
- LuaJIT 2.1
- busted 2.0 (Testing framework)
- luabitop (if you are using lua 5.1)
Examples
Please look at the example directory instead.
- lua inspect is needed by the example, though you are of course free not to use it and remove it.
luarocks install inspect
luarocks install lua-resty-uuid
luarocks install argparse
Description
Languages
Lua
100%