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 d36f11d  Regen for commit 8b6af4ada9fd3c42a0e3f8e09d5a0c7bf852db51
d36f11d is described below

commit d36f11d5cb67ecf91a578792e95766d769423c73
Author: davsclaus <davscl...@users.noreply.github.com>
AuthorDate: Fri May 14 06:25:13 2021 +0000

    Regen for commit 8b6af4ada9fd3c42a0e3f8e09d5a0c7bf852db51
    
    Signed-off-by: GitHub <nore...@github.com>
---
 .../resources/org/apache/camel/catalog/models/templateBean.json  | 1 +
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd  | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/templateBean.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/templateBean.json
index 9f2c566..991833d 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/templateBean.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/templateBean.json
@@ -13,6 +13,7 @@
   "properties": {
     "name": { "kind": "attribute", "displayName": "Name", "required": true, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "Bean name" },
     "type": { "kind": "attribute", "displayName": "Type", "required": true, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "What type to use for 
creating the bean. Can be one of: 
#class,#type,bean,groovy,joor,language,mvel,ognl. #class or #type then the bean 
is created via the fully qualified classname, such as #class:com.foo.MyBean The 
others are scripting languages that gives more power to create the bean with  
[...]
+    "beanType": { "kind": "attribute", "displayName": "Bean Type", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "To set the type (fully 
qualified class name) of the returned bean created by the script. Knowing the 
type of the bean can be needed when dependency injection by type is in use, or 
when looking in registry via class type." },
     "property": { "kind": "element", "displayName": "Property", "required": 
false, "type": "array", "javaType": 
"java.util.List<org.apache.camel.model.PropertyDefinition>", "deprecated": 
false, "autowired": false, "secret": false, "description": "Optional properties 
to set on the created local bean" },
     "script": { "kind": "element", "displayName": "Script", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.model.RouteTemplateScriptDefinition", "deprecated": false, 
"autowired": false, "secret": false, "description": "The script to execute that 
creates the bean when using scripting languages. If the script use the prefix 
resource: such as resource:classpath:com\/foo\/myscript.groovy, 
resource:file:\/var\/myscript.groovy, then its loaded from the external 
resource." }
   }
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 959399b..785bd46 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
@@ -10337,6 +10337,15 @@ inlined code in the script section, such as using 
groovy.
         ]]></xs:documentation>
       </xs:annotation>
     </xs:attribute>
+    <xs:attribute name="beanType" type="xs:string">
+      <xs:annotation>
+        <xs:documentation xml:lang="en"><![CDATA[
+To set the type (fully qualified class name) of the returned bean created by 
the
+script. Knowing the type of the bean can be needed when dependency injection by
+type is in use, or when looking in registry via class type.
+        ]]></xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
   </xs:complexType>
 
   <xs:simpleType name="routeTemplateScriptDefinition">

Reply via email to