Skip to content

Commit 0cfe2f9

Browse files
authored
GH-2473: Clarify Choosing a Connection Factory (#2474)
Resolves #2473
1 parent a75b3d0 commit 0cfe2f9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/reference/asciidoc/amqp.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,10 @@ There are three connection factories to chose from
213213

214214
The first two were added in version 2.3.
215215

216-
For most use cases, the `PooledChannelConnectionFactory` should be used.
216+
For most use cases, the `CachingConnectionFactory` should be used.
217217
The `ThreadChannelConnectionFactory` can be used if you want to ensure strict message ordering without the need to use <<scoped-operations>>.
218-
The `CachingConnectionFactory` should be used if you want to use correlated publisher confirmations or if you wish to open multiple connections, via its `CacheMode`.
218+
The `PooledChannelConnectionFactory` is similar to the `CachingConnectionFactory` in that it uses a single connection and a pool of channels.
219+
It's implementation is simpler but it doesn't support correlated publisher confirmations.
219220

220221
Simple publisher confirmations are supported by all three factories.
221222

0 commit comments

Comments
 (0)