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 @@ -785,10 +785,12 @@ public boolean isUsePublisherConnection() {
785785 }
786786
787787 /**
788- * To avoid deadlocked connections, it is generally recommended to use
789- * a separate connection for publishers and consumers (except when a publisher
790- * is participating in a consumer transaction). Default 'false'; will change
791- * to 'true' in 2.1.
788+ * To avoid deadlocked connections, it is generally recommended to use a separate
789+ * connection for publishers and consumers (except when a publisher is participating
790+ * in a consumer transaction). Default 'false'. When setting this to true, be careful
791+ * in that a {@link RabbitAdmin} that uses this template will declare queues on the
792+ * publisher connection; this may not be what you expect, especially with exclusive
793+ * queues that might be consumed in this application.
792794 * @param usePublisherConnection true to use a publisher connection.
793795 * @since 2.0.2
794796 */
You can’t perform that action at this time.
0 commit comments