This is the command line class. It reads arguments using the standard
python :class:optparse.OptionParser and uses py-amqplib to connect
to an AMQP Server.
The various methods in this class might serve as useful examples of
py-amqplib usage.
-
connect()[source]
Connect to the AMQP Server. The connection object wants the server’s
coordinates and the user credentials. Interaction with the server is
actually done with a amqplib.client_0_8.channel.Channel object.
-
check_exchange()[source]
Check to see if exchange exists
-
declare_exchange()[source]
Declare an exchange
-
delete_exchange()[source]
Delete an exchange
-
check_queue()[source]
Check to see if queue exists
-
declare_queue()[source]
Declare a queue
-
delete_queue()[source]
Delete a queue
-
purge_queue()[source]
Purge a queue