Getting Data In

Connecting JMS Modular Input to Remote IBM MQ Exception

husain85
New Member

Trying to access IBM MQ topic or queue using JMS modular input, defined input.conf as

[jms://topic/:MyTopic1]
init_mode=jndi
jms_connection_factory_name = Factory1
jndi_initialcontext_factory = com.sun.jndi.fscontext.RefFSContextFactory
jndi_provide_url = tcp://192.168.1.1:1414 # ibm mq remote host

, we are getting exception from jms.py -->
Stanza jms://topic/:MyTopic1 : Error connecting : javax.naming.InvalidNameException: tcp://192.168.1.1:1414 [Root exception is java.net.MalformedURLException: unknown protocol: tcp]

Kindly help , anything else needs to be added or change in stanza , or any other way to access remote topics or queues.

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!