spring-framework/framework-docs/modules/ROOT/pages/integration
Brian Clozel 0bb309f433 Instrument @JmsListener session for response messages
Prior to this commit, the observation instrumentation for `@JmsListener`
annotated methods (implemented in `AbstractMessageListenerContainer`
would not instrument the JMS session using the Micrometer JMS support.
This means that response messages returned from the listener method
would be sent but no observation would be recorded. As a result, tracing
message properties would be also missing.

This commit ensures that the session provided to the listener method is
instrumented beforehand, if Micrometer is on the classpath and an
observation registry has been configured.

Fixes gh-33221
2024-07-19 17:17:18 +02:00
..
cache Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
jms Fix typo 2024-06-17 13:39:18 +02:00
jmx Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
appendix.adoc Trim IDs with parent 2023-05-04 15:35:05 +01:00
cache.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
cds.adoc Refine CDS documentation 2024-05-20 10:24:29 +02:00
checkpoint-restore.adoc Polishing 2023-11-30 17:59:58 +01:00
email.adoc Polishing 2023-12-27 23:23:38 +01:00
jms.adoc Split files 2023-05-04 15:35:05 +01:00
jmx.adoc Fix cross references 2023-05-04 15:35:05 +01:00
observability.adoc Instrument @JmsListener session for response messages 2024-07-19 17:17:18 +02:00
rest-clients.adoc Polishing 2024-04-24 15:32:57 +03:00
scheduling.adoc Fix formatting in scheduling.adoc 2023-12-26 11:36:51 +01:00