Ahh, yes, you're right. You want to send from other routers to
testqueue@router1 so you have to modify the senders to connect to the
other routers. Then you can send transparently to testqueue@router1;
routing is dynamically. To connect to router2, lookup
'plainsocket@router2'.
--
Andreas Mueller, IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ - JMS Enterprise Messaging System, http://www.swiftmq.com
-----Original Message-----
From: Mike Goulet <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Mon, 25 Jun 2001 21:39:06 +0200
Subject: [developers] master/slave PTP configuration
> That doesnt seem to be a master/slave relationship. Sounds like I
> would
> have to modify the receiver ( master ) to look up each slave. Also, If
> I
> change synchQueueReceiver to create a queueconnectionFactory using
> plainsocket@router2, I get a message stating it is not local and
> therefor
> cant create a consumer on it which makes sense because you must be
> connected
> to a local router( with a local queue defined) to receive messages from
> it.
> If we use the samples as a basis, I would like have the receiver
> connect to
> testqueue on router1 and have n slaves each with its own router connect
> to
> router1 via the slave router (router2 in this example). I would think
> I
> would modify SimpleQueueSender. Am I missing a concept :(
>
> thanks
> mike
>
>
>
> -----Original Message-----
> From: Andreas Mueller [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 1:45 PM
> To: [EMAIL PROTECTED]
> Subject: [developers] master/slave PTP configuration
>
>
> The samples are intended for use with 1 router. You must modify the
> SynchQueueReceiver to lookup 'plainsocket@router2' (see
> SampleUtilities.java). That is the connection factory which creates
> connections to router2 on port 4002.
>
> --
> Andreas Mueller, IIT GmbH, Bremen/Germany, http://www.iit.de
> SwiftMQ - JMS Enterprise Messaging System, http://www.swiftmq.com
>
>
> -----Original Message-----
> From: Mike Goulet <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Date: Mon, 25 Jun 2001 19:22:17 +0200
> Subject: [developers] master/slave PTP configuration
>
> > Hi
> > I would like to send messages through local slave routers (which do
> > not
> > have a defined queue) to a master router which has the defined queue.
> > I
> > will then connect to the master router to read the messages. The
> > answer to
> > my question is probably obvious but how do I configure the properties
> > files
> > to do this or is this a coding change or a little of both?
> > I thought it would be something like SimpleQueueSender
> > testqueue@router2 and
> > SynchQueueReciever testqueue@router1, where testqueue lives on
> router1
> > (router 1 is the master and router2 is the slave).
> > thanks
> > mike
> >
> >
> > ------------------------------------------------------
> > 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/
> >
> >
> >
> >
>
>
> ------------------------------------------------------
> 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/
>
>
> ------------------------------------------------------
> 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/
>
>
>
>
------------------------------------------------------
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/