JMS Queue consume based on criteria

Hi All,

Is it possible to consume a message in JMS queue from Logstash, based on the content of the message?
I am trying to read messages which is greater than 5 min old from the JMS Queue with log stash. (by looking at the time stamp of the message)

BR,
CK

Is it possible to consume a message in JMS queue from Logstash, based on the content of the message?

I don't know. Does JMS itself provide such a feature?