Hi Graham, thanks for responding so quickly. On Mon, Jun 10, 2013 at 6:03 PM, Graham Dumpleton < [email protected]> wrote:
> Where are you starting the thread from? > The thread is started in the main() function of the Pyramid app, like so: def main(global_config, **settings): # AMQPClient extends Thread amqp_client = amqp_client = AMQPClient(settings['amqp.host']) amqp_client.start() > > Over what sort of interprocess connection type is ti connecting to the > RabbitMQ server? INET, UNIX sockets? > I believe it is UNIX sockets: http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.7.2/rabbitmq-java-client-javadoc-1.7.2/com/rabbitmq/client/Connection.html > Is this code going to work with an instance of these in each of your 4 > processes? > Not sure what "these" is referring to in your question, but it is ok to have multiple connections to the RabbitMQ server. The code is thread safe. -- Josh -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
