Could you write a RESTful API in your Django project, and then issue POST requests to that from a middleman script that the mq could communicate with?
JDB On Tue, Feb 25, 2014 at 8:28 AM, Alon Nisser <[email protected]> wrote: > I need to implement a quite simple Django server that server some http > requests *and *listens to a rabbitmq message queue that streams > information into the Django app (that should be written to the db). the > data *must* be written to the db in a synchronized order , So I can't use > the obvious celery/rabbit configuration. I was told that there is no way > to do this in the same Django project. since Django would listen to http > requests on It's process. and It can't handle another process to listen for > Rabbit - forcing me to to add Another python/django project for the > rabbit/db writes part - working with the same models The http bound django > project works with.. You can smell the trouble with this config from here. > .. Any Ideas how to solve this? > > Thanks! > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/794bf8ca-a15b-40da-97c2-b3a416a35fe0%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAPMFOb4ky-J0JCo2eU61wBR-CTiFpcATd5VMFtVM4GC0bv3DXw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

