dcsimg
QueueConnection factory of another router
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, August 3, 2004 07:27 AM

QueueConnection factory of another router
I have some routers connected together.

In some cases I obtain as result of lookup() function the QueueConnectionFactory of a router different from the router I setted in
Context.PROVIDER_URL of the context.

I have verified this using toString() with the Object returned from lookup().

I would like that all objects requested to a router be locally to it.

Can you help me ?

Re: QueueConnection factory of another router

Posted By:   Andreas_Mueller  
Posted On:   Tuesday, August 3, 2004 07:44 AM

SwiftMQ's JNDI works federated. That is, a lookup request is propagated to all routers and each router responds if it has a matching entry (e.g. "QueueConnectionFactory"). What you must do is to make your JNDI names of the connection factories unique. There's always a unique name for a connection factory of JMS listener with name @, e.g. "plainsocket@router1". Use it to ensure that you connect to a specific router.
About | Sitemap | Contact