Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

How can I configure dynamic route

$
0
0
Hi,

I have some problems about qpid dynamic route. I am using quid 0.28 on
linux 2.6.

The problem is like this:

I want to configure a dynamic route among host A, B, C like this :
A<=>B<=>C, I suppose message sent to A should be received in C, however,
the result is not, I can only receive on B. However, if I open 3 ports on
one host, each instance on each port, the result is what I supposed to be.

This is how I configure on one host, my 3 hosts is 10.1.253.203,
10.1.253.230, 10.1.252.165. (below is abbreviate)

qpid-route dynamic add 203 230 amq.direct
qpid-route dynamic add 230 203 amq.direct
qpid-route dynamic add 230 165 amq.direct
qpid-route dynamic add 165 230 amq.direct

This is how I test:

qpid-send -b 10.1.253.203 -a amq.direct/key230 --content-string "Hi,key230"
--durable no

qpid-receive -b 10.1.252.165 -a amq.direct/key230 --timeout 200
(no result)

Is there something wrong? I hunger for your answer. Thanks!

Viewing all articles
Browse latest Browse all 5648

Trending Articles