This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/spring-jms-2.0.md.

Spring JMS

OpenTelemetry Java agent instrumentation

This instrumentation enables messaging spans for Spring JMS message consumers.

  • Name: spring-jms-2.0
  • Scope: io.opentelemetry.spring-jms-2.0
  • Target versions: org.springframework:spring-jms:[2.0,6)
  • Library: https://docs.spring.io/spring-framework/reference/integration/jms.html

Telemetry

  • Span attributes: messaging.destination.name, messaging.message.id, messaging.operation, messaging.system

Configuration

OptionTypeDefaultDescription
otel.instrumentation.messaging.experimental.capture-headerslistA comma-separated list of header names to capture as span attributes.
otel.instrumentation.messaging.experimental.receive-telemetry.enabledbooleanfalseEnables experimental receive telemetry, which will cause consumers to start a new trace, with only a span link connecting it to the producer trace.

Data

  • JSON: /data/javaagent/instrumentations/spring-jms-2.0/spring-jms-2.0-fbb7c9da23d9.json
  • Explore: /java-agent/instrumentation/spring-jms-2.0