Skip to content

Commit 793801b

Browse files
committed
Merge branch '3.1.x' into 3.2.x
Closes gh-39078
2 parents 45d2c3b + fd10c69 commit 793801b

File tree

1 file changed

+13
-12
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp

1 file changed

+13
-12
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
* @author Eddú Meléndez
4848
* @author Rafael Carvalho
4949
* @author Scott Frederick
50+
* @author Lasse Wulff
5051
* @since 1.0.0
5152
*/
5253
@ConfigurationProperties(prefix = "spring.rabbitmq")
@@ -718,23 +719,15 @@ public StreamContainer getStream() {
718719

719720
public abstract static class BaseContainer {
720721

722+
}
723+
724+
public abstract static class AmqpContainer extends BaseContainer {
725+
721726
/**
722727
* Whether to start the container automatically on startup.
723728
*/
724729
private boolean autoStartup = true;
725730

726-
public boolean isAutoStartup() {
727-
return this.autoStartup;
728-
}
729-
730-
public void setAutoStartup(boolean autoStartup) {
731-
this.autoStartup = autoStartup;
732-
}
733-
734-
}
735-
736-
public abstract static class AmqpContainer extends BaseContainer {
737-
738731
/**
739732
* Acknowledge mode of container.
740733
*/
@@ -773,6 +766,14 @@ public abstract static class AmqpContainer extends BaseContainer {
773766
*/
774767
private final ListenerRetry retry = new ListenerRetry();
775768

769+
public boolean isAutoStartup() {
770+
return this.autoStartup;
771+
}
772+
773+
public void setAutoStartup(boolean autoStartup) {
774+
this.autoStartup = autoStartup;
775+
}
776+
776777
public AcknowledgeMode getAcknowledgeMode() {
777778
return this.acknowledgeMode;
778779
}

0 commit comments

Comments
 (0)