From 3fed48902f87cb1c2d47131763b2f7b20a421f74 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Mon, 5 Jun 2023 21:16:58 -0500 Subject: [PATCH] Polish "GH-275: Mention `ComponentCustomizer` in READMEs" - Swap out `mqtt-consumer` and `mongodb-supplier`snippets --- functions/consumer/mqtt-consumer/README.adoc | 2 +- functions/supplier/mongodb-supplier/README.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/consumer/mqtt-consumer/README.adoc b/functions/consumer/mqtt-consumer/README.adoc index 9204c0bf..2bc79d88 100644 --- a/functions/consumer/mqtt-consumer/README.adoc +++ b/functions/consumer/mqtt-consumer/README.adoc @@ -16,7 +16,7 @@ All configuration properties are prefixed with `mqtt.consumer`. For more information on the various options available, please see link:src/main/java/org/springframework/cloud/fn/consumer/mqtt/MqttConsumerProperties.java[MqttConsumerProperties]. -A `ComponentCustomizer` bean can be added in the target project to provide any custom options for the `MongoDbMessageSource` configuration used by the `mongodbSupplier`. +A `ComponentCustomizer` bean can be added in the target project to provide any custom options for the `MqttPahoMessageHandler` configuration used by the `mqttConsumer`. ## SSL Configuration diff --git a/functions/supplier/mongodb-supplier/README.adoc b/functions/supplier/mongodb-supplier/README.adoc index ffe318b4..79fc60fc 100644 --- a/functions/supplier/mongodb-supplier/README.adoc +++ b/functions/supplier/mongodb-supplier/README.adoc @@ -28,7 +28,7 @@ For more information on the various options available, please see link:src/main/ The `queryExpression` and `updateExpression` options may use Spring Data MongoDB query DSL from the `org.springframework.data.mongodb.core.query`, such as `Query` and `Update` factories respectively. The `updateExpression` is optional and ca use an item from query result as a root evaluation object to extract some values to update from just fetched data. -A `ComponentCustomizer` bean can be added in the target project to provide any custom options for the `MqttPahoMessageHandler` configuration used by the `mqttConsumer`. +A `ComponentCustomizer` bean can be added in the target project to provide any custom options for the `MongoDbMessageSource` configuration used by the `mongodbSupplier`. ## Tests