You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/06/30 12:05:35 UTC

[camel] branch main updated: Regen for commit fa36c7e897508fbeff030817d34eda8e930da0f8 (#7952)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 51c9086d509 Regen for commit fa36c7e897508fbeff030817d34eda8e930da0f8 (#7952)
51c9086d509 is described below

commit 51c9086d509693f3a22c2b7e9230b73c290a2128
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Thu Jun 30 14:05:27 2022 +0200

    Regen for commit fa36c7e897508fbeff030817d34eda8e930da0f8 (#7952)
    
    Signed-off-by: GitHub <no...@github.com>
    
    Co-authored-by: davsclaus <da...@users.noreply.github.com>
---
 .../org/apache/camel/catalog/schemas/camel-spring.xsd    | 14 +++++++++++++-
 .../java/org/apache/camel/model/PausableDefinition.java  | 16 ++++++++--------
 2 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 07f3b3f2452..72a58fdca1b 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -9677,7 +9677,19 @@ Sets the consumer listener to use.
             ]]></xs:documentation>
           </xs:annotation>
         </xs:attribute>
-        <xs:attribute name="untilCheck" type="xs:string" use="required"/>
+        <xs:attribute name="untilCheck" type="xs:string" use="required">
+          <xs:annotation>
+            <xs:documentation xml:lang="en"><![CDATA[
+References to a java.util.function.Predicate to use for until checks. The
+predicate is responsible for evaluating whether the processing can resume or
+not. Such predicate should return true if the consumption can resume, or false
+otherwise. The exact point of when the predicate is called is dependent on the
+component, and it may be called on either one of the available events.
+Implementations should not assume the predicate to be called at any specific
+point.
+            ]]></xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/PausableDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/PausableDefinition.java
index 3cd41f199ef..abf6a3c9eda 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/PausableDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/PausableDefinition.java
@@ -114,10 +114,10 @@ public class PausableDefinition extends NoOutputDefinition<PausableDefinition> {
     /**
      * References to a java.util.function.Predicate to use for until checks.
      *
-     * The predicate is responsible for evaluating whether the processing can resume or not.
-     * Such predicate should return true if the consumption can resume, or false otherwise. The exact point of when the predicate is
-     * called is dependent on the component, and it may be called on either one of the available events. Implementations
-     * should not assume the predicate to be called at any specific point.
+     * The predicate is responsible for evaluating whether the processing can resume or not. Such predicate should
+     * return true if the consumption can resume, or false otherwise. The exact point of when the predicate is called is
+     * dependent on the component, and it may be called on either one of the available events. Implementations should
+     * not assume the predicate to be called at any specific point.
      */
     public PausableDefinition untilCheck(String untilCheck) {
         setUntilCheck(untilCheck);
@@ -127,10 +127,10 @@ public class PausableDefinition extends NoOutputDefinition<PausableDefinition> {
     /**
      * The java.util.function.Predicate to use for until checks.
      *
-     * The predicate is responsible for evaluating whether the processing can resume or not.
-     * Such predicate should return true if the consumption can resume, or false otherwise. The exact point of when the predicate is
-     * called is dependent on the component, and it may be called on either one of the available events. Implementations
-     * should not assume the predicate to be called at any specific point.
+     * The predicate is responsible for evaluating whether the processing can resume or not. Such predicate should
+     * return true if the consumption can resume, or false otherwise. The exact point of when the predicate is called is
+     * dependent on the component, and it may be called on either one of the available events. Implementations should
+     * not assume the predicate to be called at any specific point.
      */
     public PausableDefinition untilCheck(Predicate<?> untilCheck) {
         setUntilCheck(untilCheck);