From db150fc800c6747659295dcce392290ee350878c Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 14 Aug 2009 21:36:05 +0000 Subject: [PATCH] created 2.0 version of XSD --- .../main/resources/META-INF/spring.schemas | 4 +- .../config/xml/spring-integration-2.0.xsd | 1447 +++++++++++++++++ 2 files changed, 1450 insertions(+), 1 deletion(-) create mode 100644 org.springframework.integration/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd diff --git a/org.springframework.integration/src/main/resources/META-INF/spring.schemas b/org.springframework.integration/src/main/resources/META-INF/spring.schemas index 10dbd9caf2..2a576a2827 100644 --- a/org.springframework.integration/src/main/resources/META-INF/spring.schemas +++ b/org.springframework.integration/src/main/resources/META-INF/spring.schemas @@ -1 +1,3 @@ -http\://www.springframework.org/schema/integration/spring-integration-1.0.xsd=org/springframework/integration/config/xml/spring-integration-1.0.xsd \ No newline at end of file +http\://www.springframework.org/schema/integration/spring-integration-1.0.xsd=org/springframework/integration/config/xml/spring-integration-1.0.xsd +http\://www.springframework.org/schema/integration/spring-integration-2.0.xsd=org/springframework/integration/config/xml/spring-integration-2.0.xsd +http\://www.springframework.org/schema/integration/spring-integration.xsd=org/springframework/integration/config/xml/spring-integration-2.0.xsd \ No newline at end of file diff --git a/org.springframework.integration/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd b/org.springframework.integration/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd new file mode 100644 index 0000000000..9353fbb495 --- /dev/null +++ b/org.springframework.integration/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd @@ -0,0 +1,1447 @@ + + + + + + + + + + + + + + Enables annotation support for Message Endpoints. + + + + + + + + + Defines the ApplicationEventMulticaster to use for this + ApplicationContext. + The "task-executor" reference is optional. If not provided, an + instance of + ThreadPoolTaskExecutor will be created by default. + + + + + + + + + + + + + + + + + + Defines a Point-to-Point MessageChannel. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a queue for messages. If 'capacity' is + specified, it will be a + bounded queue. + + A custom Queue implementation + can be + injected using the 'ref' attribute. + + + + + + + + + + + + + + + + + + Defines a queue with priority-ordering for message + reception. + + + + + + + + + + Defines a rendezvous queue where a sender will + block until the receiver + arrives or vice-versa. + + + + + + + + Defines the dispatching configuration for a non-buffering channel + (i.e. one without a queue). + + + + + + + Defines a load-balancing strategy for the channel's dispatcher. + The default is a round-robin load balancer. + + + + + + + [DEFAULT] Defines a Round Robin dispatching strategy which allows for + load balancing of messages between multiple Message Handlers. Which message + handler receives the message first is determined by the 'order' attribute + of such Message Handler. + + + + + + + No LoadBalancingStrategy will be used. + + + + + + + + + + Specifies whether this dispatcher has failover enabled. By default, + failover will be enabled. Set this to 'false' to disable it. + When enabled and message delivery to the primary Message Handler fails, + an attempt will be made to deliver the message to the next handler and so on... + Primary, secondary etc... is determined by the load-balancing strategy in use + (e.g. round-robin). If no load-balancer strategy is configured, the order will + be fixed in a sequence determined by the 'order' attribute on the Message Handlers + (or the @Ordered annotation on adapted methods). + + + + + + + + + + + + + + + + + + + Defines a Publish-Subscribe channel that + broadcasts messages to its subscribers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specify whether Exceptions thrown by any subscribed handler should be ignored (only logged). + + + + + + + Specify whether the sequence size, sequence number, and correlation id headers should be set on + Messages that are sent through this channel. + + + + + + + + + + + + Defines a channel that maintains its Messages on a thread-bound queue. + + + + + + + + + + + + + + + + + + + + + + Defines a message channel. + + + + + + + + + This attribute is DEPRECATED. Please use the dispatcher sub-element instead. + + + + + + + Enables failover, but disables load-balancing. + See the dispatcher sub-element for more information. + + + + + + + + + + + + + Defines a Messaging Gateway. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a Channel Adapter that receives from a + MessageSource and sends to a + MessageChannel. + + + + + + + + Defines a Channel Adapter that receives from a MessageChannel and sends to + a method-invoking MessageHandler. + + + + + + + + + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines an endpoint for exposing any bean + reference as a service that + receives request Messages from an + 'input-channel' and may send reply + Messages to an 'output-channel'. + The 'ref' may point to an instance + that has either a single public + method or a method with the + @ServiceActivator annotation. Otherwise, + the 'method' attribute + should be provided along with 'ref'. + + + + + + + + Base type for Message-handling endpoints. + + + + + + + + + + + + + + + + + + + + + + Base type for Message Endpoint elements that + accept Messages from an + input-channel + and also may produce reply + Messages to be sent to an output-channel. + + + + + + + + + + + + + + + + + + + + + Base type for Message Endpoint elements that accept Messages from an + input-channel. + + + + + + + + + + + + + + + + + + + + + + + + + + + Base type for Message Handlers. + + + + + + + + + + + + + + + + + + + + + + Defines an endpoint that passes a Message to the output-channel after a delay. The delay may + be retrieved from a Message header or else fallback to the 'default-delay' of this endpoint. + + + + + + + + + + + + Specify the default delay in milliseconds. This value can be set to 0 if the only Messages + that should be delayed are those with a particular header (in that case, be sure to provide + a value for the 'delay-header-name' attribute). + + + + + + + Specify the name of the header that should contain the delay value. This value can either + represent the number of milliseconds to delay counting from the current time or it can be an + absolute Date until which the Message should be delayed. + + + + + + + Provide a reference to the ScheduledExecutorService instance to which this endpoint should + delegate when scheduling the sending of delayed Messages. If not provided, the default + will use a thread pool of size 1. + + + + + + + + + + + + Specify the maximum amount of time in milliseconds to wait when sending the released + Messages (after delay) to the output channel. By default the send will block indefinitely. + + + + + + + Specify whether tasks should be able to complete on shutdown. By default this is 'false'. + + + + + + + + + + + + Defines an endpoint that passes a Message to the + output-channel without + modifying it. + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines an endpoint composed of a chain of Message + Handlers. + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a top-level poller. + + + + + + + + + + + + + + + + + + + + + + + + Defines the configuration metadata for a poller. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines an interval-based trigger. + + + + + + + + + + + + + + + + + + + + + + Defines an cron-based trigger. + + + + + + + + + + Defines a MessageSelector chain. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Provides a MessageSelector reference. If a method + attribute is set the + referred bean doesn't need to implement the + MessageSelector + interface. + + + + + + + + + + + Defines a HeaderEnricher endpoint for values + defined in the MessageHeaders. + + + + + + + + + + + + + + + + + + Defines a Message Header value or ref. + + + + + + + + + + + Provides the names of the standard configurable + MessageHeaders. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a ThreadPoolTaskExecutor. + + + + + + + + Specifies the maximum pool size in order to + limit the number of concurrent + tasks. + Otherwise, the default will be + Integer.MAX_VALUE. + + + + + + + + + + + + + + + + + + + + + + + + + Defines a Transformer. + + + + + + + + Defines a Transformer that converts any Object + payload to a String by + invoking its toString() method. + + + + + + + + + + + + + + + + + + Defines a Transformer that serializes any Object + payload that implements + Serializable into a byte array. + + + + + + + + + + + + + + + + + + Defines a Transformer that deserializes a byte + array payload into an + Object. + + + + + + + + + + + + + + + + + + Defines a Filter. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a Splitter. + + + + + + + + + Defines an aggregating message endpoint. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a resequencing message endpoint. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a completion strategy. + + + + + + + + + + + Defines a list of interceptors. Each element may + be a ChannelInterceptor, + ref, or inner-bean. + + + + + + + + + + + + + + + + + + + + + + + + + + + Defines a Wire Tap Channel Interceptor. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file