You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/05/13 21:01:45 UTC
[camel] branch main updated: Regen for commit
d7ab43c9437ead7c3a41bf68c31b008cfa0038a5
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 6b5de32 Regen for commit d7ab43c9437ead7c3a41bf68c31b008cfa0038a5
6b5de32 is described below
commit 6b5de325d0ed02624fc10044896382414f12e5e7
Author: lburgazzoli <lb...@users.noreply.github.com>
AuthorDate: Thu May 13 20:59:19 2021 +0000
Regen for commit d7ab43c9437ead7c3a41bf68c31b008cfa0038a5
Signed-off-by: GitHub <no...@github.com>
---
.../apache/camel/catalog/schemas/camel-spring.xsd | 49 +++++++++++++++-------
1 file changed, 34 insertions(+), 15 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 220e055..3c71d8e 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
@@ -10298,20 +10298,43 @@ Whether tracing is enabled on this route.
</xs:complexType>
<xs:complexType name="routeTemplateBeanDefinition">
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="name" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en"><![CDATA[
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:property"/>
+ <xs:element minOccurs="0" name="script" type="tns:routeTemplateScriptDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en"><![CDATA[
+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.
+ ]]></xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en"><![CDATA[
Bean name.
- ]]></xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="language" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
+ ]]></xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="type" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en"><![CDATA[
+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 an
+inlined code in the script section, such as using groovy.
+ ]]></xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
+ <xs:simpleType name="routeTemplateScriptDefinition">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+
<xs:complexType name="routeTemplateContextRefDefinition">
<xs:sequence/>
<xs:attribute name="ref" type="xs:string" use="required">
@@ -10370,10 +10393,6 @@ Description of the parameter.
</xs:attribute>
</xs:complexType>
- <xs:simpleType name="routeTemplateScriptDefinition">
- <xs:restriction base="xs:string"/>
- </xs:simpleType>
-
<xs:complexType name="routeTemplatesDefinition">
<xs:complexContent>
<xs:extension base="tns:optionalIdentifiedDefinition">