edeposit_amqp_tool.py script¶
AMQP tool used for debugging and automatic RabbitMQ schema making.
- edeposit_amqp_tool.create_blocking_connection(*args, **kwargs)[source]¶
Return properly created blocking connection.
Parameters: host (str) – Host as it is defined in get_amqp_settings().
- edeposit_amqp_tool.create_schema(host)[source]¶
Create exchanges, queues and route them.
Parameters: host (str) – One of the possible hosts.
- edeposit_amqp_tool.get_list_of_hosts()[source]¶
Returns: List of strings with names of possible hosts. Return type: list