A factory method for Transport objects.
This method will construct a Transport object from transport configuration gleaned from the user’s configuration and, optionally, a transport URL.
If a transport URL is supplied as a parameter, any transport configuration contained in it takes precedence. If no transport URL is supplied, but there is a transport URL supplied in the user’s configuration then that URL will take the place of the url parameter. In both cases, any configuration not supplied in the transport URL may be taken from individual configuration parameters in the user’s configuration.
An example transport URL might be:
rabbit://me:passwd@host:5672/virtual_host
Parameters: |
|
---|
transport will deserialize remote exceptions from :type allowed_remote_exmods: list
A messaging transport.
This is a mostly opaque handle for an underlying messaging transport driver.
It has a single ‘conf’ property which is the cfg.ConfigOpts instance used to construct the transport object.
Set defaults for messaging transport configuration options.
Parameters: | control_exchange (str) – the default exchange under which topics are scoped |
---|