@Vijay

Yes, source of the messages is outside of the Django application. I could 
use some transformers, but again, it's extra moving part.

@Sadaf

Ok, thank you for the blog. I will check it out. But again, Celery is great 
but I'm not really sure it solves my problem.

On Wednesday, 16 September 2015 15:34:54 UTC+2, Sadaf Noor wrote:
>
> Instead you can try using celery. For demonstration purpose I have tried 
> an image processing app using rabbitmq, celery with flask. It worked great. 
> It can be found at my blog ( 
> http://www.sadafnoor.com/blog/rabbitmq-celery-demonstration-using-image-processing-app-on-flask/
>  
> ).
> On 16-Sep-2015 6:53 PM, "Erol Merdanović" <zase...@gmail.com <javascript:>> 
> wrote:
>
>> Hi all
>>
>> I'm using Django to develop a service. Service connects to RabbitMQ and 
>> receives events that are translated to creating/updating/deleting of the 
>> database records. 
>>
>> What is the best way to run RabbitMQ consumer with Django? I'm using Pika 
>> library and I run consumer as a management command (python manage.py 
>> listen_to_changes). Is this a good solution? I don't see it so. I'm running 
>> Django as WSGI so I presume there are no start/stop Django events that I 
>> could plugin in to start/stop consumer.
>>
>> I'm aware of the Celery and how it nicely integrates into Django, but for 
>> me it's not an option.
>>
>> What do you suggest? How to run RabbitMQ with Django (stability is the 
>> main objective).
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com <javascript:>.
>> To post to this group, send email to django...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/e2b0cfd3-f33f-485c-9497-98fd281c9cd2%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/e2b0cfd3-f33f-485c-9497-98fd281c9cd2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a1b78c97-eddb-4330-96e9-b442fe6609bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to