Search code examples
jmsjndiibm-mq

Can someone explain MQSeries file based JNDI for remote client JMS access


I've been searching extensively for a description of how to set up JMS access from a remote client to a file based JNDI MQ Series provider without success.

My JMS client works Ok on the same Linux machine as my MQSeries 7.5 server using file based JNDI.

How does one set up a remote client to use file based JNDI? Is it even possible or must one use LDAP?

I've seen hints that one should be able to have a remote client but nothing very clear.

I'm using Spring JMSTemplate which uses a provider url. On the same machine my Tomcat context.xml file uses a file: fileName url which, as I say, works ok collocated with the MQSeries server.

Thanks


Solution

  • I was assuming that there was more than there is to file based JNDI. All it is is reading a property file. Using the "file"" url format allows you to read remote files.