README: Fixed typo Connection -> BrokerConnection

This commit is contained in:
Ask Solem 2010-07-20 15:00:17 +02:00
parent 71a8d2f39f
commit d8602b1415
1 changed files with 2 additions and 2 deletions

View File

@ -8,14 +8,14 @@
Proposed API::
from kombu.connection Connection
from kombu.connection BrokerConnection
from kombu.messaging import Exchange, Binding, Consumer, Producer
media_exchange = Exchange("media", "direct", durable=True)
video_binding = Binding("video", exchange=media_exchange, key="video")
# connections/channels
connection = Connection("localhost", "guest", "guest", "/")
connection = BrokerConnection("localhost", "guest", "guest", "/")
channel = connection.channel()
# produce