This document describes an older version of Celery (2.1). For the latest stable version please go here.

Message Routers - celery.routes

class celery.routes.MapRoute(map)

Makes a router out of a dict.

route_for_task(task, *args, **kwargs)
class celery.routes.Router(routes=None, queues=None, create_missing=False)
lookup_route(task, args=None, kwargs=None)
route(options, task, args=(), kwargs={})
celery.routes.merge(a, b)

Like dict(a, **b) except it will keep values from a, if the value in b is None.


Expand ROUTES setting.

Previous topic

Datastructures - celery.datastructures

Next topic

Logging - celery.log

This Page