Skip to content

Commit b7ac5f7

Browse files
Update reactive transaction sample in reference documentation.
Closes: #4190
1 parent 9af1689 commit b7ac5f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/reference/client-session-transactions.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,10 @@ The following example shows how to create and use transactions with a `ReactiveM
302302
[source,java]
303303
----
304304
@Configuration
305-
static class Config extends AbstractMongoClientConfiguration {
305+
public class Config extends AbstractReactiveMongoConfiguration {
306306
307307
@Bean
308-
ReactiveMongoTransactionManager transactionManager(ReactiveDatabaseFactory factory) { <1>
308+
ReactiveMongoTransactionManager transactionManager(ReactiveMongoDatabaseFactory factory) { <1>
309309
return new ReactiveMongoTransactionManager(factory);
310310
}
311311

0 commit comments

Comments
 (0)