Browse Source

Polish

See gh-31398
pull/31407/head
Brian Clozel 1 year ago
parent
commit
8d6b499cf1
  1. 2
      spring-jms/src/main/java/org/springframework/jms/config/AbstractJmsListenerContainerFactory.java
  2. 2
      spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java

2
spring-jms/src/main/java/org/springframework/jms/config/AbstractJmsListenerContainerFactory.java

@ -199,7 +199,7 @@ public abstract class AbstractJmsListenerContainerFactory<C extends AbstractMess @@ -199,7 +199,7 @@ public abstract class AbstractJmsListenerContainerFactory<C extends AbstractMess
/**
* Set the {@link ObservationRegistry} to be used for recording
* {@linkplain io.micrometer.core.instrument.binder.jms.JmsObservationDocumentation#JMS_MESSAGE_PROCESS
* {@linkplain io.micrometer.jakarta9.instrument.jms.JmsObservationDocumentation#JMS_MESSAGE_PROCESS
* JMS message processing observations}.
* <p>Defaults to no-op observations if the registry is not set.
* @since 6.1

2
spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java

@ -474,7 +474,7 @@ public class JmsTemplate extends JmsDestinationAccessor implements JmsOperations @@ -474,7 +474,7 @@ public class JmsTemplate extends JmsDestinationAccessor implements JmsOperations
* Configure the {@link ObservationRegistry} to use for recording JMS observations.
* @param observationRegistry the observation registry to use.
* @since 6.1
* @see io.micrometer.jakarta10.instrument.jms.JmsInstrumentation
* @see io.micrometer.jakarta9.instrument.jms.JmsInstrumentation
*/
public void setObservationRegistry(ObservationRegistry observationRegistry) {
this.observationRegistry = observationRegistry;

Loading…
Cancel
Save