Skip to content

Commit

Permalink
Merge branch '3.2.x'
Browse files Browse the repository at this point in the history
Closes gh-39079
  • Loading branch information
mhalbritter committed Jan 10, 2024
2 parents ffe31cf + 793801b commit d610955
Showing 1 changed file with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
* @author Eddú Meléndez
* @author Rafael Carvalho
* @author Scott Frederick
* @author Lasse Wulff
* @since 1.0.0
*/
@ConfigurationProperties(prefix = "spring.rabbitmq")
Expand Down Expand Up @@ -718,24 +719,11 @@ public StreamContainer getStream() {

public abstract static class BaseContainer {

/**
* Whether to start the container automatically on startup.
*/
private boolean autoStartup = true;

/**
* Whether to enable observation.
*/
private boolean observationEnabled;

public boolean isAutoStartup() {
return this.autoStartup;
}

public void setAutoStartup(boolean autoStartup) {
this.autoStartup = autoStartup;
}

public boolean isObservationEnabled() {
return this.observationEnabled;
}
Expand All @@ -748,6 +736,11 @@ public void setObservationEnabled(boolean observationEnabled) {

public abstract static class AmqpContainer extends BaseContainer {

/**
* Whether to start the container automatically on startup.
*/
private boolean autoStartup = true;

/**
* Acknowledge mode of container.
*/
Expand Down Expand Up @@ -786,6 +779,14 @@ public abstract static class AmqpContainer extends BaseContainer {
*/
private final ListenerRetry retry = new ListenerRetry();

public boolean isAutoStartup() {
return this.autoStartup;
}

public void setAutoStartup(boolean autoStartup) {
this.autoStartup = autoStartup;
}

public AcknowledgeMode getAcknowledgeMode() {
return this.acknowledgeMode;
}
Expand Down

0 comments on commit d610955

Please sign in to comment.