Skip to content

Commit 0ee05f1

Browse files
kjastrzebskigaryrussell
authored andcommitted
Update setUsePublisherConnection javadocs (#1100)
* Set default of usePublisherConnection to true Docs in setUsePublisherConnection say this defaults to true since version 2.1 what, in my opinion, is not true * Update javadocs for setUsePublisherConnection setter
1 parent 6012900 commit 0ee05f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-rabbit/src/main/java/org/springframework/amqp/rabbit/core/RabbitTemplate.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -794,8 +794,7 @@ public boolean isUsePublisherConnection() {
794794
/**
795795
* To avoid deadlocked connections, it is generally recommended to use
796796
* a separate connection for publishers and consumers (except when a publisher
797-
* is participating in a consumer transaction). Default 'false'; will change
798-
* to 'true' in 2.1.
797+
* is participating in a consumer transaction). Default 'false'.
799798
* @param usePublisherConnection true to use a publisher connection.
800799
* @since 2.0.2
801800
*/

0 commit comments

Comments
 (0)