Skip to content

Commit ff961aa

Browse files
committed
fix description
1 parent c1545f6 commit ff961aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/docs/asciidoc/api.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ Set the value to `Duration.ZERO` if there should be no timeout.
468468

469469
|`retryOnRecovery`
470470
|Re-publish unconfirmed messages when restoring a connection.
471-
Set to false if do not want to re-publish unconfirmed messages when restoring a connection.
471+
Set to false if do not want to re-publish unconfirmed messages after recovering a connection.
472472
|true
473473
|===
474474

src/main/java/com/rabbitmq/stream/ProducerBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ public interface ProducerBuilder {
134134
ProducerBuilder enqueueTimeout(Duration timeout);
135135

136136
/**
137-
* Re-publish unconfirmed messages when restoring a connection.
137+
* Re-publish unconfirmed messages after recovering a connection.
138138
*
139139
* <p>Default is true.</p>
140140
*
141-
* <p>Set to false if do not want to re-publish unconfirmed messages when restoring a connection.</p>
141+
* <p>Set to false if do not want to re-publish unconfirmed messages after recovering a connection.</p>
142142
*
143143
* @param retryOnRecovery
144144
* @return this builder instance

0 commit comments

Comments
 (0)