Esempio n. 1
0
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))
Esempio n. 2
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)
Esempio n. 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)
Esempio n. 4
0
def call(context, topic, msg):
    """Sends a message on a topic and wait for a response."""
    return rpc_amqp.call(context, topic, msg)