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 Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...