Configure JMS for Websphere IBM MQ 9
Hello everyone, I´am trying to configure JMS for get connected to Websphere IBM MQ.The help does not give any clue how to connect to a remote queuemanager. It only points to a local installation, which I do not have and therefore I am missing the config-values/syntax of the values. I have to set: 1. Initial Context Class: 2. Provicer URL: 3. Connection Factory JNDI Name: I have tried it with: 1. initial.context.class.name=com.sun.jndi.fscontext.RefFSContextFactory 2. tcp://host:port/channel-name 3.connection.factory.name.template=com.ibm.mq.jms.MQQueueConnectionFactory When I test my JMS-Configuration I am getting an error like this: "Could not establish a JMS connection: javax.naming.InvalidNameException: tcp://XXX:2110/XXX [Root exception is java.net.MalformedURLException: unknown protocol: tcp]" Would be glad, if someone has an example for Webspere IBM MQ Regards, Florian406Views1like3Comments