At 11:11 26.6.01 +0200, you wrote:
>On Monday, June 25, 2001, Andreas Mueller wrote:
> > 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.
>
>But as I can see it doesn't matter which router is addressed by
>Context.PROVIDER_ULR (port 4001 or 4002) - the only important
>thing is to have proper lookup name for factory. And that thing
>(not a port for provider-url) decides to which router we are going
>to connect - connection/topic factory name.
>Right?
Yes, because this is only a JNDI connection, but you have to careful with
factory connection names. So this means that the only important thing is to
get a connection factory from the same router that has a queue on which you
want to create a consumer.
Best regards,
Kovi
>------------------------------------------------------
>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/