Modified: websites/production/camel/content/schema/spring/camel-spring.xsd ============================================================================== --- websites/production/camel/content/schema/spring/camel-spring.xsd (original) +++ websites/production/camel/content/schema/spring/camel-spring.xsd Sun Jan 6 15:02:29 2013 @@ -5,12 +5,16 @@ <xs:element name="aop" type="tns:aopDefinition"/> + <xs:element name="avro" type="tns:avroDataFormat"/> + <xs:element name="batchResequencerConfig" type="tns:batchResequencerConfig"/> <xs:element name="bean" type="tns:beanDefinition"/> <xs:element name="beanPostProcessor" type="tns:camelBeanPostProcessor"/> + <xs:element name="beanio" type="tns:beanioDataFormat"/> + <xs:element name="bindy" type="tns:bindyDataFormat"/> <xs:element name="camelContext" type="tns:camelContextFactoryBean"/> @@ -273,6 +277,8 @@ <xs:element name="xmlBeans" type="tns:xmlBeansDataFormat"/> + <xs:element name="xmljson" type="tns:xmlJsonDataFormat"/> + <xs:element name="xpath" type="tns:xPathExpression"/> <xs:element name="xquery" type="tns:xQueryExpression"/> @@ -370,6 +376,7 @@ <xs:attribute name="maxQueueSize" type="xs:string"/> <xs:attribute name="rejectedPolicy" type="tns:threadPoolRejectedPolicy"/> <xs:attribute name="threadName" type="xs:string" use="required"/> + <xs:attribute name="scheduled" type="xs:boolean"/> </xs:extension> </xs:complexContent> </xs:complexType> @@ -399,6 +406,8 @@ <xs:extension base="tns:identifiedType"> <xs:sequence/> <xs:attribute name="location" type="xs:string" use="required"/> + <xs:attribute name="cache" type="xs:boolean"/> + <xs:attribute name="ignoreMissingLocation" type="xs:boolean"/> <xs:attribute name="propertiesResolverRef" type="xs:string"/> <xs:attribute name="propertiesParserRef" type="xs:string"/> <xs:attribute name="propertyPrefix" type="xs:string"/> @@ -434,6 +443,10 @@ </xs:complexContent> </xs:complexType> + <xs:complexType name="patternBasedPackageScanFilter"> + <xs:sequence/> + </xs:complexType> + <xs:complexType name="abstractJsseUtilFactoryBean" abstract="true"> <xs:complexContent> <xs:extension base="tns:abstractCamelFactoryBean"> @@ -735,6 +748,7 @@ <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="id" type="xs:ID"/> + <xs:attribute name="trim" type="xs:boolean"/> </xs:extension> </xs:simpleContent> </xs:complexType> @@ -1317,6 +1331,8 @@ <xs:extension base="tns:noOutputDefinition"> <xs:sequence> <xs:choice minOccurs="0"> + <xs:element ref="tns:avro"/> + <xs:element ref="tns:beanio"/> <xs:element ref="tns:bindy"/> <xs:element ref="tns:castor"/> <xs:element ref="tns:crypto"/> @@ -1337,6 +1353,7 @@ <xs:element ref="tns:syslog"/> <xs:element ref="tns:tidyMarkup"/> <xs:element ref="tns:xmlBeans"/> + <xs:element ref="tns:xmljson"/> <xs:element ref="tns:xstream"/> <xs:element ref="tns:pgp"/> <xs:element ref="tns:zip"/> @@ -1348,16 +1365,40 @@ </xs:complexContent> </xs:complexType> + <xs:complexType name="avroDataFormat"> + <xs:complexContent> + <xs:extension base="tns:dataFormat"> + <xs:sequence/> + <xs:attribute name="instanceClassName" type="xs:string"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="beanioDataFormat"> + <xs:complexContent> + <xs:extension base="tns:dataFormat"> + <xs:sequence/> + <xs:attribute name="mapping" type="xs:string" use="required"/> + <xs:attribute name="streamName" type="xs:string" use="required"/> + <xs:attribute name="ignoreUnidentifiedRecords" type="xs:boolean"/> + <xs:attribute name="ignoreUnexpectedRecords" type="xs:boolean"/> + <xs:attribute name="ignoreInvalidRecords" type="xs:boolean"/> + <xs:attribute name="encoding" type="xs:string"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="bindyDataFormat"> <xs:complexContent> <xs:extension base="tns:dataFormat"> <xs:sequence/> <xs:attribute name="type" type="tns:bindyType" use="required"/> - <xs:attribute name="packages" use="required"> + <xs:attribute name="packages"> <xs:simpleType> <xs:list itemType="xs:string"/> </xs:simpleType> </xs:attribute> + <xs:attribute name="classType" type="xs:string"/> <xs:attribute name="locale" type="xs:string"/> </xs:extension> </xs:complexContent> @@ -1405,7 +1446,11 @@ <xs:complexContent> <xs:extension base="tns:dataFormat"> <xs:sequence/> + <xs:attribute name="autogenColumns" type="xs:boolean"/> <xs:attribute name="delimiter" type="xs:string"/> + <xs:attribute name="configRef" type="xs:string"/> + <xs:attribute name="strategyRef" type="xs:string"/> + <xs:attribute name="skipFirstLine" type="xs:boolean"/> </xs:extension> </xs:complexContent> </xs:complexType> @@ -1508,6 +1553,7 @@ <xs:attribute name="keyCipherAlgorithm" type="xs:string"/> <xs:attribute name="recipientKeyAlias" type="xs:string"/> <xs:attribute name="keyOrTrustStoreParametersId" type="xs:string"/> + <xs:attribute name="keyPassword" type="xs:string"/> </xs:extension> </xs:complexContent> </xs:complexType> @@ -1527,6 +1573,7 @@ <xs:attribute name="contextPath" type="xs:string" use="required"/> <xs:attribute name="encoding" type="xs:string"/> <xs:attribute name="elementNameStrategyRef" type="xs:string"/> + <xs:attribute name="version" type="xs:string"/> </xs:extension> </xs:complexContent> </xs:complexType> @@ -1566,6 +1613,30 @@ </xs:complexContent> </xs:complexType> + <xs:complexType name="xmlJsonDataFormat"> + <xs:complexContent> + <xs:extension base="tns:dataFormat"> + <xs:sequence/> + <xs:attribute name="encoding" type="xs:string"/> + <xs:attribute name="elementName" type="xs:string"/> + <xs:attribute name="arrayName" type="xs:string"/> + <xs:attribute name="forceTopLevelObject" type="xs:boolean"/> + <xs:attribute name="namespaceLenient" type="xs:boolean"/> + <xs:attribute name="rootName" type="xs:string"/> + <xs:attribute name="skipWhitespace" type="xs:boolean"/> + <xs:attribute name="trimSpaces" type="xs:boolean"/> + <xs:attribute name="skipNamespaces" type="xs:boolean"/> + <xs:attribute name="removeNamespacePrefixes" type="xs:boolean"/> + <xs:attribute name="expandableProperties"> + <xs:simpleType> + <xs:list itemType="xs:string"/> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="typeHints" type="xs:string"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="xStreamDataFormat"> <xs:complexContent> <xs:extension base="tns:dataFormat"> @@ -1889,6 +1960,7 @@ <xs:attribute name="ref" type="xs:string"/> <xs:attribute name="timeout" type="xs:long"/> <xs:attribute name="strategyRef" type="xs:string"/> + <xs:attribute name="pollMultiple" type="xs:boolean"/> <xs:anyAttribute namespace="##other" processContents="skip"/> </xs:extension> </xs:complexContent> @@ -2423,6 +2495,8 @@ <xs:extension base="tns:noOutputDefinition"> <xs:sequence> <xs:choice minOccurs="0"> + <xs:element ref="tns:avro"/> + <xs:element ref="tns:beanio"/> <xs:element ref="tns:bindy"/> <xs:element ref="tns:castor"/> <xs:element ref="tns:crypto"/> @@ -2443,6 +2517,7 @@ <xs:element ref="tns:syslog"/> <xs:element ref="tns:tidyMarkup"/> <xs:element ref="tns:xmlBeans"/> + <xs:element ref="tns:xmljson"/> <xs:element ref="tns:xstream"/> <xs:element ref="tns:pgp"/> <xs:element ref="tns:zip"/> @@ -2463,6 +2538,15 @@ </xs:complexContent> </xs:complexType> + <xs:complexType name="whenSkipSendToEndpointDefinition"> + <xs:complexContent> + <xs:extension base="tns:whenDefinition"> + <xs:sequence/> + <xs:anyAttribute namespace="##other" processContents="skip"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="wireTapDefinition"> <xs:complexContent> <xs:extension base="tns:noOutputDefinition"> @@ -2496,6 +2580,8 @@ <xs:complexType name="dataFormatsDefinition"> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="tns:avro"/> + <xs:element ref="tns:beanio"/> <xs:element ref="tns:bindy"/> <xs:element ref="tns:castor"/> <xs:element ref="tns:crypto"/> @@ -2516,6 +2602,7 @@ <xs:element ref="tns:syslog"/> <xs:element ref="tns:tidyMarkup"/> <xs:element ref="tns:xmlBeans"/> + <xs:element ref="tns:xmljson"/> <xs:element ref="tns:xstream"/> <xs:element ref="tns:pgp"/> <xs:element ref="tns:zip"/> @@ -2656,6 +2743,7 @@ <xs:attribute name="regex" type="xs:boolean"/> <xs:attribute name="xml" type="xs:boolean"/> <xs:attribute name="includeTokens" type="xs:boolean"/> + <xs:attribute name="group" type="xs:int"/> </xs:extension> </xs:simpleContent> </xs:complexType> @@ -2664,6 +2752,10 @@ <xs:simpleContent> <xs:extension base="tns:namespaceAwareExpression"> <xs:attribute name="resultType" type="xs:string"/> + <xs:attribute name="saxon" type="xs:boolean"/> + <xs:attribute name="factoryRef" type="xs:string"/> + <xs:attribute name="objectModel" type="xs:string"/> + <xs:attribute name="logNamespaces" type="xs:boolean"/> </xs:extension> </xs:simpleContent> </xs:complexType> @@ -2728,6 +2820,7 @@ <xs:attribute name="autoStartup" type="xs:string"/> <xs:attribute name="useMDCLogging" type="xs:string"/> <xs:attribute name="useBreadcrumb" type="xs:string"/> + <xs:attribute name="managementNamePattern" type="xs:string"/> <xs:attribute name="shutdownRoute" type="tns:shutdownRoute"/> <xs:attribute name="shutdownRunningTask" type="tns:shutdownRunningTask"/> <xs:attribute name="lazyLoadTypeConverters" type="xs:boolean"/> @@ -2747,11 +2840,12 @@ <xs:complexContent> <xs:extension base="tns:identifiedType"> <xs:sequence> - <xs:element ref="tns:redeliveryPolicy" minOccurs="0"/> + <xs:element name="redeliveryPolicy" type="tns:camelRedeliveryPolicyFactoryBean" minOccurs="0"/> </xs:sequence> <xs:attribute name="type" type="tns:errorHandlerType"/> <xs:attribute name="deadLetterUri" type="xs:string"/> <xs:attribute name="level" type="tns:loggingLevel"/> + <xs:attribute name="rollbackLoggingLevel" type="tns:loggingLevel"/> <xs:attribute name="logName" type="xs:string"/> <xs:attribute name="useOriginalMessage" type="xs:boolean"/> <xs:attribute name="transactionTemplateRef" type="xs:string"/> @@ -2764,25 +2858,25 @@ </xs:complexContent> </xs:complexType> - <xs:complexType name="camelThreadPoolFactoryBean"> + <xs:complexType name="camelRedeliveryPolicyFactoryBean"> <xs:complexContent> - <xs:extension base="tns:abstractCamelThreadPoolFactoryBean"> + <xs:extension base="tns:abstractCamelRedeliveryPolicyFactoryBean"> <xs:sequence/> </xs:extension> </xs:complexContent> </xs:complexType> - <xs:complexType name="camelEndpointFactoryBean"> + <xs:complexType name="camelThreadPoolFactoryBean"> <xs:complexContent> - <xs:extension base="tns:abstractCamelEndpointFactoryBean"> + <xs:extension base="tns:abstractCamelThreadPoolFactoryBean"> <xs:sequence/> </xs:extension> </xs:complexContent> </xs:complexType> - <xs:complexType name="camelRedeliveryPolicyFactoryBean"> + <xs:complexType name="camelEndpointFactoryBean"> <xs:complexContent> - <xs:extension base="tns:abstractCamelRedeliveryPolicyFactoryBean"> + <xs:extension base="tns:abstractCamelEndpointFactoryBean"> <xs:sequence/> </xs:extension> </xs:complexContent> @@ -2959,6 +3053,7 @@ <xs:restriction base="xs:string"> <xs:enumeration value="XStream"/> <xs:enumeration value="Jackson"/> + <xs:enumeration value="Gson"/> </xs:restriction> </xs:simpleType>
Added: websites/production/camel/content/schema/spring/integration/camel-spring-integration-2.10.2.xsd ============================================================================== --- websites/production/camel/content/schema/spring/integration/camel-spring-integration-2.10.2.xsd (added) +++ websites/production/camel/content/schema/spring/integration/camel-spring-integration-2.10.2.xsd Sun Jan 6 15:02:29 2013 @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<xsd:schema xmlns="http://camel.apache.org/schema/spring/integration" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:camel-spring="http://camel.apache.org/schema/spring" + targetNamespace="http://camel.apache.org/schema/spring/integration" + elementFormDefault="qualified" + attributeFormDefault="unqualified"> + + <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans.xsd"/> + <xsd:import namespace="http://camel.apache.org/schema/spring" schemaLocation="http://camel.apache.org/schema/spring/camel-spring.xsd"/> + + <xsd:complexType name="camelEndpointType"> + <xsd:sequence> + <xsd:element ref="camel-spring:camelContext" minOccurs="0" /> + <xsd:element name="camelContextRef" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="id" type="xsd:ID" use="required" /> + <xsd:attribute name="camelEndpointUri" type="xsd:string" /> + <xsd:attribute name="replyChannel" type="xsd:string" /> + <xsd:attribute name="expectReply" type="xsd:boolean" default="true"/> + </xsd:complexType> + + <xsd:element name="camelSource"> + <xsd:complexType> + <xsd:annotation> + <xsd:documentation> + Defines a camel-source for handling the Camel context message in Spring Integration message bus. + </xsd:documentation> + </xsd:annotation> + <xsd:complexContent> + <xsd:extension base="camelEndpointType"> + <xsd:attribute name="requestChannel" type="xsd:string" use="required" /> + </xsd:extension> + </xsd:complexContent> + </xsd:complexType> + </xsd:element> + + <xsd:element name="camelTarget" type="camelEndpointType"> + <xsd:annotation> + <xsd:documentation> + Defines a camel-target to feed Spring Integration message to the Camel context. + </xsd:documentation> + </xsd:annotation> + </xsd:element> +</xsd:schema> Added: websites/production/camel/content/schema/spring/integration/camel-spring-integration-2.9.4.xsd ============================================================================== --- websites/production/camel/content/schema/spring/integration/camel-spring-integration-2.9.4.xsd (added) +++ websites/production/camel/content/schema/spring/integration/camel-spring-integration-2.9.4.xsd Sun Jan 6 15:02:29 2013 @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<xsd:schema xmlns="http://camel.apache.org/schema/spring/integration" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:camel-spring="http://camel.apache.org/schema/spring" + targetNamespace="http://camel.apache.org/schema/spring/integration" + elementFormDefault="qualified" + attributeFormDefault="unqualified"> + + <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans.xsd"/> + <xsd:import namespace="http://camel.apache.org/schema/spring" schemaLocation="http://camel.apache.org/schema/spring/camel-spring.xsd"/> + + <xsd:complexType name="camelEndpointType"> + <xsd:sequence> + <xsd:element ref="camel-spring:camelContext" minOccurs="0" /> + <xsd:element name="camelContextRef" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="id" type="xsd:ID" use="required" /> + <xsd:attribute name="camelEndpointUri" type="xsd:string" /> + <xsd:attribute name="replyChannel" type="xsd:string" /> + <xsd:attribute name="expectReply" type="xsd:boolean" default="true"/> + </xsd:complexType> + + <xsd:element name="camelSource"> + <xsd:complexType> + <xsd:annotation> + <xsd:documentation> + Defines a camel-source for handling the Camel context message in Spring Integration message bus. + </xsd:documentation> + </xsd:annotation> + <xsd:complexContent> + <xsd:extension base="camelEndpointType"> + <xsd:attribute name="requestChannel" type="xsd:string" use="required" /> + </xsd:extension> + </xsd:complexContent> + </xsd:complexType> + </xsd:element> + + <xsd:element name="camelTarget" type="camelEndpointType"> + <xsd:annotation> + <xsd:documentation> + Defines a camel-target to feed Spring Integration message to the Camel context. + </xsd:documentation> + </xsd:annotation> + </xsd:element> +</xsd:schema>