예제 #1
0
파일: impl_kombu.py 프로젝트: pulchart/nova
def create_connection(conf, new=True):
    """Create a connection"""
    return rpc_amqp.create_connection(conf, new,
            rpc_amqp.get_connection_pool(conf, Connection))
예제 #2
0
def create_connection(conf, new=True):
    """Create a connection"""
    return rpc_amqp.create_connection(
        conf, new, rpc_amqp.get_connection_pool(conf, Connection))
예제 #3
0
def create_connection(new=True):
    """Create a connection"""
    return rpc_amqp.create_connection(new, Connection.pool)
예제 #4
0
파일: impl_kombu.py 프로젝트: Cygnet/nova
def create_connection(new=True):
    """Create a connection"""
    return rpc_amqp.create_connection(new, Connection.pool)