On 09/20/2011 07:57 AM, Brandon Pedersen wrote:
Hi, I am starting to play around with federation/routes. So I have a
local c++ broker with a topic exchange. I want to route all messages
to the same exchange on a remote java broker (a push route). So I do
the following locally:

qpid-config add exchange topic myexchange
qpid-route -s route add admin/admin@remote-java-broker local-broker
myexchange '#'

I then use the spout script to send a message to the local exchange,
however, the message never shows up on the remote end (qpid-stat shows
0 messages received on the remote exchange). I can see that the link
is up using qpid-route and the logs show that a bridge queue is
created. Is there something I am missing? Or does this just not work
going between c++ and java?

I have never tried that myself. What does qpid-stat show for the local broker (i.e. c++ broker)? Are there any messages in the queue? Is there a subscription for the queue and has it delivered any messages?

You could also try a pull route (i.e. have the java broker pull messages) to see if it is the push route that is the issue.

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

Reply via email to