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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Jyostna
Contributor III
Contributor III

Message selector configuration

Hi,

 

I would like to filter the messages of JMS based on message selector value.

 

I am trying to read the context variable starts with 'XXX" then consume message, but am getting compilator error while configuring the message selector.

 

Help me out to configure the message selector in tJMSinput.

Labels (2)
1 Solution

Accepted Solutions
Jyostna
Contributor III
Contributor III
Author

PLease share me input to use message selector expression which can be used to filter JMS input message.

View solution in original post

9 Replies
Anonymous
Not applicable

Hello,

When you get some compile errors, please check your "Code" tab in your job. There will be your compile error highlighted in red line.

What does your current filter look like? Could you post a screenshot of tJMSinput component setting on forum? Which will be helpful for us to understand your requirement.

Best regards

Sabrina

Jyostna
Contributor III
Contributor III
Author

Please find the attachment:

 

 


Error.docx
Jyostna
Contributor III
Contributor III
Author

Hi,

 

Any luck to guide me on message selector configuration, I have attached screen shot and highlighted the expression how I have configured in the attachment.

Anonymous
Not applicable

Hello,

From your attachment, you are using context value in message selector expression. Could you please show us the value?

Best regards

Sabrina

Jyostna
Contributor III
Contributor III
Author

0683p000009LsnR.png

Jyostna
Contributor III
Contributor III
Author

Can I get some input on my shared request.

 

If not just let me know how to filter the input JMS properties using JMS message selectors ...

Jyostna
Contributor III
Contributor III
Author

Kindly let me know how to filter the messages based on message selector configuration. I want to use message selector since it will validate the queue message before we consume.

 

I didn't hear back any input.

 

if my screen shots are not clear then i can explain the scenario, basically input is from JMS, so based on input jms property variables I need to decide whether i have to consume or not.

In my case am passing context variables, so based on context variable value check I need to consume message.

Jyostna
Contributor III
Contributor III
Author

PLease share me input to use message selector expression which can be used to filter JMS input message.

Jyostna
Contributor III
Contributor III
Author

Am able to resolve message selector configuration by myself thank you


@Jyostna wrote:

PLease share me input to use message selector expression which can be used to filter JMS input message.