This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3c09fa5b61d1f7a7ae79cba53db033fec131800b Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Sat Sep 7 12:41:07 2019 +0200 Fixed MongoDBEndpoint javadoc. This closes #3162 --- .../src/main/docs/mongodb-component.adoc | 2 +- .../camel/component/mongodb/MongoDbEndpoint.java | 2 +- .../dsl/MongoDbEndpointBuilderFactory.java | 24 +++++++++++----------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/components/camel-mongodb/src/main/docs/mongodb-component.adoc b/components/camel-mongodb/src/main/docs/mongodb-component.adoc index 8e8e2e6..db432bf 100644 --- a/components/camel-mongodb/src/main/docs/mongodb-component.adoc +++ b/components/camel-mongodb/src/main/docs/mongodb-component.adoc @@ -119,7 +119,7 @@ with the following path and query parameters: | *tailTrackCollection* (tail) | Collection where tail tracking information will be persisted. If not specified, MongoDbTailTrackingConfig#DEFAULT_COLLECTION will be used by default. | | String | *tailTrackDb* (tail) | Indicates what database the tail tracking mechanism will persist to. If not specified, the current database will be picked by default. Dynamicity will not be taken into account even if enabled, i.e. the tail tracking database will not vary past endpoint initialisation. | | String | *tailTrackField* (tail) | Field where the last tracked value will be placed. If not specified, MongoDbTailTrackingConfig#DEFAULT_FIELD will be used by default. | | String -| *tailTrackIncreasingField* (tail) | Correlation field in the incoming record which is of increasing nature and will be used to position the tailing cursor every time it is generated. The cursor will be (re)created with a query of type: tailTrackIncreasingField lastValue (possibly recovered from persistent tail tracking). Can be of type Integer, Date, String, etc. NOTE: No support for dot notation at the current time, so the field should be at the top level of the document. | | String +| *tailTrackIncreasingField* (tail) | Correlation field in the incoming record which is of increasing nature and will be used to position the tailing cursor every time it is generated. The cursor will be (re)created with a query of type: tailTrackIncreasingField greater than lastValue (possibly recovered from persistent tail tracking). Can be of type Integer, Date, String, etc. NOTE: No support for dot notation at the current time, so the field should be at the top level of the document. [...] |=== // endpoint options: END // spring-boot-auto-configure options: START diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java index af38053..a4f6f55 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java @@ -559,7 +559,7 @@ public class MongoDbEndpoint extends DefaultEndpoint { * Correlation field in the incoming record which is of increasing nature * and will be used to position the tailing cursor every time it is * generated. The cursor will be (re)created with a query of type: - * tailTrackIncreasingField > lastValue (possibly recovered from persistent + * tailTrackIncreasingField greater than lastValue (possibly recovered from persistent * tail tracking). Can be of type Integer, Date, String, etc. NOTE: No * support for dot notation at the current time, so the field should be at * the top level of the document. diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/MongoDbEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/MongoDbEndpointBuilderFactory.java index 657aef9..7428b50 100644 --- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/MongoDbEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/MongoDbEndpointBuilderFactory.java @@ -333,10 +333,10 @@ public interface MongoDbEndpointBuilderFactory { * Correlation field in the incoming record which is of increasing * nature and will be used to position the tailing cursor every time it * is generated. The cursor will be (re)created with a query of type: - * tailTrackIncreasingField lastValue (possibly recovered from - * persistent tail tracking). Can be of type Integer, Date, String, etc. - * NOTE: No support for dot notation at the current time, so the field - * should be at the top level of the document. + * tailTrackIncreasingField greater than lastValue (possibly recovered + * from persistent tail tracking). Can be of type Integer, Date, String, + * etc. NOTE: No support for dot notation at the current time, so the + * field should be at the top level of the document. * * The option is a: <code>java.lang.String</code> type. * @@ -861,10 +861,10 @@ public interface MongoDbEndpointBuilderFactory { * Correlation field in the incoming record which is of increasing * nature and will be used to position the tailing cursor every time it * is generated. The cursor will be (re)created with a query of type: - * tailTrackIncreasingField lastValue (possibly recovered from - * persistent tail tracking). Can be of type Integer, Date, String, etc. - * NOTE: No support for dot notation at the current time, so the field - * should be at the top level of the document. + * tailTrackIncreasingField greater than lastValue (possibly recovered + * from persistent tail tracking). Can be of type Integer, Date, String, + * etc. NOTE: No support for dot notation at the current time, so the + * field should be at the top level of the document. * * The option is a: <code>java.lang.String</code> type. * @@ -1284,10 +1284,10 @@ public interface MongoDbEndpointBuilderFactory { * Correlation field in the incoming record which is of increasing * nature and will be used to position the tailing cursor every time it * is generated. The cursor will be (re)created with a query of type: - * tailTrackIncreasingField lastValue (possibly recovered from - * persistent tail tracking). Can be of type Integer, Date, String, etc. - * NOTE: No support for dot notation at the current time, so the field - * should be at the top level of the document. + * tailTrackIncreasingField greater than lastValue (possibly recovered + * from persistent tail tracking). Can be of type Integer, Date, String, + * etc. NOTE: No support for dot notation at the current time, so the + * field should be at the top level of the document. * * The option is a: <code>java.lang.String</code> type. *