i have try to tested link two broker in one mahcine.

1. first using c++ declare_queue create two queue names message_queue and
two exchange amp.direct for each broker. 
sample: 
#./declare_queue 127.0.0.1:10003 and #./declare_queue 127.0.0.1:10004

2. the queue and exchange has created . i running command to link them
#qpid-route link add 127.0.0.1:10003 127.0.0.1:10004 
#qpid-route link add 127.0.0.1:10004 127.0.0.1:10003
check qpid-route link list 127.0.0.1 1003 
check qpid-route link list 127.0.0.1 1004

3. running qpid-route to map them
# qpid-route route add 127.0.0.1:10003 127.0.0.1:10004 amp.direct
"routing-key"
# qpid-route route add 127.0.0.1:10004 127.0.0.1:10003 amp.direct
"routing-key"
check 
#qpid-route route list 127.0.0.1:10003 
#qpid-route route list 127.0.0.1:10004 
i can saw the link map created. broker. exchange key...are seems works

now i guess this two brokers and two exchange has map success. 

then i running 
#./direct_producer 127.0.0.1 10003 to send the message .it show me success.
and i running 
#./listener 127.0.0.1 1004 to get message .show me the error.

i don't know what i miss?

thanks




-- 
View this message in context: 
http://www.nabble.com/qpid-route-can%27t-link-two-broker-tp21867263p21867263.html
Sent from the Qpid Developers mailing list archive at Nabble.com.


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

Reply via email to