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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...