Skip to content

Commit 6fb44d8

Browse files
committedMar 6, 2025·
Merge branch '3.3.x' into 3.4.x
Closes gh-44585
2 parents e7bc267 + 6cf81e2 commit 6fb44d8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/DefaultJmsListenerContainerFactoryConfigurer.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -101,7 +101,10 @@ void setJmsProperties(JmsProperties jmsProperties) {
101101
* Set the {@link ObservationRegistry} to use.
102102
* @param observationRegistry the {@link ObservationRegistry}
103103
* @since 3.2.1
104+
* @deprecated since 3.3.10 for removal in 3.6.0 as this should have been package
105+
* private
104106
*/
107+
@Deprecated(since = "3.3.10", forRemoval = true)
105108
public void setObservationRegistry(ObservationRegistry observationRegistry) {
106109
this.observationRegistry = observationRegistry;
107110
}

‎spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAnnotationDrivenConfiguration.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -73,6 +73,7 @@ class JmsAnnotationDrivenConfiguration {
7373

7474
@Bean
7575
@ConditionalOnMissingBean
76+
@SuppressWarnings("removal")
7677
DefaultJmsListenerContainerFactoryConfigurer jmsListenerContainerFactoryConfigurer() {
7778
DefaultJmsListenerContainerFactoryConfigurer configurer = new DefaultJmsListenerContainerFactoryConfigurer();
7879
configurer.setDestinationResolver(this.destinationResolver.getIfUnique());

0 commit comments

Comments
 (0)
Please sign in to comment.