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
Get Updates on the Splunk Community!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...