Getting a connection to the AMQP server.
alias of BrokerConnection
A network/socket connection to an AMQP message broker.
Parameters: |
|
---|
The hostname to the AMQP server
A valid username used to authenticate to the server.
The password used to authenticate to the server.
The name of the virtual host to work with. This virtual host must exist on the server, and the user must have access to it. Consult your brokers manual for help with creating, and mapping users to virtual hosts. Default is "/".
The port of the AMQP server. Default is 5672 (amqp).
Insist on connecting to a server. In a configuration with multiple load-sharing servers, the insist option tells the server that the client is insisting on a connection to the specified server. Default is False.
The timeout in seconds before we give up connecting to the server. The default is no timeout.
Use SSL to connect to the server. The default is False.
The messaging backend class used. Defaults to the pyamqplib backend.
Close the currently open connection.
Establish a connection to the AMQP server.
Create a new instance of the current backend in backend_cls.
Get the currently used backend class.
Request a new AMQP channel.
The host as a hostname/port pair separated by colon.
alias of DjangoBrokerConnection
A version of BrokerConnection that takes configuration from the Django settings.py module.
Parameters: |
|
---|