def __init__(self, conf, url, default_exchange=None, allowed_remote_exmods=None): warnings.warn(_('The Qpid driver has been deprecated. ' 'The driver is planned to be removed during the `M` ' 'development cycle.'), DeprecationWarning, stacklevel=2) opt_group = cfg.OptGroup(name='oslo_messaging_qpid', title='QPID driver options') conf.register_group(opt_group) conf.register_opts(qpid_opts, group=opt_group) conf.register_opts(rpc_amqp.amqp_opts, group=opt_group) conf.register_opts(base.base_opts, group=opt_group) connection_pool = rpc_amqp.ConnectionPool( conf, conf.oslo_messaging_qpid.rpc_conn_pool_size, url, Connection) super(QpidDriver, self).__init__( conf, url, connection_pool, default_exchange, allowed_remote_exmods, conf.oslo_messaging_qpid.send_single_reply, )
def __init__(self, conf, url, default_exchange=None, allowed_remote_exmods=None): conf.register_opts(qpid_opts) conf.register_opts(rpc_amqp.amqp_opts) connection_pool = rpc_amqp.ConnectionPool(conf, url, Connection) super(QpidDriver, self).__init__(conf, url, connection_pool, default_exchange, allowed_remote_exmods)
def __init__(self, conf, url, default_exchange=None, allowed_remote_exmods=None): opt_group = cfg.OptGroup(name='oslo_messaging_qpid', title='QPID driver options') conf.register_group(opt_group) conf.register_opts(qpid_opts, group=opt_group) conf.register_opts(rpc_amqp.amqp_opts, group=opt_group) connection_pool = rpc_amqp.ConnectionPool( conf, conf.oslo_messaging_qpid.rpc_conn_pool_size, url, Connection) super(QpidDriver, self).__init__(conf, url, connection_pool, default_exchange, allowed_remote_exmods)
def __init__(self, conf, url, default_exchange=None, allowed_remote_exmods=None): opt_group = cfg.OptGroup(name='oslo_messaging_rabbit', title='RabbitMQ driver options') conf.register_group(opt_group) conf.register_opts(rabbit_opts, group=opt_group) conf.register_opts(rpc_amqp.amqp_opts, group=opt_group) conf.register_opts(base.base_opts, group=opt_group) connection_pool = rpc_amqp.ConnectionPool( conf, conf.oslo_messaging_rabbit.rpc_conn_pool_size, url, Connection) super(RabbitDriver, self).__init__( conf, url, connection_pool, default_exchange, allowed_remote_exmods, conf.oslo_messaging_rabbit.send_single_reply, )