Polishing

This commit is contained in:
Juergen Hoeller
2023-10-23 16:56:40 +02:00
parent 6dc79b5105
commit 8457c768e8
2 changed files with 15 additions and 15 deletions

View File

@@ -575,16 +575,6 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen
return this.errorHandler;
}
/**
* Return the {@link ObservationRegistry} used for recording
* {@link JmsObservationDocumentation#JMS_MESSAGE_PROCESS JMS message processing observations}.
* @since 6.1
*/
@Nullable
public ObservationRegistry getObservationRegistry() {
return this.observationRegistry;
}
/**
* Set the {@link ObservationRegistry} to be used for recording
* {@link JmsObservationDocumentation#JMS_MESSAGE_PROCESS JMS message processing observations}.
@@ -595,6 +585,16 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen
this.observationRegistry = observationRegistry;
}
/**
* Return the {@link ObservationRegistry} used for recording
* {@link JmsObservationDocumentation#JMS_MESSAGE_PROCESS JMS message processing observations}.
* @since 6.1
*/
@Nullable
public ObservationRegistry getObservationRegistry() {
return this.observationRegistry;
}
/**
* Set whether to expose the listener JMS Session to a registered
* {@link SessionAwareMessageListener} as well as to