Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to pass parameters into a custom JMS Modular Input Message Handler

$
0
0
I'm working on a project to convert binary JMS message bodies to Strings. I've built the converter and will integrate it using the template you've laid out in Splunk Answers (https://answers.splunk.com/answers/310006/how-to-convert-byte-characters-coming-out-of-mq-th.html). I've run into a problem. The converter uses a properties file to describe the message format. How can I get the file path/name passed into this class so I can load the message format? I see the setParams(Map params) method, but don't know (a) if that's the right call and (b) how to initialize a parameter that might get passed into this call in the first place. Anyone have an example of how they've done this, how it might be done, or a pointer to documentation?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>