diff --git a/apm-agent-tracer/src/main/java/co/elastic/apm/agent/tracer/configuration/MessagingConfiguration.java b/apm-agent-tracer/src/main/java/co/elastic/apm/agent/tracer/configuration/MessagingConfiguration.java index 08eb2fb623..85420bc1b2 100644 --- a/apm-agent-tracer/src/main/java/co/elastic/apm/agent/tracer/configuration/MessagingConfiguration.java +++ b/apm-agent-tracer/src/main/java/co/elastic/apm/agent/tracer/configuration/MessagingConfiguration.java @@ -111,7 +111,9 @@ public class MessagingConfiguration extends ConfigurationOptionProvider { private final ConfigurationOption rabbitMQNamingMode = ConfigurationOption.enumOption(RabbitMQNamingMode.class) .key("rabbitmq_naming_mode") .configurationCategory(MESSAGING_CATEGORY) - .description("Defines whether the agent should use the exchanges or the queue for the naming of RabbitMQ Transactions. Valid options are `QUEUE` and `EXCHANGE`") + .description("Defines whether the agent should use the exchanges or the queue for the naming of RabbitMQ Transactions. Valid options are `QUEUE` and `EXCHANGE`.\n" + + "Note that `QUEUE` only works when using RabbitMQ via spring-amqp." + ) .dynamic(true) .tags("added[1.46.0]") .buildWithDefault(RabbitMQNamingMode.EXCHANGE); diff --git a/docs/configuration.asciidoc b/docs/configuration.asciidoc index e493f21612..ce61e60e22 100644 --- a/docs/configuration.asciidoc +++ b/docs/configuration.asciidoc @@ -2510,7 +2510,8 @@ Starting from version 1.43.0, the classes that are part of the 'application_pack [[config-rabbitmq-naming-mode]] ==== `rabbitmq_naming_mode` (added[1.46.0]) -Defines whether the agent should use the exchanges or the queue for the naming of RabbitMQ Transactions. Valid options are `QUEUE` and `EXCHANGE` +Defines whether the agent should use the exchanges or the queue for the naming of RabbitMQ Transactions. Valid options are `QUEUE` and `EXCHANGE`. +Note that `QUEUE` only works when using RabbitMQ via spring-amqp. <> @@ -4628,7 +4629,8 @@ Example: `5ms`. # # jms_listener_packages= -# Defines whether the agent should use the exchanges or the queue for the naming of RabbitMQ Transactions. Valid options are `QUEUE` and `EXCHANGE` +# Defines whether the agent should use the exchanges or the queue for the naming of RabbitMQ Transactions. Valid options are `QUEUE` and `EXCHANGE`. +# Note that `QUEUE` only works when using RabbitMQ via spring-amqp. # # Valid options: EXCHANGE, QUEUE # This setting can be changed at runtime