get_routing_hash
faststream.rabbit.shared.schemas.get_routing_hash #
Calculate the routing hash for a RabbitMQ queue and exchange.
PARAMETER | DESCRIPTION |
---|---|
queue | The RabbitMQ queue. TYPE: |
exchange | The RabbitMQ exchange (optional). TYPE: |
RETURNS | DESCRIPTION |
---|---|
int | The routing hash as an integer. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/rabbit/shared/schemas.py
Last update: 2023-11-13