On Mon, Feb 13, 2012 at 11:35 AM, Gordon Sim <[email protected]> wrote:
> try username/password@localhost as the broker

whoops, yeah, forgot the syntax of the spout command :) it is working
now...except I still have one problem, I cannot create a sender to a
topic exchange...the spout program works fine for a direct
queue/exchange, but when I try to use a topic exchange it tells me
"not-allowed: Cannot redeclare with a different exchange type" (and I
get this same error message now from my python cqpid code).

Here is the command and output I am getting with spout:
$ ./spout -b admin/admin@localhost -c 1 amq.topic/test
2012-02-13 12:25:24 warning Exception received from broker:
not-allowed: Cannot redeclare with a different exchange type [caused
by 2 \x00:\x00]
not-allowed: Cannot redeclare with a different exchange type

And my python cqpid stuff is just opening the connection and a session
and then doing 'sender = session.sender("test.topic")' and gets the
same error.

Thanks for your help,

-Brandon

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to