pas de URLParameter sur le pika wheezy

This commit is contained in:
Daniel STAN 2014-07-24 11:31:13 +02:00
parent e63b25278f
commit 076d667d34
3 changed files with 54 additions and 4 deletions

View file

@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
import pika
# REPLACE password here
URL='amqps://oie:****@rabbitmq.crans.org:5671/%2F'
CREDS = pika.credentials.PlainCredentials('oie', '*******', True)
PARAMS = pika.ConnectionParameters(host='rabbitmq.crans.org',
port=5671, credentials=CREDS, ssl=True)