File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 47
47
* @author Eddú Meléndez
48
48
* @author Rafael Carvalho
49
49
* @author Scott Frederick
50
+ * @author Lasse Wulff
50
51
* @since 1.0.0
51
52
*/
52
53
@ ConfigurationProperties (prefix = "spring.rabbitmq" )
@@ -718,23 +719,15 @@ public StreamContainer getStream() {
718
719
719
720
public abstract static class BaseContainer {
720
721
722
+ }
723
+
724
+ public abstract static class AmqpContainer extends BaseContainer {
725
+
721
726
/**
722
727
* Whether to start the container automatically on startup.
723
728
*/
724
729
private boolean autoStartup = true ;
725
730
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
-
738
731
/**
739
732
* Acknowledge mode of container.
740
733
*/
@@ -773,6 +766,14 @@ public abstract static class AmqpContainer extends BaseContainer {
773
766
*/
774
767
private final ListenerRetry retry = new ListenerRetry ();
775
768
769
+ public boolean isAutoStartup () {
770
+ return this .autoStartup ;
771
+ }
772
+
773
+ public void setAutoStartup (boolean autoStartup ) {
774
+ this .autoStartup = autoStartup ;
775
+ }
776
+
776
777
public AcknowledgeMode getAcknowledgeMode () {
777
778
return this .acknowledgeMode ;
778
779
}
You can’t perform that action at this time.
0 commit comments