Hi Esteve,<br><br>Thanks for the link and the example. The example worked great after I added vhost to line 78:<br><br>f = _InstanceFactory(reactor, AMQClient(delegate, qpid.spec.load(specFile)), d)<br><br>Became:<br><br>f = _InstanceFactory(reactor, AMQClient(delegate, qpid.spec.load(specFile), vhost='/'), d)<br>
<br>For some reason RabbitMQ on my PC was not authorizing the default
vhost ('localhost') in your script. I updated my test software
following your example and it works perfectly so far!<br><br>Do you plan to merge use-queues into the trunk at some point?<br>
<br>Thanks again this has really helped me out!<br><br>Best regards,<br><br>David<br><br><div class="gmail_quote">On Wed, Oct 22, 2008 at 2:42 AM, Esteve Fernandez <span dir="ltr"><<a href="mailto:esteve@sindominio.net">esteve@sindominio.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi David<br>
<div class="Ih2E3d"><br>
On Tuesday 21 October 2008 03:15:26 David Sackett wrote:<br>
> What is the correct way to consume from multiple queues with txAMPQ? Should<br>
> each channel only consume from one queue? How can I safely initialise all<br>
> my channels and queues and latter consume from other queues once in<br>
> operation?<br>
<br>
</div>Sorry, that code was meant to prove that txAMQP supported multiple channels,<br>
but I must admit that it was quite crappy. Take a look at the unit tests<br>
found under the test directory. The test_example test is pretty complete and<br>
easy to follow.<br>
<br>
Back when txAMQP was released, I decided to separate the client from the<br>
queueing code, letting developers to write their own queues. There's a simple<br>
queueing channel class in the testlib.py file that you can use, through.<br>
Anyway, I reorganized the source code and joined both pieces, you may get it<br>
from:<br>
<br>
bzr branch lp:~txamqpteam/txamqp/use-queues<br>
<br>
Cheers.<br>
<br>
PS: I attached a simple example of how to use the queueing code, let me know<br>
if it works as expected<br>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>