# Logstash JMS Input Plugin - Message Selector

**URL:** <https://discuss.elastic.co/t/logstash-jms-input-plugin-message-selector/53137>\
**Category:** Logstash\
**Created:** [June 17, 2016, 9:22am UTC](https://discuss.elastic.co/t/logstash-jms-input-plugin-message-selector/53137 "2016-06-17T09:22:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckayay](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@ckayay](https://discuss.elastic.co/u/ckayay)\
**Post date:** [June 17, 2016, 9:22am UTC](https://discuss.elastic.co/t/logstash-jms-input-plugin-message-selector/53137/1 "2016-06-17T09:22:59Z")

</div>

Is it possible to apply Message Selectors (only get messages older than 5 mins) to JMS Input plugin?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 18, 2016, 1:38am UTC](https://discuss.elastic.co/t/logstash-jms-input-plugin-message-selector/53137/2 "2016-06-18T01:38:39Z")

</div>

Please don't post multiple threads on the same thing 🙂

> [@JMS Queue consume based on criteria](https://discuss.elastic.co/t/jms-queue-consume-based-on-criteria/53005):
>
> 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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 18, 2016, 1:38am UTC](https://discuss.elastic.co/t/logstash-jms-input-plugin-message-selector/53137/3 "2016-06-18T01:38:43Z")

</div>


