Hi,

I am trying to do simple test to understant how to cluster the JMS 
servers together and
take advantage of the routing networking.

I have a very simple case:

Router A -------Router B.

(A router) The "Routing Swiftlet of A" has the following configurations:

swiftlet.sys$routing.socketfactory.class=com.swiftmq.net.PlainSocketFactory
#swiftlet.sys$routing.roundrobin.enabled=true

swiftlet.sys$routing.connectors.names=router203
swiftlet.sys$routing.connectors.router203.retrytime=10000
swiftlet.sys$routing.connectors.router203.hostname=192.168.213.203
swiftlet.sys$routing.connectors.router203.port=4101

swiftlet.sys$routing.listeners.names=router205
swiftlet.sys$routing.listeners.router205.bindaddress=192.168.213.205
swiftlet.sys$routing.listeners.router205.port=4101

(B router)  The "Routing Swiftlet of B" has the following configurations:

swiftlet.sys$routing.socketfactory.class=com.swiftmq.net.PlainSocketFactory
#swiftlet.sys$routing.roundrobin.enabled=true

swiftlet.sys$routing.connectors.names=router205
swiftlet.sys$routing.connectors.router205.retrytime=30000
swiftlet.sys$routing.connectors.router205.hostname=192.168.213.205
swiftlet.sys$routing.connectors.router205.port=4101

swiftlet.sys$routing.listeners.names=router203
swiftlet.sys$routing.listeners.router203.bindaddress=192.168.213.203
swiftlet.sys$routing.listeners.router203.port=4101

(3) I use the "testtopic" which is already there in the 2_1_1 version. 
So, both config file contain the same definition of "testtopic".

    I create one client C1 connecting to A router and publish messages 
on "testtopic".
   and another program C2 connecting to B router and create durable 
subscriber on "testtopic". and then receve messages.
   But it seems the messages don't reach router B. So, C2 cannot receive 
any messages.

Why? I don't know whether I misunderstand something there.

Regards
yangyuexiang


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to