A lightweight RPC based on RabbitMQ.
Install the module using pip
:
pip install rmq-rpc
-
Multiple serializer types support
- Pickle (Enabled by default)
- JSON
- MsgPack
-
Task error handling
-
Task cancellation
See project examples
- Can I use a different exchange between server and client?
Certainly not. Because an 'exchange' is required to send a message to a specific queue associated with that exchange. So, you should use the same 'exchange'.
- What exchange types are supported?
I've tested it using the
direct
andtopic
exchange types it seems to work fine. Besides, it may not work.