We are setting up RabbitMQ to accept CRUD messages and talk to consumers that will interact with our databases. We have multiple accounts (each one made up of many other child accounts) that have a dedicated database instance, and their own dedicated queue. For a particular queue/database we would like to prevent collisions on items in the database. Unless we parse our messages out, that would mean that RabbitMQ would need to preserve message order on a queue.<div>
<br></div><div>Ideally we want multiple consumers, with each consumer subscribed to multiple queues. And if possible, at any point in time, each queue would only have 1 message being processed by our set of consumers. We'd only send another message from a queue out to our consumers after getting an acknowledgement back that the current one is done. We'll have multiple queues, so across the different queues message order doesn't matter.</div>
<div><br></div><div>We did consider using an exclusive queues, but we want to balance our loads so if 1 account/queue is very active, it is spread across all our consumers. Can we set this up fairly easily with RabbitMQ?</div>
<div><div><br></div>-- <br><span style="font-family:Helvetica,Arial,sans-serif;font-size:14px;line-height:16px">Charles Law</span> <span style="font-family:Helvetica,Arial,sans-serif;font-size:11px;font-style:italic;line-height:13px">Software Developer</span><div>
Watch how we make online advertising simple: <a href="http://bit.ly/Ent_vid" style="color:rgb(0,114,188);text-decoration:none" target="_blank">http://bit.ly/Ent_vid</a></div><div><a href="http://www.openx.org/" style="color:rgb(0,114,188);text-decoration:none" target="_blank">www.openx.com</a> | follow us on: <a href="http://twitter.com/openx" style="color:rgb(0,114,188);text-decoration:none" target="_blank">Twitter</a> <a href="http://www.facebook.com/OpenX" style="color:rgb(0,114,188);text-decoration:none" target="_blank">Facebook</a> <a href="http://www.linkedin.com/company/openx/products" style="color:rgb(0,114,188);text-decoration:none" target="_blank">LinkedIn</a>
</div><br>
</div>