コード例 #1
0
ファイル: impl_kombu.py プロジェクト: pulchart/nova
def call(conf, context, topic, msg, timeout=None):
    """Sends a message on a topic and wait for a response."""
    return rpc_amqp.call(conf, context, topic, msg, timeout,
            rpc_amqp.get_connection_pool(conf, Connection))
コード例 #2
0
ファイル: impl_qpid.py プロジェクト: acomisario/nova
def call(context, topic, msg, timeout=None):
    """Sends a message on a topic and wait for a response."""
    return rpc_amqp.call(context, topic, msg, timeout)
コード例 #3
0
def call(context, topic, msg, timeout=None):
    """Sends a message on a topic and wait for a response."""
    return rpc_amqp.call(context, topic, msg, timeout, Connection.pool)
コード例 #4
0
ファイル: impl_qpid.py プロジェクト: xtoddx/nova
def call(context, topic, msg):
    """Sends a message on a topic and wait for a response."""
    return rpc_amqp.call(context, topic, msg)