File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
spring-rabbit/src/main/java/org/springframework/amqp/rabbit/core Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -823,10 +823,12 @@ public boolean isUsePublisherConnection() {
823
823
}
824
824
825
825
/**
826
- * To avoid deadlocked connections, it is generally recommended to use
827
- * a separate connection for publishers and consumers (except when a publisher
828
- * is participating in a consumer transaction). Default 'false'; will change
829
- * to 'true' in 2.1.
826
+ * To avoid deadlocked connections, it is generally recommended to use a separate
827
+ * connection for publishers and consumers (except when a publisher is participating
828
+ * in a consumer transaction). Default 'false'. When setting this to true, be careful
829
+ * in that a {@link RabbitAdmin} that uses this template will declare queues on the
830
+ * publisher connection; this may not be what you expect, especially with exclusive
831
+ * queues that might be consumed in this application.
830
832
* @param usePublisherConnection true to use a publisher connection.
831
833
* @since 2.0.2
832
834
*/
You can’t perform that action at this time.
0 commit comments