On Tuesday, June 26, 2001, Gregor Kovač wrote:
> I don't now what exactly is your problem(didn't read your previous
> message), but what I can figure out from your last message, you have a 
> problem when you do a JNDI lookup on a queue connection factory you get a 
> connection factory from another router then from the one you are doing the 
> lookup against, right ?

Well, in fact yes.

> OK. This is very easy to solve. You specify an alias in JNDI swiftlet that 
> maps to a listener on the same router that you specify alias on. It is also 
> a good administration praxis that you specify aliases for factories, 
> queues, topics, ... because in your applications you depend on these 
> aliases and the architecture of the swiftmq network can be changed without 
> you making changes in your application. And this is good :))

Thanks Gregor (and Andreas). It works. If I want to create
consumer on testqueue@router2 I just need to lookup for
"QueueConnectionFactory_backup" (or "plainsocket@router2"), not for
"QueueConnectionFactory" ("plainsocket@router1"). I see it now.
Thanks!


------------------------------------------------------
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