From 9bd441c8d0d7ab9fb8a1db5e758cc11a72d9ca89 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Fri, 30 May 2014 20:17:33 +0300 Subject: [PATCH] INT-3418: xsd-2.1 -> 2.2 --- ....1.xsd => spring-integration-amqp-4.1.xsd} | 0 .../config/xml/spring-integration-2.1.xsd | 3637 ----------------- .../config/xml/spring-integration-4.1.xsd | 1709 +++++--- .../config/spring-integration-event-2.1.xsd | 113 - .../config/spring-integration-event-4.1.xsd | 6 +- .../config/spring-integration-feed-2.1.xsd | 87 - .../config/spring-integration-feed-4.1.xsd | 4 +- .../config/spring-integration-file-2.1.xsd | 435 -- .../config/spring-integration-file-4.1.xsd | 131 +- .../ftp/config/spring-integration-ftp-2.1.xsd | 483 --- .../ftp/config/spring-integration-ftp-4.1.xsd | 506 ++- ...xsd => spring-integration-gemfire-4.1.xsd} | 0 .../config/spring-integration-groovy-2.1.xsd | 72 - .../config/spring-integration-groovy-4.1.xsd | 123 +- .../config/spring-integration-http-2.1.xsd | 690 ---- .../config/spring-integration-http-4.1.xsd | 195 +- .../ip/config/spring-integration-ip-2.1.xsd | 606 --- .../ip/config/spring-integration-ip-4.1.xsd | 473 ++- .../config/spring-integration-jdbc-2.1.xsd | 1316 ------ .../config/spring-integration-jdbc-4.1.xsd | 798 +++- .../jms/config/spring-integration-jms-2.1.xsd | 1266 ------ .../jms/config/spring-integration-jms-4.1.xsd | 242 +- .../jmx/config/spring-integration-jmx-2.1.xsd | 183 - .../jmx/config/spring-integration-jmx-4.1.xsd | 6 +- .../config/spring-integration-mail-2.1.xsd | 325 -- .../config/spring-integration-mail-4.1.xsd | 16 +- ...1.xsd => spring-integration-redis-4.1.xsd} | 0 .../rmi/config/spring-integration-rmi-2.1.xsd | 107 - .../rmi/config/spring-integration-rmi-4.1.xsd | 4 +- ...d => spring-integration-scripting-4.1.xsd} | 0 ...spring-integration-scripting-core-4.1.xsd} | 0 .../spring-integration-security-2.1.xsd | 54 - .../config/spring-integration-sftp-2.1.xsd | 491 --- .../config/spring-integration-sftp-4.1.xsd | 701 ++-- .../config/spring-integration-stream-2.1.xsd | 81 - .../config/spring-integration-stream-4.1.xsd | 2 +- .../config/spring-integration-twitter-2.1.xsd | 196 - .../config/spring-integration-twitter-4.1.xsd | 16 +- .../ws/config/spring-integration-ws-2.1.xsd | 435 -- .../ws/config/spring-integration-ws-4.1.xsd | 104 +- .../xml/config/spring-integration-xml-2.1.xsd | 752 ---- .../xml/config/spring-integration-xml-4.1.xsd | 461 ++- .../config/spring-integration-xmpp-2.1.xsd | 378 -- .../config/spring-integration-xmpp-4.1.xsd | 36 +- 44 files changed, 3996 insertions(+), 13244 deletions(-) rename spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/{spring-integration-amqp-2.1.xsd => spring-integration-amqp-4.1.xsd} (100%) delete mode 100644 spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.1.xsd delete mode 100644 spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-2.1.xsd delete mode 100644 spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-2.1.xsd delete mode 100644 spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.1.xsd delete mode 100644 spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.1.xsd rename spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/{spring-integration-gemfire-2.1.xsd => spring-integration-gemfire-4.1.xsd} (100%) delete mode 100644 spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-2.1.xsd delete mode 100644 spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-2.1.xsd delete mode 100644 spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-2.1.xsd delete mode 100644 spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.1.xsd delete mode 100644 spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-2.1.xsd delete mode 100644 spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-2.1.xsd delete mode 100644 spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.1.xsd rename spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/{spring-integration-redis-2.1.xsd => spring-integration-redis-4.1.xsd} (100%) delete mode 100644 spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-2.1.xsd rename spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/{spring-integration-scripting-2.1.xsd => spring-integration-scripting-4.1.xsd} (100%) rename spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/{spring-integration-scripting-core-2.1.xsd => spring-integration-scripting-core-4.1.xsd} (100%) delete mode 100644 spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-2.1.xsd delete mode 100644 spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.1.xsd delete mode 100644 spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-2.1.xsd delete mode 100644 spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-2.1.xsd delete mode 100644 spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-2.1.xsd delete mode 100644 spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.1.xsd delete mode 100644 spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-2.1.xsd diff --git a/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-2.1.xsd b/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.1.xsd similarity index 100% rename from spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-2.1.xsd rename to spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.1.xsd diff --git a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.1.xsd b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.1.xsd deleted file mode 100644 index 591d33b9cb..0000000000 --- a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.1.xsd +++ /dev/null @@ -1,3637 +0,0 @@ - - - - - - - - - - - - - - Enables annotation support for Message Endpoints. - - - - - - - Default output channel for the @Publisher annotation support. - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - Identifies this channel as a Queue style - channel - - - - - - - Identifies this channel as a Queue style - channel where messages could be prioritized - based on custom logic - - - - - - - Provides MessageDispatcher configuration - (i.e., failover, load-balancing, task-executor) - - - - - - - - - - - - - - - - - - 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. - - - - - - Capacity for this queue. Default capacity is 0 which means - this queue will accumulate as many - messages as available resources allow. - - - - - - - Reference to a MessageGroupStore that can be used to buffer the messages. If a message store is - specified then it will store messages for this channel with a correlation key equal to the - channel name. If you need - more control over the correlation key (e.g. two channels in the same - application share a name), then you need to - look to the queue implementation itself and provide an - explicit instance via the "ref" attribute, or else maybe the - message store has a way to specify a region or similar additional - tag for messages. This attribute is - mutually - exclusive with the "ref" attribute (only one can be specified). - - - - - - - - - - - - Reference to a BlockingQueue that can be used to buffer the messages. This attribute is - mutually - exclusive with the "message-store" attribute (only one can be specified). - - - - - - - - - - - - - - Defines a queue with priority-ordering for message reception. - - - - - - Capacity for this queue. Default capacity is 0 which means - this queue will accumulate as many - messages as available resources allow. - - - - - - - - - - - - - - - - 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 - 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 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 Messaging Gateway to be used within a chain. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a Channel Adapter that receives from a MessageSource and sends to a - MessageChannel. - - - - - - - - - - - - - - - - - - - - - - Maximum amount of time in milliseconds to wait when sending a message to the channel if such channel may block. - For example, a Queue Channel can block until space is available if its maximum capacity has been reached. - - - - - - - - - - Defines a Channel Adapter that receives Resource(s) and sends them to a - MessageChannel identified via 'channel' attribute. - - - - - - - - - - - - Component identifier - - - - - - - Channel where Message will be sent to - - - - - - - Reference to the implementation of org.springframework.integration.util.CollectionFilter. - - - - - - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - - - - - Location pattern expression (e.g., "/**/*.txt") - - - - - - - - Reference to a org.springframework.core.io.support.ResourcePatternResolver. - - - - - - - Maximum amount of time in milliseconds to wait when sending a message to the channel if such channel may block. - For example, a Queue Channel can block until space is available if its maximum capacity has been reached. - - - - - - - - - - Defines a Channel Adapter that receives from a MessageChannel and passes to - a method-invoking - MessageHandler. - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a -subscriber to a channel. This is particularly relevant when that channel -is using a "failover" dispatching strategy. It has no effect when this -endpoint itself is a Polling Consumer for a channel with a queue. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Provide a name for the logger. This is useful when there are multiple logging Channel Adapters configured, - and you would like to differentiate them within the actual log. By default the logger name will be the - fully qualified class name of the LoggingHandler implementation. - - - - - - - - - - - - - - - - - - - - - - - - - - - - A reference to a bean defined in the application context. - - - - - - - - - - - - A method defined on the bean referenced by 'ref' attribute - - - - - - - SpEL expression to be evaluated for each triggered execution. - The result of the evaluation will be - passed as the payload of - the Message that is sent to the MessageChannel. - - - - - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - - - - - - - - - - - - - - - - - - - - - - - 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'. - - - - - - - - - - Specify whether the service method must return a non-null value. This value will be - FALSE by - default, but if set to TRUE, a MessageHandlingException will be thrown when - the underlying service method (or - expression) returns a NULL value. - - - - - - - - - - - - Base type for Message-handling endpoints. - - - - - - - - - - - A reference to a bean that implements the handler. - The bean can be an implementation of the MessageHandler interface or a POJO - - - - - - - - - - - - A method defined on the bean referenced by 'ref' attribute - - - - - - - - - Base type for Message Handlers. - - - - - - - - - - - - - A reference to a bean that implements the handler. - The bean can be an implementation of the MessageHandler interface or a POJO - - - - - - - - - - - - A method defined on the bean referenced by 'ref' attribute - - - - - - - - - - - Defines an endpoint that passes a Message to its request-channel - and then expects a reply Message. The reply Message then becomes - the root object for evaluation of expressions to enrich the - target payload. - - - - - - - - - - - - - - - - - - Each property sub-element provides the name of a property (via the required 'name' attribute). - That property should be settable on the target payload instance. Exactly one of the 'value' - or 'expression' attributes must be provided as well. The former for a literal value to set, - and the latter for a SpEL expression to be evaluated. The root object of the evaluation - context is the Message that was returned from the flow initiated by this enricher. - - - - - - - - Channel to which a Message will be sent to get the data to use - for enrichment. This attribute is optional. Not specifying a - 'request-channel' is useful in situations, where only static - values shall be used for enrichment using the 'property' - sub-element. - - - - - - - - - - - - Channel where a reply Message is expected. This is optional; typically the auto-generated - temporary reply channel is sufficient. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Boolean value indicating whether any payload that implements Cloneable should be cloned - prior to sending the Message to the request chanenl for acquiring the enriching data. - The cloned version would be used as the target payload for the ultimate reply. - - If the payload does NOT implement 'Cloneable', then setting this - attribute to 'true' has NO effect. - - Default is false. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 TaskScheduler 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. - - - - - - - - - - - - Provide a reference to the MessageStore instance that should be used - to store Messages while - awaiting the delay. - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fixed delay trigger (in milliseconds). - - - - - - Allows this poller to reference another instance of a top-level poller. - [IMPORTANT] - This attribute is only allowed on inner poller definitions. - Defining this attribute on a top-level poller definition will result in a configuration exception. - - - - - - Fixed rate trigger (in milliseconds). - - - - - - - - - - - - - - - - Cron 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 MessageHeader. - - - - - - - - - - - - - - - - - Shortcut to specify value for 'replyChannel' header. - Can be a 'ref' to the MessageChannel, a 'value' as name of the MessageChannel, - or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. - - - - - - - Shortcut to specify value for 'errorChannel' header. - Can be a 'ref' to the MessageChannel, a 'value' as name of the MessageChannel, - or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. - - - - - - - Shortcut to specify value for 'correlationId' header - - - - - - - Shortcut to specify value for 'expirationDate' header (java.lang.Long) - - - - - - - Shortcut to specify value for 'priority' header when using PriorityChannel - - - - - - - Integer value identifying the value of the 'priority' header. - - - - - - - Boolean value to indicate whether this header value should overwrite - an existing header - value - for the same name. - - - - - - - - - - - - Element that accepts any user-defined header name/value pair. - - - - - - - Allows you to configure Message Poller if this endpoint is a Polling Consumer - - - - - - - - Specify the default boolean value for whether to overwrite existing - header values. This will - only - take effect for - sub-elements that do not provide their own 'overwrite' attribute. If the - 'default-overwrite' - attribute is not - provided, then the specified header values will NOT overwrite any - existing ones with the same - header - names. - - - - - - - - - - Specify whether null values, such as might be returned from an expression evaluation, - should be - skipped. The default value is true. Set this to false if a null value should - trigger removal of the corresponding - header instead. - - - - - - - - - - Reference to an Object to be invoked for header values. - The 'method' attribute is required - along - with this. - - - - - - - - - - Method to be invoked on the referenced Object as specified by the - 'ref' attribute. The method - should return a Map with String-typed keys. - - - - - - - - - - - - - - Defines a Message Header with a literal value or object reference. - - - - - - - - Name of the header to be added. - - - - - - - - - - - Provides a header value for the given header name. Requires - exactly one of the 'ref', 'value', or - 'expression' attributes. - The 'type' attribute allows for the specification of the expected - type when using a 'value' - or 'expression', but it is optional. - Also for a header value one of 'bean', 'script' or - 'expression' sub-elements can be defined, but they are mutually exclusive - with the attributes defined above. - - - - - - - - - - - - Literal value to be associated with the given header name. - - - - - - - Expression to be evaluated at runtime to determine the header value. - The EvaluationContext will - include variables for 'payload' and - 'headers'. - - - - - - - - - - - - - - - - - Reference to be associated with the given header name. - - - - - - - - - - Name of a method to be invoked on the referenced target object. - - - - - - - - - - - - Boolean value to indicate whether this header value should overwrite an - existing header value for - the same name. - - - - - - - - - - - - Defines a HeaderFilter endpoint to remove values defined in the MessageHeaders. - - - - - - - - - - - - - - - - Specify one or more header names (as a comma separated list) to - be removed from the - MessageHeaders - of the Message being handled. - - - - - - - Boolean flag that specifies whether values provided in 'header-names' should be treated as - match patterns or literal values. For example header-names='foo*' would mean remove all - headers that begin with 'foo' including the header named 'foo*'. However if you want to - treat '*' as literal value setting this flag to FALSE will not perform pattern match and - the only header that will be removed is the one that is an exact match. - - - - - - - - - Defines a Transformer. - - - - - - - - - - - - - - - Defines a Transformer that converts any Object payload to a String by - invoking its toString() - method. - - - - - - - - - - - - - - Defines a Transformer that converts any Object payload to a SpEL Map. - - - - - - - - - - - - - - Defines a Transformer that converts SpEL-based Map to an object. - - - - - - - - - - - - - - - - - - - - - - - - The name of the bean to be produced by this transformer. The bean MUST BE of scope 'prototype'. - NOTE: This attribute is mutually-exclusive with 'type'. - - - - - - - - - - - - - - Defines a Transformer that converts any Object payload to a JSON String. - - - - - - - - - - - - - - - - - - - Reference to a Jackson ObjectMapper instance to be provided optionally - if the default ObjectMapper - configuration is not desirable. - - - - - - - - - - - - - - Defines a Transformer that converts a JSON String to an object. - - - - - - - - - - - - - - - - - - - - - - - - Reference to a Jackson ObjectMapper instance to be provided optionally - if the default ObjectMapper - configuration is not desirable. - - - - - - - - - - - - - - Defines a Transformer that converts an object payload to a byte array. - - - - - - - - - - - - - - - - - - - Reference to a Serializer instance to convert from an object to a byte array. - This is optional. - The default will use standard Java serialization. - - - - - - - - - - - - - - Defines a Transformer that converts a byte array to an object. - - - - - - - - - - - - - - - - - - - Reference to a Deserializer instance to convert from a byte array to an object. - This is optional. - The default will use standard Java deserialization. - - - - - - - - - - - - - - - - Defines a Transformer that stores a Message and returns a new - Message, whose payload is the id of the stored Message. - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a Transformer that accepts a Message whose payload is a - UUID and retrieves the Message associated with that id from a - MessageStore if available (else null). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If set to 'true' the Message will be removed - from the MessageStore by this transformer. - Useful when Message can be 'claimed' only - once. DEFAULT is 'false'. - - - - - - - - - - - - - - - Reference to the MessageStore to be used by this Claim Check - transformer. If not specified, the default reference will be - to a bean named 'messageStore'. - - - - - - - - - - - - - - - - - - - - - Defines a Message Filters that is used to decide whether a Message should be passed - along or dropped based on some criteria - - - - - - - - - - - - - - - - - - - - - - - The channel where the filter will send the messages that were dropped - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The "ref" attribute references the bean name of a custom - Router implementation. Typically that implementation will - be a simple POJO, but it may extend AbstractMessageRouter. - - Provide the "method" attribute as well to clarify which - method should be invoked, Alternatively, the "ref" attribute - may point to an instance that contains the @Router annotation - on one of its methods. - - Instead of using the "ref" attribute you may also provide - the custom Router implementation as an inner bean - definition. - - However, keep in mind that using both the "ref" attribute - and an inner handler definition in the same Router - configuration is not allowed, as it creates an - ambiguous condition, and an Exception will be thrown. - - Additionally, instead of using "ref" and "method" at all, - you can use the "expression" attribute (see description below). - - - - - - - - - - - - When implementing a custom Router using a plain POJO - the "ref" attribute may be combined with an explicit - method name using the "method" attribute. - - The referenced method may return either a MessageChannel - or a String type. Additionally, the method may return - either a single value or a collection. If a collection - is returned, the reply message will be sent to - multiple channels. - - Specifying a "method" attribute applies the same behavior - as when using the @Router annotation on a single method - within the object pointed to by the "ref". - - - - - - - - - - - - SpEL Expression to be evaluated at runtime. Allows you - to implement simple computations without implementing - a custom POJO router. Generally, the SpEL expression is - evaluated and the result is mapped to a channel using - "mapping" sub-elements. - - However, if no "mapping" sub-element is present, the - SpEL Expression will evaluate to a channel name directly. - - A SpEL expression may also return a Collection. Whenever - the expression returns multiple channel values the - Message will be forwarded to each channel. - - Note that SpEL supports bean-references within expressions - using the @ sign. This enables more sophisticated mapping - of Message content to method arguments, e.g.: - expression="@someBean.someMethod(payload.foo, headers.bar)" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An expression to be evaluated to determine if this recipient - should be included in the recipient list for a given input - Message. The evaluation result of the expression must be a boolean. - If this attribute is not defined, the channel will always be - among the list of recipients. - - - - - - - - - - - - - - - - - An expression to be evaluated to determine if this recipient - should be included in the recipient list for a given input - Message. The evaluation result of the expression must be a boolean. - If this attribute is not defined, the channel will always be - among the list of recipients. - - - - - - - - - - - - - - - - - - - - - - - - - ). - ]]> - - - - - - - - - - - - - - - - ) - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - ) - - The most specific matching exception type is determined - by navigating the hierarchy of 'exception causes' - (e.g., payload.getCause()). - ]]> - - - - - - - - - - - - - - - - ) - - The most specific matching exception type is determined - by navigating the hierarchy of 'exception causes' - (e.g., payload.getCause()). - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A value of the evaluation token that will be mapped to a channel reference - (e.g., mapping value='foo' channel='myChannel') - - - - - - - A reference to a bean that defines a Message Channel - (e.g., mapping value='foo' channel='myChannel') - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An expression to be evaluated to determine if this recipient - should be included in the recipient list for a given input - Message. The evaluation result of the expression must be a boolean. - If this attribute is not defined, the channel will always be - among the list of recipients. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lifecycle attribute signaling if this component should be - started during Application Context startup. Defaults to true. - - - - - - - - - - - - - - - The receiving Message channel of this endpoint - - - - - - - - - - - - - - - - - Reference to the channel where Messages should be sent if - channel resolution fails to return any channels. If no - default output channel is provided, the router will throw an - Exception. - - If you would like to silently drop those messages instead, - add the "nullChannel" as the default output channel attribute - value. - - - - - - - - - - - - Specify the maximum amount of time in milliseconds to wait - when sending Messages to the target MessageChannels. By - default the send will block indefinitely. - - - - - - - - - - - - - - - - - - - - - - - - - Specify whether sequence number and size headers should be added to each - Message. Defaults to false. - - - - - - - - - - Specify whether channel names must always be successfully resolved - to existing channel instances. - - If set to 'true', a MessagingException will be raised in case - the channel cannot be resolved. Setting this attribute to 'false', - will cause any unresovable channels to be ignored. - - If not explicitly set, 'resolution-required' will - default to 'true'. - - - - - - - - - - - - Defines a Splitter. - - - - - - - - - - - - - - - - - - Specify whether the splitter method must return a non-null value. This value will be - FALSE by default, but if set to TRUE, a MessageHandlingException will be thrown when - the underlying service method (or expression) returns a NULL value. - - - - - - - Set this flag to false to prevent adding sequence related headers in this splitter. - This can be convenient in cases where the set sequence numbers conflict with downstream - custom aggregations. - - - - - - - Provide one or more delimiters (as a single String value, e.g. delimiters=",;:") for - tokenizing String-typed payload values. This attribute is only allowed if no 'ref' or - 'expression' have been provided since that is when the DefaultMessageSplitter would - be used, and it's the implementation that contains the "delimiters" property. - - - - - - - - - - - Defines an aggregating message endpoint. - - - - - - - - - - - - - - - - - - A SpEL expression to be evaluated against the input message list as its root object. - - - - - - - Boolean flag specifying if MessageGroup should be removed once completed. Useful for - handling late arrival use cases where messages arriving with the correlationKey that - is the same as the completed MessageGroup will be discarded. Default is 'false' - - - - - - - - - - - - A reference to a bean that implements the release strategy. - The bean can be an implementation of the - ReleaseStrategy interface or a POJO - - - - - - - - - - - - A method defined on the bean referenced by release-strategy, that implements the completion - decision algorithm. - - - - - - A SpEL expression to evaluate against a root object that is the Collection of messages within the message group (e.g, size() > 6) - - - - - - - - - - - - - - - - - - A reference to a bean that implements the decision algorithm as to whether a given - message group is complete. The bean can be an implementation of the - CorrelationStrategy interface or a POJO. - - - - - - - - - - - - A method defined on the bean referenced by correlation-strategy, that implements the - correlation decision algorithm - - - - - - A SpEL expression which implements correlation decision - algorithm to apply to the Message (e.g., payload.getPerson().getId() - correlate - based on the 'id' of the 'person' attribute of the message payload object) - - - - - - - - - - - The channel where the aggregator will send the messages that timed out (if send-partial-results- - on-expiry is 'false'). - - - - - - - Reference to a MessageGroupStore for holding - state in between message processing. The default - is to use a volatile in-memory store, which means that unprocessed messages - will be lost if the JVM exits. To customize - the expiry of incomplete message groups configure the message store. - - - - - - - - - - - - Specifies whether messages that expired should be aggregated and sent to the 'output-channel' or 'replyChannel'. - Messages are expired when their containing MessageGroup expires. One of the ways of expiring MessageGroups is by - configuring a MessageGroupStoreReaper. However MessageGroups can alternatively be expired by simply calling - MessageGroupStore.expireMessageGroup(groupId). That could be accomplished via a ControlBus operation - or by simply invoking that method if you have a reference to the MessageGroupStore instance. - - - - - - - - - - - Defines a resequencing message endpoint. - - - - - - - - - - - - - - - - - - Comparator for messages used to sort the sequence when released. Defaults to comparing - the - sequence number header. - - - - - - - - - - - - Flag to say that partial sequences can be released (e.g. 1-4 of 10). - Defaults to true, so the - sequence has to be complete before any messages - are released. - This is mutually exclusive with the release-strategy - attribute (either or none can be specified , but not both). - - - - - - - - - - - Defines a list of interceptors. Each element may be a ChannelInterceptor, - ref, or inner-bean. - - - - - - - - Reference to a bean in this Application Context that implements ChannelInterceptor - - - - - - - - - - - - Reference to a bean in this Application Context that implements ChannelInterceptor - - - - - - - - - Alows you to configure a Wire Tap interceptor that will send a copy of the message to a - channel identified by 'channel' attribute. - - - - - - - - - - - - Defines a Wire Tap Channel Interceptor. - - - - - - - - - - - - - - - - A reference to a bean in the Application Context - which implements MessageSelector that must accept a message for it to be - sent to the intercepting channel - - - - - - - The timeout for sending the message to the intercepting channel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A SpEL expression to be evaluated against the input Message as its root object. - - - - - - - - - - - - The key for retrieving the expression from an ExpressionSource. - - - - - - - The reference to an ExpressionSource. - - - - - - - - - - - - - - - - - - - - - - - - - Defines a MessagePublishingInterceptor which allows you to generate messages - as a by-product of - method invocations on Spring configured components. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [REQUIRED] Channel name(s) or patterns. To specify more than one channel use - ','  - (e.g., - channel-name-pattern="input*, foo, bar") - - - - - - - [OPTIONAL] Specifies the order in which this interceptor will be - added to the existing channel - interceptors (if any). - Negative value (e.g., -2) will signify BEFORE existing interceptors (if any). Positive - value (e.g., 2) - will signify AFTER existing interceptors (if any) - - - - - - - - - - - - Allows you to define channel interceptors to be applied globally. - - - - - - - - - - [REQUIRED] Channel name(s) or patterns. To specify more than one channel use - ','  - (e.g., - channel-name-pattern="input*, foo, bar") - - - - - - - [OPTIONAL] Specifies the order in which this interceptor will be - added to the existing channel - interceptors (if any). - Negative value (e.g., -2) will signify BEFORE existing iinterceptors (if any). Positive - value (e.g., 2) - will signify AFTER existing interceptors (if any) - - - - - - - - - - - - - - - - - Allows you to register Converters (implementation of the Converter interface) that will -be automatically registered with the ConversionService. ConversionService itself does not have to be -explicitly defined since the default ConversionService will be registered under the name 'integrationConversionService' -unless bean with this name is already registered. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies the Message channel where Message will be sent after it's being processed by this endpoint - - - - - - - Specify the maximum amount of time in milliseconds to wait when sending a reply - Message to the - output channel. By default the send will block for one second. - - - - - - - - - - - - The receiving Message channel of this endpoint - - - - - - - - - - - - Lifecycle attribute signaling if this component should be - started during Application Context startup. Defaults to true. - - - - - - - - diff --git a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-4.1.xsd b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-4.1.xsd index f478a932ac..591d33b9cb 100644 --- a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-4.1.xsd +++ b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-4.1.xsd @@ -50,9 +50,9 @@ @@ -102,7 +102,7 @@ - Provides MessageDispatcher configuration + Provides MessageDispatcher configuration (i.e., failover, load-balancing, task-executor) @@ -199,7 +199,7 @@ @@ -281,9 +281,9 @@ @@ -326,9 +326,9 @@ @@ -342,10 +342,10 @@ - - + @@ -384,14 +384,14 @@ Defines a message channel. - + - - + @@ -430,8 +430,8 @@ - - + @@ -440,10 +440,10 @@ - - + @@ -451,7 +451,7 @@ - + @@ -465,8 +465,8 @@ - - + @@ -474,7 +474,7 @@ - + @@ -483,9 +483,9 @@ - - + @@ -493,10 +493,10 @@ - - + @@ -505,11 +505,12 @@ - - + @@ -517,12 +518,12 @@ - + - - + @@ -534,8 +535,8 @@ - - + @@ -548,9 +549,9 @@ - - + @@ -573,10 +574,10 @@ - - + @@ -585,23 +586,36 @@ - - + + + + + + + + - @@ -613,14 +627,14 @@ - - @@ -636,8 +650,8 @@ - - + @@ -650,10 +664,10 @@ - - + @@ -681,14 +695,14 @@ - - - - - - - - + + + + + + + + @@ -704,6 +718,78 @@ + + + + + Defines a Channel Adapter that receives Resource(s) and sends them to a + MessageChannel identified via 'channel' attribute. + + + + + + + + + + + + Component identifier + + + + + + + Channel where Message will be sent to + + + + + + + Reference to the implementation of org.springframework.integration.util.CollectionFilter. + + + + + + + + + + + + Lifecycle attribute signaling if this component should be started during Application Context startup. + + + + + + + Location pattern expression (e.g., "/**/*.txt") + + + + + + + + Reference to a org.springframework.core.io.support.ResourcePatternResolver. + + + + + + + Maximum amount of time in milliseconds to wait when sending a message to the channel if such channel may block. + For example, a Queue Channel can block until space is available if its maximum capacity has been reached. + + + + + @@ -752,6 +838,15 @@ endpoint itself is a Polling Consumer for a channel with a queue. + + + + Provide a name for the logger. This is useful when there are multiple logging Channel Adapters configured, + and you would like to differentiate them within the actual log. By default the logger name will be the + fully qualified class name of the LoggingHandler implementation. + + + - A reference to a bean defined in the application context. + A reference to a bean defined in the application context. @@ -816,7 +911,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + @@ -825,8 +920,8 @@ endpoint itself is a Polling Consumer for a channel with a queue. - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where + Identifies channel attached to this adapter. Depending on the type of the adapter + this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where messages will be sent to by this adapter (e.g., inbound-channel-adapter). @@ -960,6 +1055,188 @@ endpoint itself is a Polling Consumer for a channel with a queue. + + + + Defines an endpoint that passes a Message to its request-channel + and then expects a reply Message. The reply Message then becomes + the root object for evaluation of expressions to enrich the + target payload. + + + + + + + + + + + + + + + + + + Each property sub-element provides the name of a property (via the required 'name' attribute). + That property should be settable on the target payload instance. Exactly one of the 'value' + or 'expression' attributes must be provided as well. The former for a literal value to set, + and the latter for a SpEL expression to be evaluated. The root object of the evaluation + context is the Message that was returned from the flow initiated by this enricher. + + + + + + + + Channel to which a Message will be sent to get the data to use + for enrichment. This attribute is optional. Not specifying a + 'request-channel' is useful in situations, where only static + values shall be used for enrichment using the 'property' + sub-element. + + + + + + + + + + + + Channel where a reply Message is expected. This is optional; typically the auto-generated + temporary reply channel is sufficient. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Boolean value indicating whether any payload that implements Cloneable should be cloned + prior to sending the Message to the request chanenl for acquiring the enriching data. + The cloned version would be used as the target payload for the ultimate reply. + + If the payload does NOT implement 'Cloneable', then setting this + attribute to 'true' has NO effect. + + Default is false. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1011,7 +1288,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. - Provide a reference to the ScheduledExecutorService instance to which + Provide a reference to the TaskScheduler instance to which this endpoint should delegate when scheduling the sending of delayed Messages. If not provided, the default @@ -1021,7 +1298,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + @@ -1088,31 +1365,33 @@ endpoint itself is a Polling Consumer for a channel with a queue. - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + + @@ -1125,7 +1404,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + @@ -1139,27 +1418,6 @@ endpoint itself is a Polling Consumer for a channel with a queue. - - - - - NOTE: The 'interval-trigger' sub-element is deprecated as of Spring Integration 2.0 and will be - removed in version - 2.1. - Use one of the interval trigger attributes instead ('fixed-delay' or 'fixed-rate'). - - - - - - - NOTE: The 'cron-trigger' sub-element is deprecated as of Spring Integration 2.0 and will be - removed in version 2.1. - Use the 'cron' attribute instead. - - - - @@ -1194,8 +1452,8 @@ endpoint itself is a Polling Consumer for a channel with a queue. - Allows this poller to reference another instance of a top-level poller. - [IMPORTANT] - This attribute is only allowed on inner poller definitions. + Allows this poller to reference another instance of a top-level poller. + [IMPORTANT] - This attribute is only allowed on inner poller definitions. Defining this attribute on a top-level poller definition will result in a configuration exception. @@ -1261,41 +1519,6 @@ endpoint itself is a Polling Consumer for a channel with a queue. - - - - Defines an interval-based trigger. - - - - - - - - - - - - - - - - - - - - - - Defines an cron-based trigger. - - - - - @@ -1307,7 +1530,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + - + - Shortcut to specify value for 'replyChannel' header + Shortcut to specify value for 'replyChannel' header. + Can be a 'ref' to the MessageChannel, a 'value' as name of the MessageChannel, + or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. - + - Shortcut to specify value for 'errorChannel' header + Shortcut to specify value for 'errorChannel' header. + Can be a 'ref' to the MessageChannel, a 'value' as name of the MessageChannel, + or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. @@ -1431,7 +1658,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. an existing header value for the same name. - + @@ -1467,7 +1694,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. provided, then the specified header values will NOT overwrite any existing ones with the same header - names. + names. @@ -1545,6 +1772,9 @@ endpoint itself is a Polling Consumer for a channel with a queue. The 'type' attribute allows for the specification of the expected type when using a 'value' or 'expression', but it is optional. + Also for a header value one of 'bean', 'script' or + 'expression' sub-elements can be defined, but they are mutually exclusive + with the attributes defined above. @@ -1563,7 +1793,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. - Expression to be evaulated at runtime to determine the header value. + Expression to be evaluated at runtime to determine the header value. The EvaluationContext will include variables for 'payload' and 'headers'. @@ -1647,10 +1877,10 @@ endpoint itself is a Polling Consumer for a channel with a queue. - Boolean flag that specifies whether values provided in 'header-names' should be treated as - match patterns or literal values. For example header-names='foo*' would mean remove all - headers that begin with 'foo' including the header named 'foo*'. However if you want to - treat '*' as literal value setting this flag to FALSE will not perform pattern match and + Boolean flag that specifies whether values provided in 'header-names' should be treated as + match patterns or literal values. For example header-names='foo*' would mean remove all + headers that begin with 'foo' including the header named 'foo*'. However if you want to + treat '*' as literal value setting this flag to FALSE will not perform pattern match and the only header that will be removed is the one that is an exact match. @@ -1891,51 +2121,90 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + + + - Defines a Transformer that stores a Message and returns a new Message whose - payload is the id of - the stored Message. + Defines a Transformer that stores a Message and returns a new + Message, whose payload is the id of the stored Message. - + + + + + + + + + + + + + + + + + + + - Defines a Transformer that accepts a Message whose payload is a UUID and - retrieves the Message - associated with that id from a MessageStore if - available (else null). + Defines a Transformer that accepts a Message whose payload is a + UUID and retrieves the Message associated with that id from a + MessageStore if available (else null). - - - - - - - If set to 'true' the Message will be removed from the MessageStore by - this transformer. Useful when Message can be 'claimed' only once. DEFAULT is 'false'. - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + If set to 'true' the Message will be removed + from the MessageStore by this transformer. + Useful when Message can be 'claimed' only + once. DEFAULT is 'false'. + + + + + + + + + + + - Reference to the MessageStore to be used by this Claim Check transformer. - If not specified, the - default reference will be to a bean named 'messageStore'. + Reference to the MessageStore to be used by this Claim Check + transformer. If not specified, the default reference will be + to a bean named 'messageStore'. @@ -1944,7 +2213,6 @@ endpoint itself is a Polling Consumer for a channel with a queue. - @@ -1957,7 +2225,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. - Defines a Message Filters that is used to decide whether a Message should be passed + Defines a Message Filters that is used to decide whether a Message should be passed along or dropped based on some criteria @@ -1990,337 +2258,677 @@ endpoint itself is a Polling Consumer for a channel with a queue. - - - - - - - - - - - - + - - - - - - - - - - - + + + + + - - - - - - - - - - - - + + + - - - - - - - - - An expression to be evaluated to determine if this recipient should be included in the - recipient - list for a given input Message. The evaluation result of the expression must be a boolean. - If this - attribute is not defined, the channel will always be among the list of recipients. - - - - - - - - - - - - - - - - - - + Another convenient option when configuring a RecipientListRouter + is to define the 'selector-expression' for the 'mapping' sub elements. + The 'selector-expression' uses Spring Expression Language (SpEL) + and can be used as selectors for individual recipient channels. - - - - - - - - - - - - + This is similar to using a Filter at the beginning of 'chain' to + act as a "Selective Consumer". However, in this case, it's all + combined rather concisely into the router's configuration. + ]]> + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - A value of the evaluation token that will be mapped to a channel reference - (e.g., mapping value='foo' channel='myChannel') - - - - - - - A reference to a bean that defines a Message Channel - (e.g., mapping value='foo' channel='myChannel') - - - - - - - - - - - - - - - Specify whether a failure to resolve a channel name returned by this - router should be ignored. - - - - - - - - - - - - - - - - - Reference to the default channel where Messages should be sent if channel - resolution fails to - return any channels. If no default channel - is - provided, the router will either drop the Message or throw an - Exception - depending on the value of the "resolution-required" attribute. - - - - - - - - Specify whether this router should always be required to return at least - one channel or name. - - - - - - + + + + + + + + + + + The "ref" attribute references the bean name of a custom + Router implementation. Typically that implementation will + be a simple POJO, but it may extend AbstractMessageRouter. + + Provide the "method" attribute as well to clarify which + method should be invoked, Alternatively, the "ref" attribute + may point to an instance that contains the @Router annotation + on one of its methods. + + Instead of using the "ref" attribute you may also provide + the custom Router implementation as an inner bean + definition. + + However, keep in mind that using both the "ref" attribute + and an inner handler definition in the same Router + configuration is not allowed, as it creates an + ambiguous condition, and an Exception will be thrown. + + Additionally, instead of using "ref" and "method" at all, + you can use the "expression" attribute (see description below). + + + + + + + + + + + + When implementing a custom Router using a plain POJO + the "ref" attribute may be combined with an explicit + method name using the "method" attribute. + + The referenced method may return either a MessageChannel + or a String type. Additionally, the method may return + either a single value or a collection. If a collection + is returned, the reply message will be sent to + multiple channels. + + Specifying a "method" attribute applies the same behavior + as when using the @Router annotation on a single method + within the object pointed to by the "ref". + + + + + + + + + + + + SpEL Expression to be evaluated at runtime. Allows you + to implement simple computations without implementing + a custom POJO router. Generally, the SpEL expression is + evaluated and the result is mapped to a channel using + "mapping" sub-elements. + + However, if no "mapping" sub-element is present, the + SpEL Expression will evaluate to a channel name directly. + + A SpEL expression may also return a Collection. Whenever + the expression returns multiple channel values the + Message will be forwarded to each channel. + + Note that SpEL supports bean-references within expressions + using the @ sign. This enables more sophisticated mapping + of Message content to method arguments, e.g.: + expression="@someBean.someMethod(payload.foo, headers.bar)" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An expression to be evaluated to determine if this recipient + should be included in the recipient list for a given input + Message. The evaluation result of the expression must be a boolean. + If this attribute is not defined, the channel will always be + among the list of recipients. + + + + + + + + + + + + + + + + + An expression to be evaluated to determine if this recipient + should be included in the recipient list for a given input + Message. The evaluation result of the expression must be a boolean. + If this attribute is not defined, the channel will always be + among the list of recipients. + + + + + + + + + + + + + + + + + + + + + + + + + ). + ]]> + + + + + + + + + + + + + + + + ) + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + ) + + The most specific matching exception type is determined + by navigating the hierarchy of 'exception causes' + (e.g., payload.getCause()). + ]]> + + + + + + + + + + + + + + + + ) + + The most specific matching exception type is determined + by navigating the hierarchy of 'exception causes' + (e.g., payload.getCause()). + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A value of the evaluation token that will be mapped to a channel reference + (e.g., mapping value='foo' channel='myChannel') + + + + + + + A reference to a bean that defines a Message Channel + (e.g., mapping value='foo' channel='myChannel') + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An expression to be evaluated to determine if this recipient + should be included in the recipient list for a given input + Message. The evaluation result of the expression must be a boolean. + If this attribute is not defined, the channel will always be + among the list of recipients. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Lifecycle attribute signaling if this component should be + started during Application Context startup. Defaults to true. + + + + + + + + + + + + + + + The receiving Message channel of this endpoint + + + + + + + + + + + + + + + + + Reference to the channel where Messages should be sent if + channel resolution fails to return any channels. If no + default output channel is provided, the router will throw an + Exception. + + If you would like to silently drop those messages instead, + add the "nullChannel" as the default output channel attribute + value. + + + + + + + + - Specify the maximum amount of time in milliseconds to wait when sending - Messages - to the target - MessageChannels. By default the send will block - indefinitely. + Specify the maximum amount of time in milliseconds to wait + when sending Messages to the target MessageChannels. By + default the send will block indefinitely. - + - - Specify whether a failure to send to a single channel should be ignored. - Otherwise - MessageDeliveryExceptions will be thrown. - + + + + + + - + + + + + + + + + Specify whether sequence number and size headers should be added to each - Message. + Message. Defaults to false. + + + + + + + Specify whether channel names must always be successfully resolved + to existing channel instances. + + If set to 'true', a MessagingException will be raised in case + the channel cannot be resolved. Setting this attribute to 'false', + will cause any unresovable channels to be ignored. + + If not explicitly set, 'resolution-required' will + default to 'true'. + + + + + + @@ -2398,13 +3006,15 @@ Name of the header whose value will be used to route messages - - - - - - - + + + + Boolean flag specifying if MessageGroup should be removed once completed. Useful for + handling late arrival use cases where messages arriving with the correlationKey that + is the same as the completed MessageGroup will be discarded. Default is 'false' + + + @@ -2413,7 +3023,7 @@ Name of the header whose value will be used to route messages - A reference to a bean that implements the release strategy. + A reference to a bean that implements the release strategy. The bean can be an implementation of the ReleaseStrategy interface or a POJO @@ -2437,6 +3047,13 @@ Name of the header whose value will be used to route messages A SpEL expression to evaluate against a root object that is the Collection of messages within the message group (e.g, size() > 6) + + + + + + + @@ -2445,8 +3062,8 @@ Name of the header whose value will be used to route messages - A reference to a bean that implements the decision algorithm as to whether a given - message group is complete. The bean can be an implementation of the + A reference to a bean that implements the decision algorithm as to whether a given + message group is complete. The bean can be an implementation of the CorrelationStrategy interface or a POJO. @@ -2466,7 +3083,7 @@ Name of the header whose value will be used to route messages - A SpEL expression which implements correlation decision + A SpEL expression which implements correlation decision algorithm to apply to the Message (e.g., payload.getPerson().getId() - correlate based on the 'id' of the 'person' attribute of the message payload object) @@ -2503,9 +3120,9 @@ Name of the header whose value will be used to route messages - Specifies whether messages that expired should be aggregated and sent to the 'output-channel' or 'replyChannel'. - Messages are expired when their containing MessageGroup expires. One of the ways of expiring MessageGroups is by - configuring a MessageGroupStoreReaper. However MessageGroups can alternatively be expired by simply calling + Specifies whether messages that expired should be aggregated and sent to the 'output-channel' or 'replyChannel'. + Messages are expired when their containing MessageGroup expires. One of the ways of expiring MessageGroups is by + configuring a MessageGroupStoreReaper. However MessageGroups can alternatively be expired by simply calling MessageGroupStore.expireMessageGroup(groupId). That could be accomplished via a ControlBus operation or by simply invoking that method if you have a reference to the MessageGroupStore instance. @@ -2577,7 +3194,7 @@ Name of the header whose value will be used to route messages Reference to a bean in this Application Context that implements ChannelInterceptor - + @@ -2596,7 +3213,7 @@ Name of the header whose value will be used to route messages - Alows you to configure a Wire Tap interceptor that will send a copy of the message to a + Alows you to configure a Wire Tap interceptor that will send a copy of the message to a channel identified by 'channel' attribute. @@ -2612,7 +3229,7 @@ Name of the header whose value will be used to route messages Defines a Wire Tap Channel Interceptor. - + @@ -2790,7 +3407,7 @@ Name of the header whose value will be used to route messages - + @@ -2836,7 +3453,7 @@ Name of the header whose value will be used to route messages - + @@ -2845,7 +3462,7 @@ Name of the header whose value will be used to route messages - + @@ -2885,7 +3502,7 @@ Name of the header whose value will be used to route messages Allows you to register Converters (implementation of the Converter interface) that will -be automatically registered with the ConversionService. ConversionService itself does not have to be +be automatically registered with the ConversionService. ConversionService itself does not have to be explicitly defined since the default ConversionService will be registered under the name 'integrationConversionService' unless bean with this name is already registered. @@ -2915,7 +3532,7 @@ unless bean with this name is already registered. @@ -2955,13 +3572,13 @@ The list of component name patterns you want to track (e.g., tracked-components that will be available include: 1) any that are annotated with @ManagedAttribute or @ManagedOperation 2) Lifecycle methods - 3) get/set or shutdown methods on configurable TaskExecutors or TaskSchedulers + 3) get/set or shutdown methods on configurable TaskExecutors or TaskSchedulers ]]> - + @@ -2979,7 +3596,7 @@ The list of component name patterns you want to track (e.g., tracked-components Specify the maximum amount of time in milliseconds to wait when sending a reply Message to the - output channel. By default the send will block for one second. + output channel. By default the send will block for one second. @@ -3005,12 +3622,16 @@ endpoint itself is a Polling Consumer for a channel with a queue. ]]> - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - + + + + Lifecycle attribute signaling if this component should be + started during Application Context startup. Defaults to true. + + + + + + - \ No newline at end of file + diff --git a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-2.1.xsd b/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-2.1.xsd deleted file mode 100644 index 27a0005d24..0000000000 --- a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-2.1.xsd +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - Configures an inbound Channel Adapter which listens for Application Context - events, converts them to Messages and sends them to a Message Channel. - - - - - - - - - - - - - The channel to which Messages generated from Application Context events will be sent. - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an error-channel is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will be propagated to the caller. - - - - - - - Comma delimited list of event types (classes that extend ApplicationEvent) that this adapter - should send to the message channel. By default, all event types will be sent [OPTIONAL] - - - - - - - - - - - - - - - - Defines a Channel Adapter that receives Messages from a MessageChannel and then publishes - MessagingEvents containing those Messages. - - - - - - - - - - - - - - - The Message Channel from which this adapter receives Messages. - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - diff --git a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd b/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd index b8b32777a7..27a0005d24 100644 --- a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd +++ b/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd @@ -8,7 +8,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd" /> - + @@ -84,7 +84,7 @@ - + diff --git a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-2.1.xsd b/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-2.1.xsd deleted file mode 100644 index 9831c0df12..0000000000 --- a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-2.1.xsd +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - The URL for an RSS or ATOM feed. - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - Reference to a FeedFetcher instance for retrieveing Feeds from the provided URL. - By default, the HTTP protocol is supported. For any other protocols or general - customizations, provide a reference to a different implementation. - - - - - - - - - - - - Reference to a MetadataStore instance for storing metadata associated with - the retrieved feeds. If the implementation is persistent, it can help to - prevent duplicates between restarts. If shared, it can help coordinate multiple - instances of an adapter across different processes. - - - - - - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true' - - - - - - - \ No newline at end of file diff --git a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd b/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd index 0ce9acfb5b..9831c0df12 100644 --- a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd +++ b/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd @@ -9,7 +9,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd" /> @@ -30,7 +30,7 @@ - + diff --git a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.1.xsd b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.1.xsd deleted file mode 100644 index e30017812c..0000000000 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.1.xsd +++ /dev/null @@ -1,435 +0,0 @@ - - - - - - - - - - - - - - Configures an inbound Channel Adapter that polls a directory and sends Messages whose payloads are - instances of java.io.File. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - element. Therefore, if the "channel" attribute - is not provided, then the "id" attribute is required. - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - - - - - Specify whether to automatically create the source directory if it does not yet exist when this - adapter is being initialized. The default value is 'true'. If set to 'false' and the directory - does not exist upon initialization, an Exception will be thrown. - - - - - - - Specify the maximum number of files stored in memory by the underlying FileReadingMessageSource. - This is useful to limit the memory footprint of this endpoint. Using a stateful filter would counter - this benefit, so AcceptOnceFileListFilter is not used when this attribute is specified. - MUTUALLY EXCLUSIVE with comparator, if comparator is set this attribute will be ignored. - MUTUALLY EXCLUSIVE with stateful filtering. - - - - - - - - - - Configures an outbound Channel Adapter that writes Message payloads to a File. - - - - - - - - The channel through which outgoing messages will arrive. - - - - - - - - - - - - - - - - Configures an outbound Gateway that writes request Message payloads to a File and then generates a - reply Message containing the newly written File as its payload. - - - - - - - - The channel through which outgoing messages will arrive. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allows you to provide a SpEL expression which will compute the file name of - the target file (e.g., assuming payload is java.io.File "payload.name + '.transferred'"); - - - - - - - Extension used when uploading files. We change it after we know it's uploaded. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creates a Transformer that converts a File payload to a String. - - - - - - - - - - - - - - - - - - - - - Creates a Transformer that converts a File payload to an array of bytes. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.1.xsd b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.1.xsd index bd699e9075..e30017812c 100644 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.1.xsd +++ b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.1.xsd @@ -10,7 +10,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> - + - element. Therefore, if the "channel" attribute - is not provided, then the "id" attribute is required. - ]]> - + element. Therefore, if the "channel" attribute + is not provided, then the "id" attribute is required. + ]]> + @@ -74,7 +74,7 @@ - + @@ -87,11 +87,11 @@ + Specify a FileListFilter to be used. By default, an AcceptOnceFileListFilter is used, + which ensures files are picked up only once from the directory. + + You can also apply multiple filters by referencing a CompositeFileListFilter. + ]]> @@ -117,8 +117,7 @@ Only files matching this regular expression will be picked up by this adapter. - - + - - Lifecycle attribute signaling if this component should be started during Application Context startup. - + + Lifecycle attribute signaling if this component should be started during Application Context startup. + - + @@ -216,10 +215,10 @@ Only files matching this regular expression will be picked up by this adapter. - - - + + + @@ -237,23 +236,23 @@ Only files matching this regular expression will be picked up by this adapter. - - - + + + - - - + + + - - + + @@ -307,8 +306,8 @@ Only files matching this regular expression will be picked up by this adapter. - - + + @@ -318,7 +317,7 @@ Only files matching this regular expression will be picked up by this adapter. ]]> - + @@ -326,18 +325,18 @@ Only files matching this regular expression will be picked up by this adapter. Creates a Transformer that converts a File payload to a String. - + - - - - - + + + + + @@ -367,7 +366,7 @@ Only files matching this regular expression will be picked up by this adapter. - + @@ -381,7 +380,7 @@ Only files matching this regular expression will be picked up by this adapter. - + @@ -396,23 +395,23 @@ Only files matching this regular expression will be picked up by this adapter. inbound File after the transformation is complete.]]> - + - - - - + + + + - - - + + + @@ -423,14 +422,14 @@ Only files matching this regular expression will be picked up by this adapter. - - - + + + - - - + + + diff --git a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.1.xsd b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.1.xsd deleted file mode 100644 index 73e4c2fe59..0000000000 --- a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.1.xsd +++ /dev/null @@ -1,483 +0,0 @@ - - - - - - - - - - - - - - - - - - Allows you to provide a SpEL expression which - will compute the directory - path where the files will be transferred to - (e.g., "headers.['remote_dir'] + - '/myTransfers'"); - - - - - - - Allows you to provide a SpEL expression which - will compute the temporary directory - path where files will be transferred to before they are moved to the remote-directory - (e.g., "headers.['remote_dir'] + - '/temp/myTransfers'"); - - - - - - - Specify whether to automatically create the - remote target directory if - it doesn't exist. - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - - - Allows you to provide SpEL expression which - will compute file name of - the remote file (e.g., assuming payload - is java.io.File - "payload.getName() + '.transfered'"); - - - - - - - Allows you to suppress using a temporary file name while writing the file. - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a channel. This is - particularly relevant when that channel - is using a "failover" - dispatching strategy, or when a failure in - the delivery to one - subscriber should signal that - the message should not be sent to - subscribers with a higher 'order' - attribute. It has no effect - when this - endpoint itself is a Polling Consumer for a channel - with a queue. - - - - - - - - - - - - - - - - - - - - - - Allows you to provide a file name pattern to - determine the file names - that need to be scanned. - This is based on - simple pattern matching (e.g., "*.txt, fo*.txt" - etc.) - - - - - - - Allows you to provide a SpEL expression to - generate the file name of - the local (transferred) file. The root - object of the SpEL - evaluation is the name of the original - file. - For example, a valid expression would be "#this.toUpperCase() + - '.a'" where #this represents the - original name of the remote - file. - - - - - - - Allows you to provide a Regular Expression to - determine the file names - that need to be scanned. - (e.g., - "f[o]+\.txt" etc.) - - - - - - - - - - - - - - - - - Allows you to specify a reference to a - [org.springframework.integration.file.filters.FileListFilter] - bean. - - - - - - - Identifies the directory path (e.g., - "/local/mytransfers") where files - will be transferred TO. - - - - - - - Tells this adapter if the local directory must - be auto-created if it - doesn't exist. Default is TRUE. - - - - - - - Specify whether to delete the remote source - file after copying. - By default, the remote files will NOT be - deleted. - - - - - - - - - - - - - - - - - - - FTP command - ls, get or rm - - - - - - - FTP command options; for ls, -1 means just - return the file names - (otherwise file - metadata is returned, -dirs - means include directories (not included by - default), - -links means - include links (not included by default); for get, -P means - preserve - timestamp from remote file. - - - - - - - SpEL expression representing the path in the - command (e.g. ls path to - list the files in directory path). - - - - - - - - - - - - Identifies the request channel attached to - this - gateway. - - - - - - - - - - - - Identifies the reply channel attached to this - gateway. - - - - - - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.filters.FileListFilter] - bean. - - - - - - - Allows you to provide file name pattern to - determine the file names retrieved by the ls command - and is based - on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" - etc.) - - - - - - - Allows you to provide Regular Expression to - determine the file names retrieved by the ls command. - (e.g., - "f[o]+\.txt" etc.) - - - - - - - Identifies directory path (e.g., - "/local/mytransfers") where file will be - transferred TO. - - - - - - - Tells this adapter if local directory must be - auto-created if it - doesn''t exist. Default is TRUE. - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a channel. This is - particularly relevant when that channel - is using a "failover" - dispatching strategy, or when a failure in the - delivery to one - subscriber should signal that - the message should not be sent to - subscribers with a higher 'order' - attribute. It has no effect - when - this - endpoint itself is a Polling Consumer for a channel with - a - queue. - - - - - - - - - - - - - - - Identifies the remote directory path (e.g., "/remote/mytransfers") - - - - - - - Identifies the remote temporary directory path (e.g., "/remote/temp/mytransfers") - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default - - - - - - - - - - - - - - - - - - - - - - - Extension used when downloading files. We - change - it right after we know it's - downloaded. - - - - - - - - Allows you to provide remote file/directory - separator character. DEFAULT: - '/' - - - - - - - - - - - - Lifecycle attribute signaling if this component - should be started during - Application Context startup. - Default is - 'true' - - - - - - - diff --git a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd index c33819fd65..73e4c2fe59 100644 --- a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd +++ b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd @@ -1,19 +1,17 @@ + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + xmlns:integration="http://www.springframework.org/schema/integration" + targetNamespace="http://www.springframework.org/schema/integration/ftp" + elementFormDefault="qualified" attributeFormDefault="unqualified"> - - + + + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd" /> - + - + - Identifies directory path (e.g., "/temp/mytransfers") where file will be transferred TO + Allows you to provide a SpEL expression which + will compute the directory + path where the files will be transferred to + (e.g., "headers.['remote_dir'] + + '/myTransfers'"); - + - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true'. + Allows you to provide a SpEL expression which + will compute the temporary directory + path where files will be transferred to before they are moved to the remote-directory + (e.g., "headers.['remote_dir'] + + '/temp/myTransfers'"); - + - Allows you to provide SpEL expression which will compute directory path - where file will be transferred TO (e.g., "headers.['remote_dir'] + '/myTransfers'"); - - - - - - - Specify whether to automatically create the remote target directory if it doesn't exist. - - - - - - - Allows you to provide remote file/directory separator character. DEFAULT: '/' - - - - - - - Extension used when uploading files. We change it right after we know it's uploaded. + Specify whether to automatically create the + remote target directory if + it doesn't exist. - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - Allows you to provide SpEL expression which will compute file name of - the remote file (e.g., assuming payload is java.io.File "payload.getName() + '.transfered'"); + Allows you to specify a reference to + [org.springframework.integration.file.FileNameGenerator] bean. + + + + + + + + + + + + Allows you to provide SpEL expression which + will compute file name of + the remote file (e.g., assuming payload + is java.io.File + "payload.getName() + '.transfered'"); + + + + + + + Allows you to suppress using a temporary file name while writing the file. - Specifies the order for invocation when this endpoint is connected as a -subscriber to a channel. This is particularly relevant when that channel -is using a "failover" dispatching strategy, or when a failure in the delivery to one subscriber should signal that -the message should not be sent to subscribers with a higher 'order' attribute. It has no effect when this -endpoint itself is a Polling Consumer for a channel with a queue. + Specifies the order for invocation when this + endpoint is connected as a + subscriber to a channel. This is + particularly relevant when that channel + is using a "failover" + dispatching strategy, or when a failure in + the delivery to one + subscriber should signal that + the message should not be sent to + subscribers with a higher 'order' + attribute. It has no effect + when this + endpoint itself is a Polling Consumer for a channel + with a queue. @@ -113,93 +122,99 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + - Allows you to provide file name pattern to determine the file names that needs to be scanned - and is based on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" etc.) - + Allows you to provide a file name pattern to + determine the file names + that need to be scanned. + This is based on + simple pattern matching (e.g., "*.txt, fo*.txt" + etc.) + + + + + + + Allows you to provide a SpEL expression to + generate the file name of + the local (transferred) file. The root + object of the SpEL + evaluation is the name of the original + file. + For example, a valid expression would be "#this.toUpperCase() + + '.a'" where #this represents the + original name of the remote + file. + - Allows you to provide Regular Expression to determine the file names that needs to be scanned. - (e.g., "f[o]+\.txt" etc.) - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true'. + Allows you to provide a Regular Expression to + determine the file names + that need to be scanned. + (e.g., + "f[o]+\.txt" etc.) - - + - - + + - + - Allows you to specify a reference to - [org.springframework.integration.file.filters.FileListFilter] bean. - - - - - - - Extension used when downloading files. We change it right after we know it's downloaded. + Allows you to specify a reference to a + [org.springframework.integration.file.filters.FileListFilter] + bean. - + - - Identifies directory path (e.g., "/temp/mytransfers") where file will be transferred FROM. + + Identifies the directory path (e.g., + "/local/mytransfers") where files + will be transferred TO. - + - Allows you to provide remote file/directory separator character. DEFAULT: '/' - - - - - - - Identifies directory path (e.g., "/local/mytransfers") where file will be transferred TO. - - - - - - - Tells this adapter if local directory must be auto-created if it doesn''t exist. Default is TRUE. + Tells this adapter if the local directory must + be auto-created if it + doesn't exist. Default is TRUE. - Specify whether to delete the remote source file after copying. - By default, the remote files will NOT be deleted. + Specify whether to delete the remote source + file after copying. + By default, the remote files will NOT be + deleted. @@ -207,51 +222,262 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + + + + + + + + + + + + FTP command - ls, get or rm + + + + + + + FTP command options; for ls, -1 means just + return the file names + (otherwise file + metadata is returned, -dirs + means include directories (not included by + default), + -links means + include links (not included by default); for get, -P means + preserve + timestamp from remote file. + + + + + + + SpEL expression representing the path in the + command (e.g. ls path to + list the files in directory path). + + + + + + + + + + + + Identifies the request channel attached to + this + gateway. + + + + + + + + + + + + Identifies the reply channel attached to this + gateway. + + + + + + + + + + + + Allows you to specify a reference to + [org.springframework.integration.file.filters.FileListFilter] + bean. + + + + + + + Allows you to provide file name pattern to + determine the file names retrieved by the ls command + and is based + on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" + etc.) + + + + + + + Allows you to provide Regular Expression to + determine the file names retrieved by the ls command. + (e.g., + "f[o]+\.txt" etc.) + + + + + + + Identifies directory path (e.g., + "/local/mytransfers") where file will be + transferred TO. + + + + + + + Tells this adapter if local directory must be + auto-created if it + doesn''t exist. Default is TRUE. + + + + + + + Specifies the order for invocation when this + endpoint is connected as a + subscriber to a channel. This is + particularly relevant when that channel + is using a "failover" + dispatching strategy, or when a failure in the + delivery to one + subscriber should signal that + the message should not be sent to + subscribers with a higher 'order' + attribute. It has no effect + when + this + endpoint itself is a Polling Consumer for a channel with + a + queue. + + + + + + + + - - + + + + + + Identifies the remote directory path (e.g., "/remote/mytransfers") + + + + + + + Identifies the remote temporary directory path (e.g., "/remote/temp/mytransfers") + + + + + + + + + + + + Identifies channel attached to this adapter. Depending on the type of the adapter + this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where + messages will be sent to by this adapter (e.g., inbound-channel-adapter). + + + + + + + Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default + + + + + + + + + + - + - + - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default + Extension used when downloading files. We + change + it right after we know it's + downloaded. - + + + + + + Allows you to provide remote file/directory + separator character. DEFAULT: + '/' + + + + + + + + + + + + Lifecycle attribute signaling if this component + should be started during + Application Context startup. + Default is + 'true' + + + + diff --git a/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-2.1.xsd b/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.1.xsd similarity index 100% rename from spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-2.1.xsd rename to spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.1.xsd diff --git a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-2.1.xsd b/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-2.1.xsd deleted file mode 100644 index d397972165..0000000000 --- a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-2.1.xsd +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - Configures an inner bean that will generate a - Groovy Script. - - - - - - - - - - - Reference to a GroovyObjectCustomizer bean to be applied to this script. - - - - - - - - - - - - - - - - - - - - - - - - Reference to a GroovyObjectCustomizer bean to be - applied to each script payload. - - - - - - - - - - diff --git a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd b/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd index f636706dc4..d397972165 100644 --- a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd +++ b/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd @@ -1,95 +1,45 @@ - - - + - + + + - Configures an inner bean that will generate a Groovy Script. + Configures an inner bean that will generate a + Groovy Script. - - - - - - - Allows you to define custom Groovy variable bindings. The use of this sub-element is mutually - exclusive with the 'script-variable-generator' attribute. - - - - - - Name of the Groovy variable. - - - - - - - Value of the Groovy variable as a literal. - - - - - - - Value of the Groovy variable as a bean reference. - - - - - - - - - - - - - Resource location path for the Script. Either this or an inline script - as body text should be provided, but not both. - - - - - - - Reference to the ScriptVariableGenerator bean. This attribute is mutually - exclusive with any 'variable' sub-elements. - - - - - - - - - - Reference to a GroovyObjectCustomizer bean to be applied to this script. - - - - - - - - - - Refresh delay for the script contents if specified as a resource - location (defaults to -1, never refresh). - - - - + + + + + + + Reference to a GroovyObjectCustomizer bean to be applied to this script. + + + + + + + + + + + - + - Reference to a GroovyObjectCustomizer bean to be applied to each script payload. + Reference to a GroovyObjectCustomizer bean to be + applied to each script payload. - + diff --git a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-2.1.xsd b/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-2.1.xsd deleted file mode 100644 index 6441ff2289..0000000000 --- a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-2.1.xsd +++ /dev/null @@ -1,690 +0,0 @@ - - - - - - - - - - - - - - - Defines an inbound HTTP-based Channel Adapter. - - - - - - - - - - [DEPRECATED since v2.1] Use the 'path' attribute if you want - to specify the path or the 'id' attribute if you simply want - to identify this component. - - When using the 'path' attribute, please ensure to also - declare a handler mapping bean of type - 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. - - This bean is used by the Spring MVC DispatcherServlet - to evaluate which URL maps to which inbound endpoint. - For more information please see the chapter on - 'Handler mappings' in the Spring Framework Reference - Documentation. - - - - - - - - - - - - - - - - Target type for payload that is the conversion result of the request. - - - - - - - - - View name to be resolved when rendering a response. - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default key of the Errors (if the request cannot be handled). - Defaults to "errors" (similar to normal MVC - usage). - - - - - - - Allows you to specify SpEL expression to construct a Message payload - - - - - - - Allows you to specify the URI path (e.g., /orderId/{order}) - - When using the 'path' attribute, please ensure to also - declare a handler mapping bean of type - 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. - - This bean is used by the Spring MVC DispatcherServlet to - evaluate which URL maps to which inbound endpoint. For - more information please see the chapter on 'Handler mappings' - in the Spring Framework Reference Documentation. - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default error code under which the handling exception is exposed. - Defaults to - "spring.integration.http.handler.error" and is supplied with 3 - parameters: the exception itself, its message and - its stack trace as a String. - - - - - - - List of HttpMessageConverters for this Channel Adapter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an inbound HTTP-based Messaging Gateway. - - - - - - - - - - - [DEPRECATED since v2.1] Use the 'path' attribute if you want - to specify the path or the 'id' attribute if you simply want - to identify this component. - - When using the 'path' attribute, please ensure to also - declare a handler mapping bean of type - 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. - - This bean is used by the Spring MVC DispatcherServlet - to evaluate which URL maps to which inbound endpoint. - For more information please see the chapter on - 'Handler mappings' in the Spring Framework Reference - Documentation. - - - - - - - - - View name to be resolved when rendering a response. - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default key of the Errors (if the request cannot be handled). - Defaults to "errors" (similar to normal MVC usage). - - - - - - - Allows you to specify SpEL expression to construct a Message payload - - - - - - - Allows you to specify the URI path (e.g., /orderId/{order}) - - When using the 'path' attribute, please ensure to also - declare a handler mapping bean of type - 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. - - This bean is used by the Spring MVC DispatcherServlet - to evaluate which URL maps to which inbound endpoint. - For more information please see the chapter on - 'Handler mappings' in the Spring Framework Reference - Documentation. - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default error code under which the handling exception is exposed. - Defaults to "spring.integration.http.handler.error" and is supplied with 3 - parameters: the exception itself, its message and its stack trace as a String. - - - - - - - In the case that a view-name is not specified this attribute can be used to - override the default behaviour when there is a message handling exception (which - is to rethrow). If this flag is true then the normal conversion process will be - applied to the exception and written out to the response body. - - - - - - - Target type for payload that is the conversion result of the request. - - - - - - - List of HttpMessageConverters for this Gateway. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an outbound HTTP-based Channel Adapter. - - - - - - - - - - - - - - - - The HTTP method to use when executing requests with this adapter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The expected type to which the response body should be converted. - - - - - - - - - - - - Provide a reference to a list of HttpMessageConverter instances. If specified, these converters will replace - all of the default converters that would normally be present on the underlying RestTemplate. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies whether this adapter should start automatically. - - - - - - - - - - - Defines an outbound HTTP-based Messaging Gateway. - - - - - - - - - - - URL to be used as a fallback for any request Message does not contain the request URL Message header. - - - - - - - The HTTP method to use when executing requests with this adapter. - - - - - - - - - - Provide a reference to a list of HttpMessageConverter instances. If specified, these converters will replace - all of the default converters that would normally be present on the underlying RestTemplate. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The expected type to which the response body should be converted. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines common configuration for gateway adapters. - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-4.1.xsd b/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-4.1.xsd index e224b46c1d..6441ff2289 100644 --- a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-4.1.xsd +++ b/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-4.1.xsd @@ -20,9 +20,30 @@ Defines an inbound HTTP-based Channel Adapter. - - - + + + + + + + + [DEPRECATED since v2.1] Use the 'path' attribute if you want + to specify the path or the 'id' attribute if you simply want + to identify this component. + + When using the 'path' attribute, please ensure to also + declare a handler mapping bean of type + 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. + + This bean is used by the Spring MVC DispatcherServlet + to evaluate which URL maps to which inbound endpoint. + For more information please see the chapter on + 'Handler mappings' in the Spring Framework Reference + Documentation. + + + + @@ -53,7 +74,30 @@ In the case that a view-name is specified this attribute can be used to override the default key of the Errors (if the request cannot be handled). Defaults to "errors" (similar to normal MVC - usage). + usage). + + + + + + + Allows you to specify SpEL expression to construct a Message payload + + + + + + + Allows you to specify the URI path (e.g., /orderId/{order}) + + When using the 'path' attribute, please ensure to also + declare a handler mapping bean of type + 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. + + This bean is used by the Spring MVC DispatcherServlet to + evaluate which URL maps to which inbound endpoint. For + more information please see the chapter on 'Handler mappings' + in the Spring Framework Reference Documentation. @@ -94,7 +138,7 @@ this list can also be simple patterns to be matched against the header names (e. The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Request headers. ]]> - + @@ -103,7 +147,7 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - + @@ -116,7 +160,28 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - + + + + + + + [DEPRECATED since v2.1] Use the 'path' attribute if you want + to specify the path or the 'id' attribute if you simply want + to identify this component. + + When using the 'path' attribute, please ensure to also + declare a handler mapping bean of type + 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. + + This bean is used by the Spring MVC DispatcherServlet + to evaluate which URL maps to which inbound endpoint. + For more information please see the chapter on + 'Handler mappings' in the Spring Framework Reference + Documentation. + + + @@ -131,7 +196,31 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re In the case that a view-name is specified this attribute can be used to override the default key of the Errors (if the request cannot be handled). - Defaults to "errors" (similar to normal MVC usage). + Defaults to "errors" (similar to normal MVC usage). + + + + + + + Allows you to specify SpEL expression to construct a Message payload + + + + + + + Allows you to specify the URI path (e.g., /orderId/{order}) + + When using the 'path' attribute, please ensure to also + declare a handler mapping bean of type + 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. + + This bean is used by the Spring MVC DispatcherServlet + to evaluate which URL maps to which inbound endpoint. + For more information please see the chapter on + 'Handler mappings' in the Spring Framework Reference + Documentation. @@ -150,7 +239,7 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re In the case that a view-name is not specified this attribute can be used to override the default behaviour when there is a message handling exception (which - is to rethrow). If this flag is true then the normal conversion process will be + is to rethrow). If this flag is true then the normal conversion process will be applied to the exception and written out to the response body. @@ -199,7 +288,7 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - - + + + + + + + + + + @@ -224,7 +332,7 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - + @@ -233,17 +341,17 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re ]]> - + - The HTTP method to use when executing requests with this adapter. + The HTTP method to use when executing requests with this adapter. - + @@ -266,7 +374,7 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - The expected type to which the response body should be converted. + The expected type to which the response body should be converted. @@ -362,10 +470,10 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - + - The HTTP method to use when executing requests with this adapter. + The HTTP method to use when executing requests with this adapter. @@ -422,7 +530,7 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - The expected type to which the response body should be converted. + The expected type to which the response body should be converted. @@ -464,6 +572,30 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re + + + + + + + + + + @@ -494,6 +626,28 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re + + + + + + + + + + + + + + + + @@ -512,7 +666,7 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re Defines common configuration for gateway adapters. - + @@ -531,7 +685,6 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - \ No newline at end of file diff --git a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-2.1.xsd b/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-2.1.xsd deleted file mode 100644 index 5dde3c0765..0000000000 --- a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-2.1.xsd +++ /dev/null @@ -1,606 +0,0 @@ - - - - - - - - - - - - - - - Defines a udp inbound Channel Adapter for receiving incoming udp packets. - - - - - - - - -The number of threads that will be used for socket/channel handling. Only applies -if an external task-executor is NOT being used. When using an external task executor, -its configuration specifies the number of threads. - - - - - - - - - Specifies a specific Executor to be used for socket handling. If not supplied, an internal - pooled executor will be used (See pool-size). Needed on some platforms that require the use of specific - task executors such as a WorkManagerTaskExecutor. - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will simply be logged by the channel adapter. - - - - - - -Whether or not to do a DNS reverse-lookup on the remote ip address to insert the host name into the -message headers (ip_hostName). Default "true". - - - - - - - - - - - - Defines an outbound UDP packet-sending Channel Adapter. - - - - - - - - - - - - - - - -Specifies a specific Executor to be used for handling acknowledgments in the UDP adapter. If not supplied, an internal -pooled executor will be used. Needed on some platforms that require the use of specific -task executors such as a WorkManagerTaskExecutor. - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - - - - - - - - - - - - - A connection factory is needed by an inbound adapter. If the connection factory has a type 'server', - the factory is 'owned' by this adapter. If it has a type 'client', it is owned by an outbound channel - adapter and this adapter will receive any incoming messages on the connection created by the outbound - adapter. - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will simply be logged by the channel adapter. - - - - - - - If set to true, causes the adapter to act as a client with respect to - establishing the connection, rather than listening for incoming connections. - Requires a type="client" connection factory, with single-use set to false. - Defaults to true. - - - - - - - - - - - - - - - - - - - - - - - A connection factory is needed by an outbound adapter. If the connection factory has a type 'client', - the factory is 'owned' by this adapter. If it has a type 'server', it is owned by an inbound channel - adapter and this adapter will attempt to correlate messages to the connection on which an original - inbound message was received. - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - If set to true, causes the adapter to establish a connection when started, - rather than when the first message is sent. - Requires a type="client" connection factory, with single-use set to false. - Defaults to true. - - - - - - - - - - - - - - - - - - - - - - - A connection factory is needed by an inbound adapter. The connection factory must be of type 'server'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel and the ultimate response - of the error flow will be returned as a response by the gateway. If no - "error-channel" is specified, any such exception - will simply be logged by the gateway. In such a situation, no response is sent - to the client. - - - - - - - If set to true, causes the gateway to act as a client with respect to - establishing the connection, rather than listening for incoming connections. - Requires a type="client" connection factory, with single-use set to false. - Defaults to true. - - - - - - - - - - - - - - - - - - - - - - - A connection factory is needed by an outbound adapter. The connection factory must be of 'client'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - - - - - -Connection factories can be 'client' or 'server'. Client factories -open a connection to a server using a host and port. Server factories -listen on a port and create a separate connection for each incoming -connection request. - - - - - - - - - - - - -The host to which a client connection factory will connect. - - - - - - -For client factories, the port to which a client connection factory will connect. -For server factories, the port on which the factory will listen for incoming -connections. - - - - - - -If true, the factory will use java.nio.channel.SocketChannel for communication; -for a large number of connections on the server side, this can provide better -performance and may use fewer threads. - - - - - - - - - - - - - -If true, instructs the factory to use direct buffers if possible; only applies if -using-nio is true. Refer to ByteBuffer javadocs for more information. - - - - - - -If true, a new connection will be created for each use. For inbound adapters -where there is no outbound adapter sharing the factory, the connection will -be closed after a message is received. For outbound adapters where there is -no inbound adapter sharing the factory, or for inbound adapters where an -outbound adapter shares the factory, the connection will be closed after -so-timeout milliseconds. For outbound adapters where an inbound adapter shares -the factory, the connection will be closed after a response is received. - - - - - - - - - - - -A Serializer that converts message payloads to/from output streams/input streams -associated with the connection. Default is ByteArrayCrLfSerializer. Serializer and Deserializer -would normally be the same but this is not required. - - - - - - - - - - - -A Deserializer that converts message payloads to/from output streams/input streams -associated with the connection. Default is ByteArrayCrLfSerializer. Serializer and Deserializer -would normally be the same but this is not required. - - - - - - -On a multi-homed system, specifies the ip address of the network interface used to communicate. -For inbound adapters and gateways, specifies the interface used to listen for incoming connections. -If omitted, the endpoint will listen on all available adapters. For the UDP multicast outbound adapter -specifies the interface to which multicast packets will be sent. For UDP unicast and multicast -adapters, specifies which interface to which the acknowledgment socket will be bound. Does not -apply to TCP outbound adapters and gateways. - - - - - - - -The number of threads that will be used for socket/channel handling. Only applies -if an external task-executor is NOT being used. When using an external task executor, -its configuration specifies the number of threads. - - - - - - -Whether or not to do a DNS reverse-lookup on the remote ip address to insert the host name into the -message headers (ip_connectionId, ip_hostName). Default "true". - - - - - - - - - - - - - - - -When set to "true", adds sequenceNumber and correlationId headers to messages originating from -connections created by this factory. Facilitates resequencing if necessary. Default "false". - - - - - - - - - - Common configuration for UDP-based adapters. - - - - - - - - - - - - - - - - - - - - - - - - - - - - -On a multi-homed system, specifies the ip address of the network interface used to communicate. -For inbound adapters and gateways, specifies the interface used to listen for incoming connections. -If omitted, the endpoint will listen on all available adapters. For the UDP multicast outbound adapter -specifies the interface to which multicast packets will be sent. For UDP unicast and multicast -adapters, specifies which interface to which the acknowledgment socket will be bound. Does not -apply to TCP outbound adapters and gateways. - - - - - - - - - - - - - - - - - - - - - - - When in client mode, specifies the retry interval, in milliseconds, if a connection - cannot be established. Defaults to 60000. - - - - - - - When in client mode, - provide a reference to the TaskScheduler instance to - be used for establishing connections. If not provided, the default - will use a thread pool of size 1. - - - - - - - - - - diff --git a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd b/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd index baeddaa28a..5dde3c0765 100644 --- a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd +++ b/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> -Whether or not to do a DNS reverse-lookup on the remote ip address to insert the host name into the +Whether or not to do a DNS reverse-lookup on the remote ip address to insert the host name into the message headers (ip_hostName). Default "true". @@ -115,189 +115,260 @@ task executors such as a WorkManagerTaskExecutor. - - - - - - - - - -A connection factory is needed by an inbound adapter. If the connection factory has a type 'server', -the factory is 'owned' by this adapter. If it has a type 'client', it is owned by an outbound channel -adapter and this adapter will receive any incoming messages on the connection created by the outbound -adapter. - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will simply be logged by the channel adapter. - - - + + + + + + + + + + + + A connection factory is needed by an inbound adapter. If the connection factory has a type 'server', + the factory is 'owned' by this adapter. If it has a type 'client', it is owned by an outbound channel + adapter and this adapter will receive any incoming messages on the connection created by the outbound + adapter. + + + + + + + + + + + + + + + + + + + + + If a (synchronous) downstream exception is thrown and an "error-channel" is specified, + the MessagingException will be sent to this channel. Otherwise, any such exception + will simply be logged by the channel adapter. + + + + + + + If set to true, causes the adapter to act as a client with respect to + establishing the connection, rather than listening for incoming connections. + Requires a type="client" connection factory, with single-use set to false. + Defaults to true. + + + + + + - - - - - - - - - -A connection factory is needed by an outbound adapter. If the connection factory has a type 'client', -the factory is 'owned' by this adapter. If it has a type 'server', it is owned by an inbound channel -adapter and this adapter will attempt to correlate messages to the connection on which an original -inbound message was received. - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - + + + + + + + + + + + + A connection factory is needed by an outbound adapter. If the connection factory has a type 'client', + the factory is 'owned' by this adapter. If it has a type 'server', it is owned by an inbound channel + adapter and this adapter will attempt to correlate messages to the connection on which an original + inbound message was received. + + + + + + + + + + + + + + + + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. + + + + + + + If set to true, causes the adapter to establish a connection when started, + rather than when the first message is sent. + Requires a type="client" connection factory, with single-use set to false. + Defaults to true. + + + + + + - - - - - - - - - -A connection factory is needed by an inbound adapter. The connection factory must be of type 'server'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel and the ultimate response - of the error flow will be returned as a response by the gateway. If no - "error-channel" is specified, any such exception - will simply be logged by the gateway. In such a situation, no response is sent - to the client. - - - + + + + + + + + + + + + A connection factory is needed by an inbound adapter. The connection factory must be of type 'server'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + If a (synchronous) downstream exception is thrown and an "error-channel" is specified, + the MessagingException will be sent to this channel and the ultimate response + of the error flow will be returned as a response by the gateway. If no + "error-channel" is specified, any such exception + will simply be logged by the gateway. In such a situation, no response is sent + to the client. + + + + + + + If set to true, causes the gateway to act as a client with respect to + establishing the connection, rather than listening for incoming connections. + Requires a type="client" connection factory, with single-use set to false. + Defaults to true. + + + + + + - - - - - - - - - -A connection factory is needed by an outbound adapter. The connection factory must be of 'client'. - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - + + + + + + + + + + + + A connection factory is needed by an outbound adapter. The connection factory must be of 'client'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. + + + + + - + @@ -317,7 +388,7 @@ connection request. -The host to which a client connection factory will connect. +The host to which a client connection factory will connect. @@ -326,14 +397,14 @@ The host to which a client connection factory will connect. For client factories, the port to which a client connection factory will connect. For server factories, the port on which the factory will listen for incoming -connections. +connections. -If true, the factory will use java.nio.channel.SocketChannel for communication; +If true, the factory will use java.nio.channel.SocketChannel for communication; for a large number of connections on the server side, this can provide better performance and may use fewer threads. @@ -350,10 +421,10 @@ performance and may use fewer threads. If true, instructs the factory to use direct buffers if possible; only applies if -using-nio is true. Refer to ByteBuffer javadocs for more information. +using-nio is true. Refer to ByteBuffer javadocs for more information. - + @@ -363,7 +434,7 @@ be closed after a message is received. For outbound adapters where there is no inbound adapter sharing the factory, or for inbound adapters where an outbound adapter shares the factory, the connection will be closed after so-timeout milliseconds. For outbound adapters where an inbound adapter shares -the factory, the connection will be closed after a response is received. +the factory, the connection will be closed after a response is received. @@ -377,7 +448,7 @@ the factory, the connection will be closed after a response is received. A Serializer that converts message payloads to/from output streams/input streams associated with the connection. Default is ByteArrayCrLfSerializer. Serializer and Deserializer -would normally be the same but this is not required. +would normally be the same but this is not required. @@ -391,7 +462,7 @@ would normally be the same but this is not required. A Deserializer that converts message payloads to/from output streams/input streams associated with the connection. Default is ByteArrayCrLfSerializer. Serializer and Deserializer -would normally be the same but this is not required. +would normally be the same but this is not required. @@ -420,7 +491,7 @@ its configuration specifies the number of threads. -Whether or not to do a DNS reverse-lookup on the remote ip address to insert the host name into the +Whether or not to do a DNS reverse-lookup on the remote ip address to insert the host name into the message headers (ip_connectionId, ip_hostName). Default "true". @@ -434,6 +505,14 @@ message headers (ip_connectionId, ip_hostName). Default "true". + + + +When set to "true", adds sequenceNumber and correlationId headers to messages originating from +connections created by this factory. Facilitates resequencing if necessary. Default "false". + + + @@ -461,7 +540,7 @@ message headers (ip_connectionId, ip_hostName). Default "true". - + @@ -480,4 +559,48 @@ apply to TCP outbound adapters and gateways. + + + + + + + + + + + + + + + + + + When in client mode, specifies the retry interval, in milliseconds, if a connection + cannot be established. Defaults to 60000. + + + + + + + When in client mode, + provide a reference to the TaskScheduler instance to + be used for establishing connections. If not provided, the default + will use a thread pool of size 1. + + + + + + + + + diff --git a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.1.xsd b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.1.xsd deleted file mode 100644 index c44b8296a4..0000000000 --- a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.1.xsd +++ /dev/null @@ -1,1316 +0,0 @@ - - - - - - - - - - - - - - - Defines a MessageStore (and MessageGroupStore) - backed by a database. - - - - - - - - - Reference to a data source to use to access - the database. Either this or the jdbc-operations - must be - specified (but not both). - - - - - - - - - - - - - Reference to a JdbcOperations. Either - this or - the data-source must be - specified (but not both). - - - - - - - - - - - Unique string to use as a partition for the - data in this store, so that - multiple instances can - share the same - database tables. The default - is "DEFAULT". - - - - - - - Prefix for the table names in the database - (e.g. so that a schema can be specified, or to avoid - a clash - with - other tables). The default is "INT_". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an inbound Channel Adapter for polling a - database. - - - - - - - - - - - An update query to execute when a message is - polled. If the poll is in a transaction then the - update will - roll back if the transaction does. - - - - - - - - - - - - An update query to execute when a message is - polled. If the poll is in a transaction then the - update will - roll back if the transaction does. The update can also be specified as a nested element. - - - - - - - - - Flag to indicate whether the update query - should be executed per message, or per row (in the - case that a - message contains multiple rows). - - - - - - - - Limits the number of rows extracted per query (otherwise all rows - are extracted into the - outgoing message). - - - - - - - - Channel to which polled messages will be - sent. - - - - - - - - - - - - Flag to indicate that the poller should start automatically on startup (default true). - - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the result of the - query. The - default factory creates a parameter source that treats a List in a special - way: the parameter name is used as an expression and projected onto the list, - so for instance "update foos set status=1 where id in (:id)" will generate - an in clause from the properties "id" of the input list elements. - - - - - - - - - - - - Reference to a static SqlParameterSource for the SELECT query used for polling. If - that query has - placeholders (e.g. "SELECT * from FOO where KEY=:key") they - will be bound from this source by name. - - - - - - - - - - - - - - - - Defines an outbound Channel Adapter for updating a - database. - - - - - - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the whole - outgoing message. The - default factory creates a bean - property parameter source so the query can specify named - parameters like :payload and :headers[foo]. - - - - - - - - - - - - - Channel from which messages will be output. - When a message is sent to this channel it will - cause the query - to be executed. - - - - - - - - - - - - Flag to indicate whether primary keys are generated by the query. - - - - - - - - - Flag to indicate that the poller should start automatically on startup (default true). - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - - - Defines an outbound Channel Gateway for updating a - database in response to a message on the request - channel and getting a response - on the reply channel. The response can be created from a query - supplied here, or (if keys-generated="true") can be the - primary keys generated from an auto-increment, or else just a - count of the number of rows affected by the update. The response - is in general a case insensitive Map (or list of maps if multi-valued), unless - a select query and a row-mapper is provided. If the update count is - returned then the map key is "UPDATE". - - - - - - - - - - - An update query to execute when a message is - received. If this is in a transaction then the - update will - roll back when the transaction does. - - - - - - - - - - - - An update query to execute when a message is - received. If this is in a transaction then the - update will - roll back when the transaction does. The update can also be specified as a nested element. - - - - - - - - When using a select query, you can set a - custom limit regarding the number of rows - extracted. Otherwise by default only the first - row will be extracted into the outgoing message. - - If set to '0' all rows are extracted. - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the whole - outgoing message. The - default factory creates a bean - property parameter source so the query can specify named - parameters like :payload and :headers[foo]. - - - - - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the whole - outgoing message. The - default factory creates a bean - property parameter source so the query can specify named - parameters like :payload and :headers[foo]. - - - - - - - - - - - The receiving Message Channel of this endpoint. - - - - - - - - - - - - Message Channel to which replies should be sent, - after receiving the database response. - - - - - - - - - - - - - - - - - - - Flag to indicate whether primary keys are generated by the query. If they are then - they can be used as a reply payload instead of providing a select query. A single - valued result is extracted before returning (the usual case), so the payload of the reply message - can be a Map (column name to value) or a list of maps. - - - - - - - - - Flag to indicate that the poller should start automatically on startup (default true). - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - - - - Reference to a data source to use to access - the - database. Either this or the - simple-jdbc-operations - must be - specified - (but not both). - - - - - - - - - - - - - Reference to a JdbcOperations. Either - this or - the - data-source must be - specified (but not both). - - - - - - - - - - - - - - - - - - A select query to execute when a message is - polled. In general - the query can return multiple - rows, because - the result will be a List (of type determined by the - row - mapper). - - - - - - - - - - A select query to execute when a message is - polled. In general the query can return multiple - rows, because - the result will be a List (of type determined by the row - mapper). The query can also be specified as - a nested element. - - - - - - - - - - - - - - - - Reference to a row mapper to use to convert - JDBC result set rows to message payloads. - Optional - with default - that maps - result set row to a map (column name to column value). - Other simple - use cases can - be handled - with out-of-the box - implementations from Spring JDBC. Others require a custom row - mapper. - - - - - - - - - - - - - - - Defines an outbound Channel Adapter for updating a - database using stored procedures. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a SqlParameterSourceFactory. - - - - - - - - - - - - Channel from which messages will be output. - When a message is sent to this channel it will - cause the query - to be executed. - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - Indicates whether this procedure's return value - should be included. - - - - - - - - - - - - - Defines an Outbound Channel Gateway for updating a database using - a stored procedure. The response of the stored procedure is used - to populate the Message for the reply channel. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the whole - outgoing message. The - default factory creates a bean - property parameter source so the query can specify named - parameters like :payload and :headers[foo]. - - - - - - - - - - - If "true", a SQL Function is called. In that case - the "stored-procedure-name" attribute defines - the name of the called function. - - - - - - - - - - - - - - - - - - - - - - - - - - - - The receiving Message Channel of this endpoint. - - - - - - - - - - - - Message Channel to which replies should be sent, - after receiving the database response. - - - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - Indicates the procedure's return value should be included - in the results returned. - - - - - - - - - - - - - Defines an inbound Channel Adapter for polling a - database using a stored procedure or function. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If "true", a SQL Function is called. In that case - the "stored-procedure-name" attribute defines - the name of the called function. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Channel to which polled messages will be send. If the stored - procedure or function does not return any data, the payload - of the Message will be Null. - - - - - - - - - - - - - - - - Identifies the underlying Spring bean definition, which is an - instance of either 'EventDrivenConsumer' or 'PollingConsumer', - depending on whether the component's input channel is a - 'SubscribableChannel' or 'PollableChannel'. - - - - - - - The name of the stored procedure. If the "is-function" - attribute is "true", this attributes specifies the - function name. - - - - - - - Reference to a data source to use to access - the database. - - - - - - - - - - - - Flag to indicate that the poller should start automatically - on startup (default true). - - - - - - - If true, the JDBC parameter definitions for the stored procedure - are not automatically derived from the underlying JDBC connection. In - that case you must specify all Sql parameter definitions explicitly - using the 'sql-parameter-definition' sub-element. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd index 65d6ace1db..c44b8296a4 100644 --- a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd +++ b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd @@ -6,7 +6,7 @@ - + - + @@ -171,16 +171,14 @@ - - - Limits the number of rows extracted per query (otherwise all rows - are extracted into the - outgoing message). - - + + Limits the number of rows extracted per query (otherwise all rows + are extracted into the + outgoing message). + - + @@ -256,7 +254,7 @@ - Reference to a SqlParameterSourceFactory. The input is the whole + Reference to a SqlParameterSourceFactory. The input is the whole outgoing message. The default factory creates a bean property parameter source so the query can specify named @@ -268,8 +266,8 @@ - - + + @@ -325,7 +323,7 @@ supplied here, or (if keys-generated="true") can be the primary keys generated from an auto-increment, or else just a count of the number of rows affected by the update. The response - is in general a case insensitive Map (or list of maps if multi-valued), unless + is in general a case insensitive Map (or list of maps if multi-valued), unless a select query and a row-mapper is provided. If the update count is returned then the map key is "UPDATE". @@ -348,7 +346,7 @@ - + @@ -361,11 +359,23 @@ + + + + When using a select query, you can set a + custom limit regarding the number of rows + extracted. Otherwise by default only the first + row will be extracted into the outgoing message. + + If set to '0' all rows are extracted. + + + - Reference to a SqlParameterSourceFactory. The input is the whole + Reference to a SqlParameterSourceFactory. The input is the whole outgoing message. The default factory creates a bean property parameter source so the query can specify named @@ -381,7 +391,7 @@ - Reference to a SqlParameterSourceFactory. The input is the whole + Reference to a SqlParameterSourceFactory. The input is the whole outgoing message. The default factory creates a bean property parameter source so the query can specify named @@ -395,6 +405,9 @@ + + The receiving Message Channel of this endpoint. + @@ -404,6 +417,10 @@ + + Message Channel to which replies should be sent, + after receiving the database response. + @@ -411,7 +428,20 @@ - + + + + + + @@ -551,4 +581,736 @@ + + + + Defines an outbound Channel Adapter for updating a + database using stored procedures. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reference to a SqlParameterSourceFactory. + + + + + + + + + + + + Channel from which messages will be output. + When a message is sent to this channel it will + cause the query + to be executed. + + + + + + + + + + + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. + + + + + + + Indicates whether this procedure's return value + should be included. + + + + + + + + + + + + + Defines an Outbound Channel Gateway for updating a database using + a stored procedure. The response of the stored procedure is used + to populate the Message for the reply channel. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reference to a SqlParameterSourceFactory. The input is the whole + outgoing message. The + default factory creates a bean + property parameter source so the query can specify named + parameters like :payload and :headers[foo]. + + + + + + + + + + + If "true", a SQL Function is called. In that case + the "stored-procedure-name" attribute defines + the name of the called function. + + + + + + + + + + + + + + + + + + + + + + + + + + + + The receiving Message Channel of this endpoint. + + + + + + + + + + + + Message Channel to which replies should be sent, + after receiving the database response. + + + + + + + + + + + + + + + + + + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. + + + + + + + Indicates the procedure's return value should be included + in the results returned. + + + + + + + + + + + + + Defines an inbound Channel Adapter for polling a + database using a stored procedure or function. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + If "true", a SQL Function is called. In that case + the "stored-procedure-name" attribute defines + the name of the called function. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Channel to which polled messages will be send. If the stored + procedure or function does not return any data, the payload + of the Message will be Null. + + + + + + + + + + + + + + + + Identifies the underlying Spring bean definition, which is an + instance of either 'EventDrivenConsumer' or 'PollingConsumer', + depending on whether the component's input channel is a + 'SubscribableChannel' or 'PollableChannel'. + + + + + + + The name of the stored procedure. If the "is-function" + attribute is "true", this attributes specifies the + function name. + + + + + + + Reference to a data source to use to access + the database. + + + + + + + + + + + + Flag to indicate that the poller should start automatically + on startup (default true). + + + + + + + If true, the JDBC parameter definitions for the stored procedure + are not automatically derived from the underlying JDBC connection. In + that case you must specify all Sql parameter definitions explicitly + using the 'sql-parameter-definition' sub-element. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-2.1.xsd b/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-2.1.xsd deleted file mode 100644 index ac88b1c7f6..0000000000 --- a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-2.1.xsd +++ /dev/null @@ -1,1266 +0,0 @@ - - - - - - - - - - - - - - - Defines a Message Channel that is backed by a JMS Queue. - - - - - - - - - Reference to a JMS Queue. Either this attribute or the 'queue-name' - must be provided, but only one. - - - - - - - Specifies whether this channel should be Message-Driven. The value is "true" by default. - Set to "false" if this channel should be pollable. - - - - - - - Name of a JMS Queue to be resolved by this channel's DestinationResolver. - - - - - - - - - - - - Defines a Message Channel that is backed by a JMS Topic. - - - - - - - - - Reference to a JMS Topic. Either this attribute or the 'topic-name' - must be provided, but only one. - - - - - - - Name of a JMS Topic to be resolved by this channel's DestinationResolver. - - - - - - - Boolean value indicating whether the Topic subscription is durable. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ID for this channel. Required. - - - - - - - Reference to a JMS ConnectionFactory. If none is provided, the default - bean name for the reference will be "connectionFactory". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Timeout for the container's consumers if messsage-driven is TRUE, or - timeout for receive calls on the template if message-driven is FALSE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a JMS Message-Driven inbound Channel Adapter. - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'destination-name' and 'pub-sub-domain' which will rely upon the - DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - The boolean property used to configure the JmsTemplate with knowledge of what JMS domain is being used. By default the value of this property is 'false'', - indicating that the point-to-point domain, Queues, will be used. This property used by JmsTemplate determines the behavior of dynamic destination resolution - via implementations of the DestinationResolver interface. - - - - - - - Boolean property indicating whether to make the subscription durable. The durable subscription name to be used can be specified - through the "durableSubscriptionName" property. Default is "false". Set this to "true" to register a durable subscription, - typically in combination with a "durableSubscriptionName" value (unless your message listener class name is good enough as - subscription name). Only makes sense when listening to a topic (pub-sub domain). - - - - - - - The name of a durable subscription to create. To be applied in case of a topic (pub-sub domain) with subscription durability - activated. The durable subscription name needs to be unique within this client's JMS client id. Default is the class name of the - specified message listener. Note: Only 1 concurrent consumer (which is the default of this message listener container) is allowed - for each durable subscription. - - - - - - - The JMS client id for a shared Connection created and used by this container. Note that client ids need to be unique among all - active Connections of the underlying JMS provider. Furthermore, a client id can only be assigned if the original ConnectionFactory - hasn't already assigned one. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an error-channel is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will be propagated to the listener container and any JMS transaction will be - rolled back. Any synchronous downstream exceptions in the error flow will - also cause any JMS transaction to be rolled back. - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an inbound Channel Adapter for polling a JMS Destination. - - - - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'destination-name' and 'pub-sub-domain' which will rely upon the - DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Timeout for receive calls on the template. - NOTE: for JmsTemplate, 0 means indefinite while -1 means no-wait. - - - - - - - - - - - - - - - - - - - - - Defines an inbound JMS-based Messaging Gateway. - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'request-destination-name' and 'request-pub-sub-domain' which will rely - upon the DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use either 'default-reply-queue-name' or 'default-reply-topic-name' which - will rely upon the DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - - - - - - - - - - - Allows to specify custom implementation of JmsHeaderMapper to map Message Headers to JMS Message. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel; any response from - which will be returned as a reply by the gateway. If an "error-channel" is not - supplied, any such exception - will be propagated to the listener container and any JMS transaction will be - rolled back. Any synchronous downstream exceptions in the error flow will - also cause any JMS transaction to be rolled back. - - - - - - - - - - - - - - - - Boolean property indicating whether to make the subscription durable. The durable subscription name to be used can be specified - through the "durableSubscriptionName" property. Default is "false". Set this to "true" to register a durable subscription, - typically in combination with a "durableSubscriptionName" value (unless your message listener class name is good enough as - subscription name). Only makes sense when listening to a topic (pub-sub domain). - - - - - - - The name of a durable subscription to create. To be applied in case of a topic (pub-sub domain) with subscription durability - activated. The durable subscription name needs to be unique within this client's JMS client id. Default is the class name of the - specified message listener. Note: Only 1 concurrent consumer (which is the default of this message listener container) is allowed - for each durable subscription. - - - - - - - The JMS client id for a shared Connection created and used by this container. Note that client ids need to be unique among all - active Connections of the underlying JMS provider. Furthermore, a client id can only be assigned if the original ConnectionFactory - hasn't already assigned one. - - - - - - - - - - - - - - - - - - - - Defines an outbound JMS-based Messaging Gateway. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Timeout for the JMS MessageConsumer to receive the JMS reply Message. Default is 5 seconds. - - - - - - - Timeout for sending the mapped integration Message to this gateway's reply-channel. Default is indefinite. - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'request-destination-name' and 'request-pub-sub-domain' which will rely - upon the DestinationResolver strategy (DynamicDestinationResolver by default). This - attribute is mutually exclusive with 'request-destination-name' and - 'request-destination-expression'. - - - - - - - - - - - - Name of a destination to which request messages will be sent. This name will be handled - by this gateway's DestinationResolver. This attribute is mutually exclusive with - 'request-destination' and 'request-destination-expression'. - - - - - - - A SpEL expression to be evaluated at runtime against each Spring Integration request Message as - the root object. The result should be either a Destination instance or a String representing - the destination name. In the latter case, it will be passed to this adapter's DestinationResolver. - This attribute is mutually exclusive with 'request-destination' and 'request-destination-name'. - - - - - - - When resolving a request destination name (rather than having a 'request-destination' reference), - a true value here specifies that the DestinationResolver should resolve Topics rather than Queues. - Default is false. - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'reply-destination-name' and 'reply-pub-sub-domain' which will rely - upon the DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allows to specify custom implementation of JmsHeaderMapper to map Message Headers to JMS Message. - - - - - - - - - - - - - - - Specify a boolean value indicating whether the delivery mode should be - DeliveryMode.PERSISTENT (true) or DeliveryMode.NON_PERSISTENT (false). - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - - - - - - - - - - - - - Defines an outbound JMS Message-sending Channel Adapter. - - - - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'destination-name' and 'pub-sub-domain' which will rely upon the - DestinationResolver strategy (DynamicDestinationResolver by default). This attribute - is mutually exclusive with 'destination-name' and 'destination-expression'. - - - - - - - - - - - - Name of the destination to which JMS Messages will be sent. This will be passed to the - adapter's DestinationResolver. This attribute is mutually exclusive with 'destination' - and 'destination-expression'. - - - - - - - A SpEL expression to be evaluated at runtime against each Spring Integration Message as - the root object. The result should be either a Destination instance or a String representing - the destination name. In the latter case, it will be passed to this adapter's DestinationResolver. - If the evaluation result is null, messages will be sent to the default destination of the - underlying JmsTemplate. This attribute is mutually exclusive with 'destination' and 'destination-name'. - - - - - - - If true, specifies that destination names should resolve to Topics rather than Queues. Default is false. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specify a boolean value indicating whether the delivery mode should be - DeliveryMode.PERSISTENT (true) or DeliveryMode.NON_PERSISTENT (false). - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - - - - - - - - - - - - - - Common configuration for message-driven inbound JMS-based adapters. - - - - - - - - - - - - - - - - - - - - - Common configuration for inbound JMS-based adapters. - - - - - - - - - - - - - - - - - - - - - A JMS Message Selector expression. - - - - - - - - - - - - Defines a Transformer for adding statically configured JMS Headers. - - - - - - - - - The ReplyTo Destination for the JMS Message. - - - - - - - The Correlation ID for the JMS Message. - - - - - - - - Specify the default boolean value for whether to overwrite existing header values. This will only take effect for - sub-elements that do not provide their own 'overwrite' attribute. If the 'default-overwrite' attribute is not - provided, then the specified header values will NOT overwrite any existing ones with the same header names. - - - - - - - - - - - - - - - - - - - - - - - - - - Boolean value to indicate whether this header value should overwrite an existing header value for the same name. - - - - - - - - - - - - Common configuration for JMS-based adapters. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specify the number of concurrent consumers to create. Default is 1. - Specifying a higher value for this setting will increase the standard - level of scheduled concurrent consumers at runtime: This is effectively - the minimum number of concurrent consumers which will be scheduled - at any given time. This is a static setting; for dynamic scaling, - consider specifying the "maxConcurrentConsumers" setting instead. - Raising the number of concurrent consumers is recommendable in order - to scale the consumption of messages coming in from a queue. However, - note that any ordering guarantees are lost once multiple consumers are - registered - - - - - - - Specify the maximum number of concurrent consumers to create. Default is 1. - If this setting is higher than "concurrentConsumers", the listener container - will dynamically schedule new consumers at runtime, provided that enough - incoming messages are encountered. Once the load goes down again, the number of - consumers will be reduced to the standard level ("concurrentConsumers") again. - Raising the number of concurrent consumers is recommendable in order - to scale the consumption of messages coming in from a queue. However, - note that any ordering guarantees are lost once multiple consumers are - registered. - - - - - - - Specify the level of caching that this listener container is allowed to apply: - CACHE_NONE = 0 - CACHE_CONNECTION = 1 - CACHE_SESSION = 2 - CACHE_CONSUMER = 3 - - - - - - - Specify the maximum number of messages to process in one task. - More concretely, this limits the number of message reception attempts - per task, which includes receive iterations that did not actually - pick up a message until they hit their timeout - - - - - - - - Interval in miliseconds between the recovery attempts - - - - - - - Specify the limit for the number of consumers that are allowed to be idle at any given time. - This limit is used to determine if a new invoker should be created. Increasing the limit causes - invokers to be created more aggressively. This can be useful to ramp up the - number of invokers faster. - The default is 1, only scheduling a new invoker (which is likely to - be idle initially) if none of the existing invokers is currently idle. - - - - - - - Specify the limit for idle executions of a consumer task, not having - received any message within its execution. If this limit is reached, - the task will shut down and leave receiving to other executing tasks. - The default is 1, closing idle resources early once a task didn't - receive a message. - - - - - - - \ No newline at end of file diff --git a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-4.1.xsd b/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-4.1.xsd index 2307262b51..ac88b1c7f6 100644 --- a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-4.1.xsd +++ b/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> - + ID for this channel. Required. @@ -377,6 +377,35 @@ + + + + Boolean property indicating whether to make the subscription durable. The durable subscription name to be used can be specified + through the "durableSubscriptionName" property. Default is "false". Set this to "true" to register a durable subscription, + typically in combination with a "durableSubscriptionName" value (unless your message listener class name is good enough as + subscription name). Only makes sense when listening to a topic (pub-sub domain). + + + + + + + The name of a durable subscription to create. To be applied in case of a topic (pub-sub domain) with subscription durability + activated. The durable subscription name needs to be unique within this client's JMS client id. Default is the class name of the + specified message listener. Note: Only 1 concurrent consumer (which is the default of this message listener container) is allowed + for each durable subscription. + + + + + + + The JMS client id for a shared Connection created and used by this container. Note that client ids need to be unique among all + active Connections of the underlying JMS provider. Furthermore, a client id can only be assigned if the original ConnectionFactory + hasn't already assigned one. + + + @@ -422,14 +451,11 @@ - - - - + - - - + + + @@ -621,14 +647,39 @@ - - - - + + + + Boolean property indicating whether to make the subscription durable. The durable subscription name to be used can be specified + through the "durableSubscriptionName" property. Default is "false". Set this to "true" to register a durable subscription, + typically in combination with a "durableSubscriptionName" value (unless your message listener class name is good enough as + subscription name). Only makes sense when listening to a topic (pub-sub domain). + + + + + + + The name of a durable subscription to create. To be applied in case of a topic (pub-sub domain) with subscription durability + activated. The durable subscription name needs to be unique within this client's JMS client id. Default is the class name of the + specified message listener. Note: Only 1 concurrent consumer (which is the default of this message listener container) is allowed + for each durable subscription. + + + + + + + The JMS client id for a shared Connection created and used by this container. Note that client ids need to be unique among all + active Connections of the underlying JMS provider. Furthermore, a client id can only be assigned if the original ConnectionFactory + hasn't already assigned one. + + + - - - + + + @@ -648,7 +699,7 @@ - + @@ -686,7 +737,9 @@ A reference to a javax.jms.Destination by bean name. As an alternative to a bean reference, use 'request-destination-name' and 'request-pub-sub-domain' which will rely - upon the DestinationResolver strategy (DynamicDestinationResolver by default). + upon the DestinationResolver strategy (DynamicDestinationResolver by default). This + attribute is mutually exclusive with 'request-destination-name' and + 'request-destination-expression'. @@ -695,8 +748,34 @@ - - + + + + Name of a destination to which request messages will be sent. This name will be handled + by this gateway's DestinationResolver. This attribute is mutually exclusive with + 'request-destination' and 'request-destination-expression'. + + + + + + + A SpEL expression to be evaluated at runtime against each Spring Integration request Message as + the root object. The result should be either a Destination instance or a String representing + the destination name. In the latter case, it will be passed to this adapter's DestinationResolver. + This attribute is mutually exclusive with 'request-destination' and 'request-destination-name'. + + + + + + + When resolving a request destination name (rather than having a 'request-destination' reference), + a true value here specifies that the DestinationResolver should resolve Topics rather than Queues. + Default is false. + + + @@ -823,7 +902,8 @@ A reference to a javax.jms.Destination by bean name. As an alternative to a bean reference, use 'destination-name' and 'pub-sub-domain' which will rely upon the - DestinationResolver strategy (DynamicDestinationResolver by default). + DestinationResolver strategy (DynamicDestinationResolver by default). This attribute + is mutually exclusive with 'destination-name' and 'destination-expression'. @@ -832,8 +912,33 @@ - - + + + + Name of the destination to which JMS Messages will be sent. This will be passed to the + adapter's DestinationResolver. This attribute is mutually exclusive with 'destination' + and 'destination-expression'. + + + + + + + A SpEL expression to be evaluated at runtime against each Spring Integration Message as + the root object. The result should be either a Destination instance or a String representing + the destination name. In the latter case, it will be passed to this adapter's DestinationResolver. + If the evaluation result is null, messages will be sent to the default destination of the + underlying JmsTemplate. This attribute is mutually exclusive with 'destination' and 'destination-name'. + + + + + + + If true, specifies that destination names should resolve to Topics rather than Queues. Default is false. + + + @@ -1014,7 +1119,7 @@ Common configuration for JMS-based adapters. - + @@ -1050,7 +1155,7 @@ - + @@ -1070,5 +1175,92 @@ + + + + + + Specify the number of concurrent consumers to create. Default is 1. + Specifying a higher value for this setting will increase the standard + level of scheduled concurrent consumers at runtime: This is effectively + the minimum number of concurrent consumers which will be scheduled + at any given time. This is a static setting; for dynamic scaling, + consider specifying the "maxConcurrentConsumers" setting instead. + Raising the number of concurrent consumers is recommendable in order + to scale the consumption of messages coming in from a queue. However, + note that any ordering guarantees are lost once multiple consumers are + registered + + + + + + + Specify the maximum number of concurrent consumers to create. Default is 1. + If this setting is higher than "concurrentConsumers", the listener container + will dynamically schedule new consumers at runtime, provided that enough + incoming messages are encountered. Once the load goes down again, the number of + consumers will be reduced to the standard level ("concurrentConsumers") again. + Raising the number of concurrent consumers is recommendable in order + to scale the consumption of messages coming in from a queue. However, + note that any ordering guarantees are lost once multiple consumers are + registered. + + + + + + + Specify the level of caching that this listener container is allowed to apply: + CACHE_NONE = 0 + CACHE_CONNECTION = 1 + CACHE_SESSION = 2 + CACHE_CONSUMER = 3 + + + + + + + Specify the maximum number of messages to process in one task. + More concretely, this limits the number of message reception attempts + per task, which includes receive iterations that did not actually + pick up a message until they hit their timeout + + + + + + + + Interval in miliseconds between the recovery attempts + + + + + + + Specify the limit for the number of consumers that are allowed to be idle at any given time. + This limit is used to determine if a new invoker should be created. Increasing the limit causes + invokers to be created more aggressively. This can be useful to ramp up the + number of invokers faster. + The default is 1, only scheduling a new invoker (which is likely to + be idle initially) if none of the existing invokers is currently idle. + + + + + + + Specify the limit for idle executions of a consumer task, not having + received any message within its execution. If this limit is reached, + the task will shut down and leave receiving to other executing tasks. + The default is 1, closing idle resources early once a task didn't + receive a message. + + + + + \ No newline at end of file diff --git a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-2.1.xsd b/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-2.1.xsd deleted file mode 100644 index 310736d3d6..0000000000 --- a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-2.1.xsd +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - - - - - - - - Defines an inbound Channel Adapter that polls for JMX attribute values. - - - - - - - - - - - - - - - - - - Defines an outbound Gateway which allows for Message-driven invocation of managed operations that - return values - - - - - - - - - - - - - - - - Defines an outbound Channel Adapter for invoking JMX operations. - - - - - - - - - - - - - - - Defines an inbound Channel Adapter that listens for JMX notifications. - - - - - - - - - - - - - - - - - Defines an outbound Channel Adapter that publishes JMX notifications. - - - - - - - - - - - - - - - Exports Message Channels and Endpoints as MBeans. - - - - - - - - - The domain name for the MBeans exported by this Exporter. - - - - - - - - - - - - Static object properties to be used for this domain. These properties are appended to - the ObjectName of all MBeans registered by this component. - - - - - - - Comma separated list of simple patterns for component names to register (defaults to '*'). - The pattern is applied to all components before they are registered, looking for a match on - the 'name' property of the ObjectName. A MessageChannel and a MessageHandler (for instance) - can share a name because they have a different type, so in that case they would either both - be included or both excluded. - - - - - - - - - - - - Defines inbound operation invoking type - - - - - - - - - - - - - - Defines outbound operation invoking type - - - - - - - - - - - - - - - - Defines the name of the MBeanServer bean to connect to. - - - - - - \ No newline at end of file diff --git a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd b/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd index 0f245dbd36..310736d3d6 100644 --- a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd +++ b/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd @@ -6,7 +6,7 @@ - + - + @@ -170,7 +170,7 @@ - + diff --git a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.1.xsd b/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.1.xsd deleted file mode 100644 index 18fe4825f3..0000000000 --- a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.1.xsd +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - - - - - - - - - - - Defines an outbound mail-sending Channel Adapter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - Defines an inbound Channel Adapter that polls a mailbox for mail messages. - - - - - - - - - - - - - - - - - - - - - - Defines an IMAP IDLE channel adapter. - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an error-channel is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will simply be logged as a warning by the channel adapter. - - - - - - - - - - - - - A unique identifier for this Channel Adapter. - - - - - - - Reference for the MessageChannel to which this adapter will send Messages. - - - - - - - - - - - - - - - - - - - - - - Specify the javax.mail.Session reference. - NOTE: if this is provided, then 'java-mail-properties' should not be. - - - - - - - - - - - - Reference to a 'java.util.Properties' instance with settings for the JavaMail Session. - NOTE: if this is provided, then 'session' should not be. - - - - - - - - - - - - Specify the javax.mail.Authenticator. - NOTE: if this is provided, then 'session' should not be. - - - - - - - - - - - - - - - - - - - - - - - - - - - Specify whether this endpoint should be started automatically. The default is TRUE. - - - - - - - - - - Defines a Transformer that converts a javax.mail.Message payload to a String. - - - - - - - - - - - - - - - Defines a Transformer for adding statically configured Mail Headers. - - - - - - - - - - - - - - - - - - - Specify the default boolean value for whether to overwrite existing header values. This will only take effect for - sub-elements that do not provide their own 'overwrite' attribute. If the 'default-overwrite' attribute is not - provided, then the specified header values will NOT overwrite any existing ones with the same header names. - - - - - - - - - - - - - - - - - - - Boolean value to indicate whether this header value should overwrite an existing header value for the same name. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-4.1.xsd b/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-4.1.xsd index 2d62b09609..18fe4825f3 100644 --- a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-4.1.xsd +++ b/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> - - - - [DEPRECATED as of 2.0.5] - - - - - - - - @@ -147,7 +135,7 @@ - + Reference for the MessageChannel to which this adapter will send Messages. diff --git a/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-2.1.xsd b/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.1.xsd similarity index 100% rename from spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-2.1.xsd rename to spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.1.xsd diff --git a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-2.1.xsd b/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-2.1.xsd deleted file mode 100644 index 10d4bc56d7..0000000000 --- a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-2.1.xsd +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - Defines an RMI-based inbound MessagingGateway. - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an RMI-based outbound Messaging Gateway. - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - - - Defines common configuration for gateway adapters. - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-4.1.xsd b/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-4.1.xsd index 8eeadc08fc..10d4bc56d7 100644 --- a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-4.1.xsd +++ b/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> - + diff --git a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-2.1.xsd b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.1.xsd similarity index 100% rename from spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-2.1.xsd rename to spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.1.xsd diff --git a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-2.1.xsd b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.1.xsd similarity index 100% rename from spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-2.1.xsd rename to spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.1.xsd diff --git a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-2.1.xsd b/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-2.1.xsd deleted file mode 100644 index 1fde07d437..0000000000 --- a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-2.1.xsd +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - Defines security requirements for one or more Message Channels. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines the security access policy for send and/or receive invocations based on a Message Channel name pattern. - - - - - - - - \ No newline at end of file diff --git a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.1.xsd b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.1.xsd deleted file mode 100644 index 093c328604..0000000000 --- a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.1.xsd +++ /dev/null @@ -1,491 +0,0 @@ - - - - - - - - - - - - - - - - - - - - Allows you to provide a SpEL expression which - will compute the directory - path - where files will be transferred to - (e.g., "headers.['remote_dir'] + - '/myTransfers'"); - - - - - - - Allows you to provide a SpEL expression which - will compute the temporary directory - path where files will be transferred to before they are moved to the remote-directory - (e.g., "headers.['remote_dir'] + - '/temp/myTransfers'"); - - - - - - - Specify whether to automatically create the - remote target directory if - it doesn't exist. - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - - - Allows you to provide SpEL expression which - will compute file name of - the remote file (e.g., assuming payload - is java.io.File - "payload.getName() + '.transfered'"); - - - - - - - Allows you to suppress using a temporary file name while writing the file. - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a channel. This is - particularly relevant when that channel - is using a "failover" - dispatching strategy, or when a failure in - the delivery to one - subscriber should signal that - the message should not be sent to - subscribers with a higher 'order' - attribute. It has no effect - when this - endpoint itself is a Polling Consumer for a channel - with a queue. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allows you to specify a reference to a - [org.springframework.integration.file.filters.FileListFilter] - bean. - - - - - - - Allows you to provide a file name pattern to - determine the file names - that need to be scanned. - This is based on - simple pattern matching (e.g., "*.txt, fo*.txt" - etc.) - - - - - - - Allows you to provide a SpEL expression to - generate the file name of - the local (transferred) file. The root - object of the SpEL - evaluation is the name of the original - file. - For example, a valid expression would be "#this.toUpperCase() + - '.a'" where #this represents the - original name of the remote - file. - - - - - - - Allows you to provide a Regular Expression to - determine the file names - that need to be scanned. - (e.g., - "f[o]+\.txt" etc.) - - - - - - - Identifies the directory path (e.g., - "/local/mytransfers") where files - will be transferred TO. - - - - - - - Tells this adapter if the local directory must - be auto-created if it - doesn't exist. Default is TRUE. - - - - - - - Specify whether to delete the remote source - file after copying. - By default, the remote files will NOT be - deleted. - - - - - - - - - - - - - - - - - - - - sftp command - ls, get or rm - - - - - - - sftp command options; for ls, -1 means just - return the file names - (otherwise file - metadata is returned, -dirs - means include directories (not included by - default), - -links means - include links (not included by default); for get, -P means - preserve - timestamp from remote file. - - - - - - - SpEL expression representing the path in the - command (e.g. ls path to - list the files in directory path). - - - - - - - - - - - - Identifies the request channel attached to this - gateway. - - - - - - - - - - - - Identifies the reply channel attached to this - gateway. - - - - - - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.filters.FileListFilter] - bean. - - - - - - - Allows you to provide file name pattern to - determine the file names retrieved by the ls command - and is based - on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" etc.) - - - - - - - Allows you to provide Regular Expression to - determine the file names retrieved by the ls command. - (e.g., - "f[o]+\.txt" etc.) - - - - - - - Identifies directory path (e.g., - "/local/mytransfers") where file will be - transferred TO. - - - - - - - Tells this adapter if local directory must be - auto-created if it - doesn''t exist. Default is TRUE. - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a channel. This is - particularly relevant when that channel - is using a "failover" - dispatching strategy, or when a failure in the - delivery to one - subscriber should signal that - the message should not be sent to - subscribers with a higher 'order' - attribute. It has no effect when - this - endpoint itself is a Polling Consumer for a channel with a - queue. - - - - - - - - - - - - - - - Identifies the directory path (e.g., - "/temp/mytransfers") - - - - - - - Identifies the remote temporary directory path (e.g., "/remote/temp/mytransfers") - - - - - - - - - - - - Identifies channel attached to this adapter. - Depending on the type of the - adapter - this channel could be the - receiving channel (e.g., - outbound-channel-adapter) or channel - where - messages will be sent to by this adapter (e.g., - inbound-channel-adapter). - - - - - - - Allows you to specify Charset (e.g., US-ASCII, - ISO-8859-1, UTF-8). [UTF-8] is default - - - - - - - - - - - - - - - - - - - - - - - Extension used when downloading files. We - change - it right after we know it's - downloaded. - - - - - - - Allows you to provide remote file/directory - separator character. DEFAULT: - '/' - - - - - - - - - - - - Lifecycle attribute signaling if this component - should be started during - Application Context startup. - Default is - 'true' - - - - - - diff --git a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd index 040b323b74..093c328604 100644 --- a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd +++ b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd @@ -1,17 +1,15 @@ + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + xmlns:integration="http://www.springframework.org/schema/integration" + targetNamespace="http://www.springframework.org/schema/integration/sftp" + elementFormDefault="qualified" attributeFormDefault="unqualified"> - - + + + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd" /> @@ -21,124 +19,99 @@ ]]> - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true'. - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - Identifies directory path (e.g., "/temp/mytransfers") where file will be transferred TO - - - - + + + + - Allows you to provide remote file/directory separator character. DEFAULT: '/' + Allows you to provide a SpEL expression which + will compute the directory + path + where files will be transferred to + (e.g., "headers.['remote_dir'] + + '/myTransfers'"); - - - - Allows you to provide SpEL expression which will compute directory path - where file will be transferred TO (e.g., "headers.['remote_dir'] + '/myTransfers'"); - - - - - - - Extension used when uploading files. We change it right after we know it's uploaded. - - - - - - - - Specify whether to automatically create the remote target directory if it doesn't exist. - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - - - Allows you to provide SpEL expression which will compute file name of - the remote file (e.g., assuming payload is java.io.File "payload.getName() + '.transfered'"); - - - - - - - Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default - - - - - - - Specifies the order for invocation when this endpoint is connected as a -subscriber to a channel. This is particularly relevant when that channel -is using a "failover" dispatching strategy, or when a failure in the delivery to one subscriber should signal that -the message should not be sent to subscribers with a higher 'order' attribute. It has no effect when this -endpoint itself is a Polling Consumer for a channel with a queue. - - - + + + + Allows you to provide a SpEL expression which + will compute the temporary directory + path where files will be transferred to before they are moved to the remote-directory + (e.g., "headers.['remote_dir'] + + '/temp/myTransfers'"); + + + + + + + Specify whether to automatically create the + remote target directory if + it doesn't exist. + + + + + + + Allows you to specify a reference to + [org.springframework.integration.file.FileNameGenerator] bean. + + + + + + + + + + + + Allows you to provide SpEL expression which + will compute file name of + the remote file (e.g., assuming payload + is java.io.File + "payload.getName() + '.transfered'"); + + + + + + + Allows you to suppress using a temporary file name while writing the file. + + + + + + + Specifies the order for invocation when this + endpoint is connected as a + subscriber to a channel. This is + particularly relevant when that channel + is using a "failover" + dispatching strategy, or when a failure in + the delivery to one + subscriber should signal that + the message should not be sent to + subscribers with a higher 'order' + attribute. It has no effect + when this + endpoint itself is a Polling Consumer for a channel + with a queue. + + + + + @@ -149,132 +122,370 @@ endpoint itself is a Polling Consumer for a channel with a queue. ]]> - - - - - - - - - - - - - Reference to a DefaultSftpSessionFactory bean. - - - - - - + + + + + + + - - - - - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true' - - - - - - - Extension used when downloading files. We change it right after we know it's downloaded. - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.filters.FileListFilter] bean. - - - - - - - Allows you to provide file name pattern to determine the file names that needs to be scanned - and is based on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" etc.) - - - - - - - Allows you to provide Regular Expression to determine the file names that needs to be scanned. - (e.g., "f[o]+\.txt" etc.) - - - - - - - Allows you to provide remote file/directory separator character. DEFAULT: '/' - - - - - - - Identifies directory path (e.g., "/temp/mytransfers") where file will be transferred FROM. - - - - - - - Identifies directory path (e.g., "/local/mytransfers") where file will be transferred TO. - - - - - - - Tells this adapter if local directory must be auto-created if it doesn''t exist. Default is TRUE. - - - - - - - Specify whether to delete the remote source file after copying. - By default, the remote files will NOT be deleted. - - - + + + + + + + + + + + Allows you to specify a reference to a + [org.springframework.integration.file.filters.FileListFilter] + bean. + + + + + + + Allows you to provide a file name pattern to + determine the file names + that need to be scanned. + This is based on + simple pattern matching (e.g., "*.txt, fo*.txt" + etc.) + + + + + + + Allows you to provide a SpEL expression to + generate the file name of + the local (transferred) file. The root + object of the SpEL + evaluation is the name of the original + file. + For example, a valid expression would be "#this.toUpperCase() + + '.a'" where #this represents the + original name of the remote + file. + + + + + + + Allows you to provide a Regular Expression to + determine the file names + that need to be scanned. + (e.g., + "f[o]+\.txt" etc.) + + + + + + + Identifies the directory path (e.g., + "/local/mytransfers") where files + will be transferred TO. + + + + + + + Tells this adapter if the local directory must + be auto-created if it + doesn't exist. Default is TRUE. + + + + + + + Specify whether to delete the remote source + file after copying. + By default, the remote files will NOT be + deleted. + + + + + + + + + + + + + + + + + sftp command - ls, get or rm + + + + + + + sftp command options; for ls, -1 means just + return the file names + (otherwise file + metadata is returned, -dirs + means include directories (not included by + default), + -links means + include links (not included by default); for get, -P means + preserve + timestamp from remote file. + + + + + + + SpEL expression representing the path in the + command (e.g. ls path to + list the files in directory path). + + + + + + + + + + + + Identifies the request channel attached to this + gateway. + + + + + + + + + + + + Identifies the reply channel attached to this + gateway. + + + + + + + + + + + + Allows you to specify a reference to + [org.springframework.integration.file.filters.FileListFilter] + bean. + + + + + + + Allows you to provide file name pattern to + determine the file names retrieved by the ls command + and is based + on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" etc.) + + + + + + + Allows you to provide Regular Expression to + determine the file names retrieved by the ls command. + (e.g., + "f[o]+\.txt" etc.) + + + + + + + Identifies directory path (e.g., + "/local/mytransfers") where file will be + transferred TO. + + + + + + + Tells this adapter if local directory must be + auto-created if it + doesn''t exist. Default is TRUE. + + + + + + + Specifies the order for invocation when this + endpoint is connected as a + subscriber to a channel. This is + particularly relevant when that channel + is using a "failover" + dispatching strategy, or when a failure in the + delivery to one + subscriber should signal that + the message should not be sent to + subscribers with a higher 'order' + attribute. It has no effect when + this + endpoint itself is a Polling Consumer for a channel with a + queue. + + + + + + + + + + + + + + + Identifies the directory path (e.g., + "/temp/mytransfers") + + + + + + + Identifies the remote temporary directory path (e.g., "/remote/temp/mytransfers") + + + + + + + + + + + + Identifies channel attached to this adapter. + Depending on the type of the + adapter + this channel could be the + receiving channel (e.g., + outbound-channel-adapter) or channel + where + messages will be sent to by this adapter (e.g., + inbound-channel-adapter). + + + + + + + Allows you to specify Charset (e.g., US-ASCII, + ISO-8859-1, UTF-8). [UTF-8] is default + + + + + + + + + + + + + + + + + + + + + + + Extension used when downloading files. We + change + it right after we know it's + downloaded. + + + + + + + Allows you to provide remote file/directory + separator character. DEFAULT: + '/' + + + + + + + + + + + + Lifecycle attribute signaling if this component + should be started during + Application Context startup. + Default is + 'true' + + + + + diff --git a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-2.1.xsd b/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-2.1.xsd deleted file mode 100644 index 34cefab8c4..0000000000 --- a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-2.1.xsd +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - Configures a source that reads from stdin (System.in). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Configures an outbound Channel Adapter that writes to stdout (System.out) - or to stderr (System.err) depending on the element name. - - - - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - diff --git a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-4.1.xsd b/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-4.1.xsd index 1cac01ae39..34cefab8c4 100644 --- a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-4.1.xsd +++ b/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> - - - - - - - - - - - - Configures an inbound channel adapter that consumes your friends' timeline updates - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - - - - - Configures an inbound channel adapter that consumes mentions of your handle - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - - - - - - Configures an inbound channel adapter that consumes search results for a given query - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - Twitter search query (e.g, #springintegration). - For more info on Twitter queries please refer to this site: http://search.twitter.com/operators) - - - - - - - - - - - - Configures an inbound channel adapter that consumes direct messages from Twitter - and sends Messages whose payloads are DirectMessage objects. - - - - - - - - - - - - - - - Configures an outbound channel adapter that sends Direct Messages to a Twitter user as - specified in the header whose name is defined by the TwitterHeaders.DM_TARGET_USER_ID constant. - - - - - - - - - - - - - - Configures an outbound channel adapter that posts a status update to the authorized user's timeline. - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a TwitterTemplate bean provided by the Spring Social project. - - - - - - - Lifecycle attribute signaling whether this component should be started during Application Context startup. - Default is 'true'. - - - - - - - - - - - - Message Channel to which messages will be sent by this adapter. - - - - - - - - - - - - - - - - Reference to a TwitterTemplate bean provided by the Spring Social project. - - - - - - - - - - - - Message Channel where this adapter receives messages to be handled by performing Twitter operations. - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - diff --git a/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd b/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd index 39690a14e8..a26ca9e37c 100644 --- a/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd +++ b/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> - - - - - - - - - - - - - - - - Reference to the XPathExpression instance to be - evaluated against the input Message's payload. Either - this or 'xpath-expression' must be provided, but not - both. - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - - - - - - Specify the Converter to use when converting payloads prior to XPath evaluation. - The DefaultXmlPayloadConverter is used if this reference is not provided, and it - should be sufficient in most cases since it can convert from Node, Document, Source, - File, and String typed payloads. If you need to extend beyond the capabilities of - that default implementation, then an upstream Transformer is probably a better option - than providing a reference to a custom implementation of this strategy here. - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - - - - - - - - - - - Defines an XPath-based Message Filter. If the XPath expression will evaluate to a boolean, - no configuration attributes are required. If the XPath expression will evaluate to a String, - a "match-value" should be provided against which the evaluation result will be matched. - There are three options for the "match-type": exact, case-insensitive, and regex. These - correspond to the equals, equals-ignore-case, and matches operations on java.lang.String, - respectively. When providing a 'match-type' value of 'regex', the value provided in - 'match-value' must be a valid Regular Expression. - - - - - - - - - - The XPath expression to evaluate. - - - - - - - - Reference to an XPath expression instance to evaluate. - - - - - - - - - - - - String value to be matched against the XPath evaluation result. If this is not provided, - then the XPath evaluation MUST produce a boolean result directly. - - - - - - - Type of match to apply between the XPath evaluation result and the 'match-value'. - Default is "exact". - - - - - - - - - - - - - - - - - - - - - - - - Defines an XPath selector. - NOTE: this element is deprecated as of 2.1. Please use <xpath-filter> instead. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - representing channel names. Typically such a list - will contain a single channel name. However, based - on the result of an XPath Expression the XPath router - can also take on the characteristics of the - Recipient List Router if the XPath Expression - returns more than one value, thus resulting in - the List containing more than one channel - name. - - In that case the Message will be sent to all channels - in the list. - ]]> - - - - - - - - - - - - - - - - - Defines an XPath splitter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an XML validating filter. - - - - - - - - - Reference to a custom 'org.springframework.xml.validation.XmlValidator' strategy - - - - - - - - - - - - - - - - - - - - - - - - - - Base type for XML filters. - - - - - - - - - - - - - - - - - - - Message Channel where you want accepted messages to be sent. - - - - - - - - - - - - Message Channel where you want rejected messages to be sent. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-4.1.xsd b/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-4.1.xsd index 14db96a8c3..84da9e4c80 100644 --- a/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-4.1.xsd +++ b/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-4.1.xsd @@ -10,7 +10,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> @@ -247,7 +247,7 @@ Defines a Header Enricher Message Transformer that evaluates XPath expressions against the - message payload and inserts the result of the evaluation into a messsage header. + message payload and inserts the result of the evaluation into a message header. @@ -262,7 +262,7 @@ Specify the default boolean value for whether to overwrite existing header values. This will only take effect for sub-elements that do not provide their own 'overwrite' attribute. If the 'default-overwrite' attribute is not provided, then the specified header values will NOT - overwrite any existing ones with the same header names. + overwrite any existing ones with the same header names. @@ -274,7 +274,7 @@ Specify whether null values, such as might be returned from an expression evaluation, should be skipped. The default value is true. Set this to false if a null value should trigger removal of - the corresponding header instead. + the corresponding header instead. @@ -347,127 +347,207 @@ - + + + + + + + + + + + + + + + + + Reference to the XPathExpression instance to be + evaluated against the input Message's payload. Either + this or 'xpath-expression' must be provided, but not + both. + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + Specify the Converter to use when converting payloads prior to XPath evaluation. + The DefaultXmlPayloadConverter is used if this reference is not provided, and it + should be sufficient in most cases since it can convert from Node, Document, Source, + File, and String typed payloads. If you need to extend beyond the capabilities of + that default implementation, then an upstream Transformer is probably a better option + than providing a reference to a custom implementation of this strategy here. + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + + + + + + Defines an XPath-based Message Filter. If the XPath expression will evaluate to a boolean, + no configuration attributes are required. If the XPath expression will evaluate to a String, + a "match-value" should be provided against which the evaluation result will be matched. + There are three options for the "match-type": exact, case-insensitive, and regex. These + correspond to the equals, equals-ignore-case, and matches operations on java.lang.String, + respectively. When providing a 'match-type' value of 'regex', the value provided in + 'match-value' must be a valid Regular Expression. + + - - - Defines an XPath router. - - - - - - - - - + + + + - - - - - + + The XPath expression to evaluate. + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specify the Converter to use when converting payloads prior to XPath evaluation. - The DefaultXmlPayloadConverter is used if this reference is not provided, and it - should be sufficient in most cases since it can convert from Node, Document, Source, - File, and String typed payloads. If you need to extend beyond the capabilities of - that default implementation, then an upstream Transformer is probably a better option - than providing a reference to a custom implementation of this strategy here. - - - - - - - - - - - - - - - - - - - - - Specify whether this router should always be required to return at least one channel or name. - - - - - - - Specify whether a failure to resolve a channel name returned by this router should be ignored. - - - - - - - - - - - - + + + + + + Reference to an XPath expression instance to evaluate. + + + + + + + + + + + + String value to be matched against the XPath evaluation result. If this is not provided, + then the XPath evaluation MUST produce a boolean result directly. + + + + + + + Type of match to apply between the XPath evaluation result and the 'match-value'. + Default is "exact". + + + + + + + + + + + + + + + + Defines an XPath selector. + NOTE: this element is deprecated as of 2.1. Please use <xpath-filter> instead. - + @@ -490,17 +570,31 @@ + + + representing channel names. Typically such a list + will contain a single channel name. However, based + on the result of an XPath Expression the XPath router + can also take on the characteristics of the + Recipient List Router if the XPath Expression + returns more than one value, thus resulting in + the List containing more than one channel + name. + + In that case the Message will be sent to all channels + in the list. + ]]> + - - - Defines an XPath expression. - - - - + + @@ -542,70 +636,93 @@ - + - - - + + Defines an XML validating filter. - - - - - - - - - - - - - - - - - - - Allows you to plug-in custom 'org.springframework.xml.validation.XmlValidator' strategy - - - - - - - - - - - - - Allows you to point to a Message Channel where you want discarded messages to be sent. - - - - - - - - - - - - - - - - - - + + + + + + + + + Reference to a custom 'org.springframework.xml.validation.XmlValidator' strategy + + + + + + + + + + + + + + + + + + + + + + + Base type for XML filters. + + + + + + + + + + + + + + + + + + + Message Channel where you want accepted messages to be sent. + + + + + + + + + + + + Message Channel where you want rejected messages to be sent. + + + + + + + + + + + - + @@ -625,7 +742,7 @@ - + diff --git a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-2.1.xsd b/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-2.1.xsd deleted file mode 100644 index 8072dc6af0..0000000000 --- a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-2.1.xsd +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - - - - - - Configures an XMPP connection that can in turn be referenced by other components - - - - - - - - The user name (e.g., someuser@gmail.com) that will be used by this connection object - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is TRUE - - - - - - - The user's password - - - - - - - The host name to connect TO - - - - - - - The XMPP service name for this connection - - - - - - - The resource field specifies the XMPP resource you are using. The use of unique resources allows - you to connect to your XMPP server from multiple locations simultaneously. Resources might - - - - - - - The port on which the host is running - - - - - - - - - - - - - - - - - - - - - - Configures an endpoint that will receive chat messages sent to a given account and then forward those messages to a MessageChannel. - - - - - - - - - Specifies if generated Message payload should consist of only - the text of the XMPP message or the entire XMPP (Smack API specific) message. Default is true. - - - - - - - - - - - - Outbound Channel Adapter that sends chat messages. - - - - - - - - - - - - - Configures an endpoint that will forward Presence state changes to a MessageChannel. - - - - - - - - - - - - - Configures an endpoint that will publish an updated {@link org.jivesoftware.smack.packet.Presence} state on your {@link XMPPConnection } object. - - - - - - - - - - - - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - - - - - - - - - - - Reference to XMPP connection bean - - - - - - - Allows you to reference custom implementation of HeaderMapper. - - - - - - - - - - - - - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - - - - - - Reference to XMPP connection bean - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - Allows you to reference custom implementation of HeaderMapper. - - - - - - - - - - - - - - - Defines a Transformer for adding XMPP headers. - - - - - - - - - The id of the user you sending a message to (e.g., user@gmail.com) - - - - - - - The conversation thread id used to corelate XMPP packets as - belonging to a particular conversation - - - - - - - - Specify the default boolean value for whether to overwrite existing header values. This will only take effect for - sub-elements that do not provide their own 'overwrite' attribute. If the 'default-overwrite' attribute is not - provided, then the specified header values will NOT overwrite any existing ones with the same header names. - - - - - - - - - - - - - - - - Value of this header inside of a Message - - - - - - - Reference to a bean that contains a method that will compute the header value - - - - - - - SpEL expression that will compute the header value - - - - - - - Boolean value to indicate whether this header value should overwrite an existing header value for the same name. - - - - - - - - - - - - - - - - - - - The receiving Message channel of this endpoint - - - - - - - - - - - - Identifies the Message channel where Message will be sent after it's being processed by this endpoint - - - - - - diff --git a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd b/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd index 46c54e123d..8072dc6af0 100644 --- a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd +++ b/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.1.xsd"/> @@ -161,7 +161,7 @@ - + @@ -195,6 +195,22 @@ + + + + Allows you to reference custom implementation of HeaderMapper. + + + + + + + + @@ -236,6 +252,22 @@ + + + + Allows you to reference custom implementation of HeaderMapper. + + + + + + + +