# Elastic APM JMS transaction grouping

**URL:** <https://discuss.elastic.co/t/elastic-apm-jms-transaction-grouping/310913>\
**Category:** APM\
**Tags:** java\
**Created:** [July 28, 2022, 5:06pm UTC](https://discuss.elastic.co/t/elastic-apm-jms-transaction-grouping/310913 "2022-07-28T17:06:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aravind0910](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aravind0910/32/107754_2.png) [@aravind0910](https://discuss.elastic.co/u/aravind0910)\
**Post date:** [July 28, 2022, 5:06pm UTC](https://discuss.elastic.co/t/elastic-apm-jms-transaction-grouping/310913/1 "2022-07-28T17:06:52Z")

</div>

**Kibana version** : 7.16.3

**Elasticsearch version** : 7.16.3

**APM Server version** : 7.16.3

**APM Agent language and version** : Java, version: 1.33.0

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

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

I have several distributed JMS queues on a Weblogic Cluster (of 12 JVMs). Elastic APM Java Agent categorizes each member queue of a distributed queue as a separate transaction. Its using the fully-qualified queue name as the transaction name. Is there a way for me to group transactions across all members of a distributed queue under a single transaction name?

Example of a fully-qualified queue name:

## JMS RECEIVE from queue OMSServer-jms!OMSJms\_11@OMSRequestBridgeQueue

## JMS RECEIVE from queue OMSServer-jms!OMSJms\_12@OMSRequestBridgeQueue

## JMS RECEIVE from queue OMSServer-jms!OMSJms\_13@OMSRequestBridgeQueue

## JMS RECEIVE from queue OMSServer-jms!OMSJms\_14@OMSRequestBridgeQueue

I would like to group all these transaction under the name " JMS RECEIVE from queue OMSServer-jms@OMSRequestBridgeQueue"

I tried using the "transaction\_name\_groups" option but it doesn't seem to be working for JMS.

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [July 31, 2022, 9:18am UTC](https://discuss.elastic.co/t/elastic-apm-jms-transaction-grouping/310913/2 "2022-07-31T09:18:46Z")

</div>

It should work...  
I just tried it out with our JMS tests and it worked exactly as expected for me.  
Try setting `transaction_name_groups=JMS RECEIVE from queue OMSServer-jms*@OMSRequestBridgeQueue`

---

<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:** [August 21, 2022, 5:19am UTC](https://discuss.elastic.co/t/elastic-apm-jms-transaction-grouping/310913/3 "2022-08-21T05:19:20Z")

</div>

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