Polish "GH-275: Mention ComponentCustomizer in READMEs"

- Swap out `mqtt-consumer` and `mongodb-supplier`snippets
This commit is contained in:
Chris Bono
2023-06-05 21:16:58 -05:00
committed by Artem Bilan
parent 35a37fac5a
commit 3fed48902f
2 changed files with 2 additions and 2 deletions

View File

@@ -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<MongoDbMessageSource>` bean can be added in the target project to provide any custom options for the `MongoDbMessageSource` configuration used by the `mongodbSupplier`.
A `ComponentCustomizer<MqttPahoMessageHandler>` bean can be added in the target project to provide any custom options for the `MqttPahoMessageHandler` configuration used by the `mqttConsumer`.
## SSL Configuration

View File

@@ -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<MqttPahoMessageHandler>` bean can be added in the target project to provide any custom options for the `MqttPahoMessageHandler` configuration used by the `mqttConsumer`.
A `ComponentCustomizer<MongoDbMessageSource>` bean can be added in the target project to provide any custom options for the `MongoDbMessageSource` configuration used by the `mongodbSupplier`.
## Tests