Skip to content

Commit 6fb53f9

Browse files
committed
Polish contribution
Closes spring-projectsgh-6666
1 parent 47ec863 commit 6fb53f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ public static class Listener {
504504
private Boolean defaultRequeueRejected;
505505

506506
/**
507-
* How often to publish idle container events.
507+
* How often idle container events should be published in milliseconds.
508508
*/
509509
private Long idleEventInterval;
510510

@@ -571,7 +571,7 @@ public void setDefaultRequeueRejected(Boolean defaultRequeueRejected) {
571571
}
572572

573573
public Long getIdleEventInterval() {
574-
return idleEventInterval;
574+
return this.idleEventInterval;
575575
}
576576

577577
public void setIdleEventInterval(Long idleEventInterval) {

spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ content into your application; rather pick only the properties that you need.
863863
spring.rabbitmq.listener.auto-startup=true # Start the container automatically on startup.
864864
spring.rabbitmq.listener.concurrency= # Minimum number of consumers.
865865
spring.rabbitmq.listener.default-requeue-rejected= # Whether or not to requeue delivery failures; default `true`.
866+
spring.rabbitmq.idle-event-interval= # How often idle container events should be published in milliseconds.
866867
spring.rabbitmq.listener.max-concurrency= # Maximum number of consumers.
867868
spring.rabbitmq.listener.prefetch= # Number of messages to be handled in a single request. It should be greater than or equal to the transaction size (if used).
868869
spring.rabbitmq.listener.retry.enabled=false # Whether or not publishing retries are enabled.

0 commit comments

Comments
 (0)