In the latest celery it works out of the box. This was largely taken from their site.