Hi!
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 ?
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 :))
Best regards,
Kovi
At 15:27 25.6.01 +0200, you wrote:
>I've got the same problem (as Prashanth).
>Brain, could you be more specific?
>What exactly should I put in smqr2.properties ?
>
>Brian Duke wrote:
>
> > I think this is a common problem that crops up. I believe you can solve it
> > by giving the QueueConnectionFactory on each router a unique name.
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]
>Sent: Friday, May 18, 2001 2:05 AM
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: [developers] SwiftMQ Routers
>
>
>Hello..
>
>We're trying to connect two SwiftMQ routers on different machines. After
>this, we're able to send messages to both routers and read messages only
>from the remote router - however, on trying to read from the local router,
>we get an error message that says..
>
>Exception occurred: javax.jms.JMSException: Queue 'testqueue@router2' is not
>local! Can't create a Consumer on it!
>
>Here, router2 is on the machine from which the queue-receiver is being run.
>
>Any clues?
>
>Regards,
>Prashanth
>
>
>------------------------------------------------------
>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/