# JMS input plugin perfromance

**URL:** <https://discuss.elastic.co/t/jms-input-plugin-perfromance/108142>\
**Category:** Logstash\
**Created:** [November 17, 2017, 1:49pm UTC](https://discuss.elastic.co/t/jms-input-plugin-perfromance/108142 "2017-11-17T13:49:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)\
**Post date:** [November 17, 2017, 1:49pm UTC](https://discuss.elastic.co/t/jms-input-plugin-perfromance/108142/1 "2017-11-17T13:49:59Z")

</div>

Any help appreciated!  
I am used JMS input plugin, to read from ActiveMQ topic. The JMS input plugin works, but it seems to only get a fraction of messages, I do not get all the messages from the topic. It seems I only get about 10% of the messages.

I have also configured STOMP with the ActiveMQ topic. This seems to work better, I get all the messages as they come.

I am keen to get JMS input plugin working, as I need to read the ActiveMQ message header and properties fileds and I do not see this as an option in STOMP.

Is there any reason all messages would not come through via JMS input plugin?

---

<div class="post-metadata">

**Author:** ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)\
**Post date:** [November 17, 2017, 3:54pm UTC](https://discuss.elastic.co/t/jms-input-plugin-perfromance/108142/2 "2017-11-17T15:54:59Z")

</div>

Any ideas?

---

<div class="post-metadata">

**Author:** ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)\
**Post date:** [November 20, 2017, 7:52am UTC](https://discuss.elastic.co/t/jms-input-plugin-perfromance/108142/3 "2017-11-20T07:52:41Z")

</div>

Is this behavior to be expected?

---

<div class="post-metadata">

**Author:** ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)\
**Post date:** [November 20, 2017, 10:23am UTC](https://discuss.elastic.co/t/jms-input-plugin-perfromance/108142/4 "2017-11-20T10:23:48Z")

</div>

I changed the "runner" field within the jms input configuration from consumer to async and now I see all the messages appearing at the same rate as they appear in Hermes.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 18, 2017, 10:23am UTC](https://discuss.elastic.co/t/jms-input-plugin-perfromance/108142/5 "2017-12-18T10:23:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
