﻿---
title: Messaging configuration options
description: Used to filter out specific messaging queues/topics/exchanges from being traced. When set, sends-to and receives-from the specified queues/topics/exchanges...
url: https://www.elastic.co/elastic/docs-builder/docs/2439/reference/apm/agents/dotnet/config-messaging

This applies to:
- Generally available for Serverless Observability
- Generally available in 9.0+ for Stack
- Generally available in 1.0+ for APM Agent .NET
---

# Messaging configuration options
## `IgnoreMessageQueues`

```
apm_agent_dotnet: ga 1.10
```

Used to filter out specific messaging queues/topics/exchanges from being traced. When set, sends-to and receives-from the specified queues/topics/exchanges will be ignored.
This config accepts a comma separated string of wildcard patterns of queues/topics/exchange names which should be ignored.
The wildcard, `*`, matches zero or more characters, and matching is case insensitive by default. Prepending an element with `(?-i)` makes the matching case sensitive. Examples: `/foo/*/bar/*/baz*`, `*foo*`.

| Default        | Type   |
|----------------|--------|
| <empty string> | String |


| Environment variable name           | IConfiguration or Web.config key |
|-------------------------------------|----------------------------------|
| `ELASTIC_APM_IGNORE_MESSAGE_QUEUES` | `ElasticApm:IgnoreMessageQueues` |