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.