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

acosentino 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 0462568  Regen for commit c0eade158f51033741e9fb79d367359332c15018
0462568 is described below

commit 04625688565d8f9780417dededac7fe2888be89e
Author: davsclaus <[email protected]>
AuthorDate: Fri Jun 25 15:35:54 2021 +0000

    Regen for commit c0eade158f51033741e9fb79d367359332c15018
    
    Signed-off-by: GitHub <[email protected]>
---
 .../apache/camel/catalog/schemas/camel-spring.xsd  | 71 +++++++++++++++++++---
 1 file changed, 63 insertions(+), 8 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 715f21e..e47f3d8 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
@@ -3180,11 +3180,25 @@ 
org.apache.camel.processor.aggregate.MemoryAggregationRepository.
         <xs:attribute name="strategyRef" type="xs:string">
           <xs:annotation>
             <xs:documentation xml:lang="en"><![CDATA[
-A reference to lookup the AggregationStrategy in the Registry. Configuring an
-AggregationStrategy is required, and is used to merge the incoming Exchange 
with
-the existing already merged exchanges. At first call the oldExchange parameter
-is null. On subsequent invocations the oldExchange contains the merged 
exchanges
-and newExchange is of course the new incoming Exchange.
+A reference to lookup the AggregationStrategy in the Registry. The value can
+either refer to a bean to lookup, or to lookup a singleton bean by its type, or
+to create a new bean: Lookup bean - This is the default behavior to lookup an
+existing bean by the bean id (value) reference by type - Values can refer to
+singleton beans by their type in the registry by prefixing with #type: syntax,
+eg #type:com.foo.MyClassType reference new class - Values can refer to creating
+new beans by their class name by prefixing with #class, eg
+#class:com.foo.MyClassType. The class is created using a default no-arg
+constructor, however if you need to create the instance via a factory method
+then you specify the method as shown:
+#class:com.foo.MyClassType#myFactoryMethod. And if the factory method requires
+parameters they can be specified as follows:
+#class:com.foo.MyClassType#myFactoryMethod('Hello World', 5, true). Or if you
+need to create the instance via constructor parameters then you can specify the
+parameters as shown: #class:com.foo.MyClass('Hello World', 5, true). 
Configuring
+an AggregationStrategy is required, and is used to merge the incoming Exchange
+with the existing already merged exchanges. At first call the oldExchange
+parameter is null. On subsequent invocations the oldExchange contains the 
merged
+exchanges and newExchange is of course the new incoming Exchange.
             ]]></xs:documentation>
           </xs:annotation>
         </xs:attribute>
@@ -4499,7 +4513,20 @@ have both include and exclude header:pattern at the same 
time.
             <xs:documentation xml:lang="en"><![CDATA[
 To use a custom AggregationStrategy instead of the default implementation.
 Notice you cannot use both custom aggregation strategy and configure data at 
the
-same time.
+same time. The value can either refer to a bean to lookup, or to lookup a
+singleton bean by its type, or to create a new bean: Lookup bean - This is the
+default behavior to lookup an existing bean by the bean id (value) reference by
+type - Values can refer to singleton beans by their type in the registry by
+prefixing with #type: syntax, eg #type:com.foo.MyClassType reference new class 
-
+Values can refer to creating new beans by their class name by prefixing with
+#class, eg #class:com.foo.MyClassType. The class is created using a default
+no-arg constructor, however if you need to create the instance via a factory
+method then you specify the method as shown:
+#class:com.foo.MyClassType#myFactoryMethod. And if the factory method requires
+parameters they can be specified as follows:
+#class:com.foo.MyClassType#myFactoryMethod('Hello World', 5, true). Or if you
+need to create the instance via constructor parameters then you can specify the
+parameters as shown: #class:com.foo.MyClass('Hello World', 5, true).
             ]]></xs:documentation>
           </xs:annotation>
         </xs:attribute>
@@ -4725,7 +4752,21 @@ producers.
             <xs:documentation xml:lang="en"><![CDATA[
 Refers to an AggregationStrategy to be used to merge the reply from the 
external
 service, into a single outgoing message. By default Camel will use the reply
-from the external service as outgoing message.
+from the external service as outgoing message. The value can either refer to a
+bean to lookup, or to lookup a singleton bean by its type, or to create a new
+bean: Lookup bean - This is the default behavior to lookup an existing bean by
+the bean id (value) reference by type - Values can refer to singleton beans by
+their type in the registry by prefixing with #type: syntax, eg
+#type:com.foo.MyClassType reference new class - Values can refer to creating 
new
+beans by their class name by prefixing with #class, eg
+#class:com.foo.MyClassType. The class is created using a default no-arg
+constructor, however if you need to create the instance via a factory method
+then you specify the method as shown:
+#class:com.foo.MyClassType#myFactoryMethod. And if the factory method requires
+parameters they can be specified as follows:
+#class:com.foo.MyClassType#myFactoryMethod('Hello World', 5, true). Or if you
+need to create the instance via constructor parameters then you can specify the
+parameters as shown: #class:com.foo.MyClass('Hello World', 5, true).
             ]]></xs:documentation>
           </xs:annotation>
         </xs:attribute>
@@ -9858,7 +9899,21 @@ therefore its recommended to use a timeout value. 
Default value: -1
             <xs:documentation xml:lang="en"><![CDATA[
 Refers to an AggregationStrategy to be used to merge the reply from the 
external
 service, into a single outgoing message. By default Camel will use the reply
-from the external service as outgoing message.
+from the external service as outgoing message. The value can either refer to a
+bean to lookup, or to lookup a singleton bean by its type, or to create a new
+bean: Lookup bean - This is the default behavior to lookup an existing bean by
+the bean id (value) reference by type - Values can refer to singleton beans by
+their type in the registry by prefixing with #type: syntax, eg
+#type:com.foo.MyClassType reference new class - Values can refer to creating 
new
+beans by their class name by prefixing with #class, eg
+#class:com.foo.MyClassType. The class is created using a default no-arg
+constructor, however if you need to create the instance via a factory method
+then you specify the method as shown:
+#class:com.foo.MyClassType#myFactoryMethod. And if the factory method requires
+parameters they can be specified as follows:
+#class:com.foo.MyClassType#myFactoryMethod('Hello World', 5, true). Or if you
+need to create the instance via constructor parameters then you can specify the
+parameters as shown: #class:com.foo.MyClass('Hello World', 5, true).
             ]]></xs:documentation>
           </xs:annotation>
         </xs:attribute>

Reply via email to