Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to set a field which can differentiate the message for multiple subscribers of topic in tMomInput component

Hello,

 

I have a job which sends a message to the JMS topic, topic has multiple subscribers and the other job which would retrieve the message from the topic.

 

I want to distinguish my message on the base of some field(like header etc) so that while retrieving the message from the topic, only a particular subscriber can retrieve the message.

 

Which JMS property in tMomInput can I use to set a field with my outgoing message so that subscriber can compare that field and retrieve the message only if it's relevant to them.?

 

 

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hello,

For topic type, you should run tMomInput firstly(Use "Keep Listening"/"receive number of message" else you need set a bigger value of "Sleeping time"). 
Because if you want to receive the message, you should subscribe the topic. 
Then when write message to the topic with tMomOutput(publish the message). After that  tMomInput can receive the message.

Best regards

Sabrina