|
@@ -299,14 +299,14 @@ class EventReceiver(ConsumerMixin):
|
|
|
app = None
|
|
|
|
|
|
def __init__(self, channel, handlers=None, routing_key='#',
|
|
|
- node_id=None, app=None, queue_prefix='celeryev',
|
|
|
+ node_id=None, app=None, queue_prefix=None,
|
|
|
accept=None, queue_ttl=None, queue_expires=None):
|
|
|
self.app = app_or_default(app or self.app)
|
|
|
self.channel = maybe_channel(channel)
|
|
|
self.handlers = {} if handlers is None else handlers
|
|
|
self.routing_key = routing_key
|
|
|
self.node_id = node_id or uuid()
|
|
|
- self.queue_prefix = queue_prefix
|
|
|
+ self.queue_prefix = queue_prefix or self.app.conf.event_queue_prefix
|
|
|
self.exchange = get_exchange(
|
|
|
self.connection or self.app.connection_for_write())
|
|
|
self.queue = Queue(
|