pas de URLParameter sur le pika wheezy
This commit is contained in:
parent
e63b25278f
commit
076d667d34
3 changed files with 54 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue