# APM agent with RabbitMq listener

**URL:** <https://discuss.elastic.co/t/apm-agent-with-rabbitmq-listener/251584>\
**Category:** APM\
**Tags:** java\
**Created:** [October 9, 2020, 3:09pm UTC](https://discuss.elastic.co/t/apm-agent-with-rabbitmq-listener/251584 "2020-10-09T15:09:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nagabhushan.tr](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nagabhushan.tr](https://discuss.elastic.co/u/nagabhushan.tr)\
**Post date:** [October 9, 2020, 3:09pm UTC](https://discuss.elastic.co/t/apm-agent-with-rabbitmq-listener/251584/1 "2020-10-09T15:09:55Z")

</div>

**Kibana version** : 7.9.1

**Elasticsearch version** : 7.9.1

**APM Server version** : 7.9.1

**APM Agent language and version** : Java agent 1.18.1

**Browser version** : Chrome 79.0.3945.130

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: From elastic on Windows

**Fresh install or upgraded from other version?** : Fresh Install

**Is there anything special in your setup?** We have integrated a Spring boot applications which has both rest endpoints for certain set of transactions and RabbitMQ where our core business interest is.

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**: Rest based transactions are being captured by APM as transactions and errors. we can see lot of indices being created. However we have issue with capturing transactions based out of rabbitMQ listeners, we suspect the event associated to rabbitMQ are not being triggered to APM. While we understand RabbitMQ is not supported by the APM yet, is there a reason by transactions are not being captured post the listener event on the application.

\*\*Steps to reproduce: \*\*:

1. Setup a service with Rabbit MQ listener.
2. Post messages to Queue.
3. Login to Kibana \> APM, notice that transactions are not being triggered and there is no option to load/change filters.

**Errors in browser console (if relevant)**: No Errors. Transactions don't get listed on the APM dashboard. Jave metrics and other HTTP metrics get loaded.

**Provide logs and/or server output (if relevant)**: Will provide if required.

---

<div class="post-metadata">

**Author:** ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)\
**Post date:** [October 12, 2020, 6:47am UTC](https://discuss.elastic.co/t/apm-agent-with-rabbitmq-listener/251584/2 "2020-10-12T06:47:39Z")

</div>

Hi @nagabhushan.tr, we have an [open PR](https://github.com/elastic/apm-agent-java/pull/1328) that adds support for RabbitMQ, and it's quite close to being merged and included in the next release.

In order to test it, you can use [this snapshot](https://apm-ci.elastic.co/job/apm-agent-java/job/apm-agent-java-mbp/job/PR-1328/35/artifact/src/github.com/elastic/apm-agent-java/elastic-apm-agent/target/elastic-apm-agent-1.18.2-SNAPSHOT.jar).

Have a nice day!

---

<div class="post-metadata">

**Author:** ![nagabhushan.tr](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nagabhushan.tr](https://discuss.elastic.co/u/nagabhushan.tr)\
**Post date:** [October 12, 2020, 7:26am UTC](https://discuss.elastic.co/t/apm-agent-with-rabbitmq-listener/251584/3 "2020-10-12T07:26:35Z")

</div>

`Thank you @Sylvain_Juge, Let me give a try and respond back.`

---

<div class="post-metadata">

**Author:** ![nagabhushan.tr](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nagabhushan.tr](https://discuss.elastic.co/u/nagabhushan.tr)\
**Post date:** [October 12, 2020, 11:03am UTC](https://discuss.elastic.co/t/apm-agent-with-rabbitmq-listener/251584/4 "2020-10-12T11:03:19Z")

</div>

@Sylvain_Juge, I attempted to use the snapshot jar that you provided, it is able to capture the rabbitMQ message however i noticed the following.

1. Agent doesn't keep track of the transactions and interactions with downstream microservices or database.

2. Transaction is not plotted on the service map.

---

<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:** [November 2, 2020, 7:03am UTC](https://discuss.elastic.co/t/apm-agent-with-rabbitmq-listener/251584/5 "2020-11-02T07:03:24Z")

</div>

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