[EMAIL PROTECTED] wrote:
> 
> 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?

        You need to connect to the server which is running the queue to consume
from it.  Presumably, you are not doing that.  If you think you are,
then you should check what server context your JNDI call is returning.
 
        Couple weeks ago Gregor Kovae said:
"You cannot consume messages from another router. JMS Implementation
Notes say that :"Receiving messages from a queue is limited to the
queue's  hosting router." It means that you have to be connected to
hosting router."

-Joe

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