diff --git a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd deleted file mode 100644 index f478a932ac..0000000000 --- a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd +++ /dev/null @@ -1,3016 +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 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 the output-channel after a - delay. The delay may - be - retrieved from a Message header or else fallback to the - 'default-delay' of this endpoint. - - - - - - - - - - - - - - - - - - - Specify the default delay in milliseconds. This value can be set to 0 - if the only Messages - that - should be delayed are those with a particular header (in that - case, be sure to provide - a value for the - 'delay-header-name' attribute). - - - - - - - Specify the name of the header that should contain the delay value. - This value can either - represent the number of milliseconds to delay counting from the current - time or it can be an - absolute Date until - which the Message should be delayed. - - - - - - - Provide a reference to the ScheduledExecutorService instance to which - this endpoint should - delegate when scheduling the sending of delayed Messages. If not - provided, the default - will use a thread pool of - size - 1. - - - - - - - - - - - - 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. - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 an interval-based trigger. - - - - - - - - - - - - - - - - - - - - - - Defines an cron-based trigger. - - - - - - - - - - Defines a MessageSelector chain. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Provides a MessageSelector reference. If a method attribute is set the - referred bean doesn't need - to implement the MessageSelector - interface. - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a HeaderEnricher endpoint for values defined in the MessageHeader. - - - - - - - - - - - - - - - - - Shortcut to specify value for 'replyChannel' header - - - - - - - Shortcut to specify value for 'errorChannel' header - - - - - - - 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. - - - - - - - - - - - - Literal value to be associated with the given header name. - - - - - - - Expression to be evaulated 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - 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. - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - 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 iinterceptors (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. - - - - - \ No newline at end of file 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 06dd9df5e3..f478a932ac 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 @@ -1,9 +1,8 @@ - + @@ -17,9 +16,23 @@ - Enables annotation support for Message Endpoints. + Enables annotation support for Message Endpoints. + + + + + Default output channel for the @Publisher annotation support. + + + + + + + + + @@ -28,13 +41,21 @@ Defines the ApplicationEventMulticaster to use for this ApplicationContext. - The "task-executor" reference is optional. If not provided, an + The "task-executor" + reference is optional. If not provided, an instance of ThreadPoolTaskExecutor will be created by default. + @@ -48,11 +69,11 @@ - Defines a Point-to-Point MessageChannel. + Defines a Point-to-Point MessageChannel. - + @@ -61,13 +82,40 @@ - - + + + + 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) + + - + + + + + @@ -77,18 +125,51 @@ - Defines a queue for messages. If 'capacity' is - specified, it will be a + 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. + 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). + @@ -101,19 +182,34 @@ - Defines a queue with priority-ordering for message - reception. + 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 + Defines a rendezvous queue where a sender will block until the receiver arrives or vice-versa. @@ -122,33 +218,37 @@ - Defines the dispatching configuration for a non-buffering channel - (i.e. one without a queue). + 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. + + - - - Defines a load-balancing strategy for the channel's dispatcher. - The default is a round-robin load balancer. - - - [DEFAULT] Defines a Round Robin dispatching strategy which allows for - load balancing of messages between multiple Message Handlers. Which message - handler receives the message first is determined by the 'order' attribute - of such Message Handler. + [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. + No LoadBalancingStrategy will be used. @@ -158,24 +258,34 @@ - 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). + 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). @@ -189,12 +299,12 @@ - Defines a Publish-Subscribe channel that - broadcasts messages to its subscribers. + Defines a Publish-Subscribe channel that broadcasts messages to its + subscribers. - + @@ -202,25 +312,46 @@ - + + + + + + + + - + + + + - + @@ -228,15 +359,17 @@ - Specify whether Exceptions thrown by any subscribed handler should be ignored (only logged). + 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. + Specify whether the sequence size, sequence number, and correlation id + headers should be set on + Messages that are sent through this channel. @@ -245,50 +378,40 @@ - - - - Defines a channel that maintains its Messages on a thread-bound queue. - - - - - - - - - - - - - - - - - - - Defines a message channel. + Defines a message channel. - + + + + + + + + - - + - This attribute is DEPRECATED. Please use the dispatcher sub-element instead. + 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. + Enables failover, but disables load-balancing. + See the dispatcher sub-element for more + information. @@ -298,15 +421,110 @@ + + + Defines a Messaging Gateway. + + - - - Defines a Messaging Gateway. - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -316,44 +534,183 @@ + + + - + + + + - + - - + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + - Defines a Channel Adapter that receives from a - MessageSource and sends to a + 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 from a MessageChannel and sends to - a method-invoking MessageHandler. + Defines a Channel Adapter that receives from a MessageChannel and passes to + a method-invoking + MessageHandler. @@ -363,7 +720,9 @@ Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. +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. @@ -393,11 +752,24 @@ + + + + + @@ -406,59 +778,116 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + 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 + 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. + + + + + + @@ -467,80 +896,31 @@ Base type for Message-handling endpoints. - - - - - - - - - - - - - - - - - - - - Base type for Message Endpoint elements that - accept Messages from an - input-channel - and also may produce reply - Messages to be sent to an output-channel. - - - - - - - - - - - - - - - - - - - - - Base type for Message Endpoint elements that accept Messages from an - input-channel. - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + 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 + + + @@ -558,9 +938,24 @@ + + 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 + - @@ -568,70 +963,93 @@ - 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. + Defines an endpoint that passes a Message to the output-channel after a + delay. The delay may + be + retrieved from a Message header or else fallback to the + 'default-delay' of this endpoint. - - - - - - - - Specify the default delay in milliseconds. This value can be set to 0 if the only Messages - that should be delayed are those with a particular header (in that case, be sure to provide - a value for the 'delay-header-name' attribute). - - - - - - - Specify the name of the header that should contain the delay value. This value can either - represent the number of milliseconds to delay counting from the current time or it can be an - absolute Date until which the Message should be delayed. - - - - - - - Provide a reference to the ScheduledExecutorService instance to which this endpoint should - delegate when scheduling the sending of delayed Messages. If not provided, the default - will use a thread pool of size 1. - - - - - - - - - - - - Specify the maximum amount of time in milliseconds to wait when sending the released - Messages (after delay) to the output channel. By default the send will block indefinitely. - - - - - - - Specify whether tasks should be able to complete on shutdown. By default this is 'false'. - - - + + + + + + + + + + Specify the default delay in milliseconds. This value can be set to 0 + if the only Messages + that + should be delayed are those with a particular header (in that + case, be sure to provide + a value for the + 'delay-header-name' attribute). + + + + + + + Specify the name of the header that should contain the delay value. + This value can either + represent the number of milliseconds to delay counting from the current + time or it can be an + absolute Date until + which the Message should be delayed. + + + + + + + Provide a reference to the ScheduledExecutorService instance to which + this endpoint should + delegate when scheduling the sending of delayed Messages. If not + provided, the default + will use a thread pool of + size + 1. + + + + + + + + + + + + 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'. + + + + + @@ -641,26 +1059,11 @@ - - - - - - - - - - - - - - - - - + + + + + @@ -673,26 +1076,46 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -703,21 +1126,12 @@ - + - - - - - - - - @@ -726,37 +1140,106 @@ - - + + + + 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + 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. + + + + + + + + + + + - @@ -767,6 +1250,15 @@ + + + + + @@ -777,8 +1269,7 @@ - + - + @@ -836,215 +1327,668 @@ - - - - Provides a MessageSelector reference. If a method - attribute is set the - referred bean doesn't need to implement the - MessageSelector - interface. - - - - - - - - - - - Defines a HeaderEnricher endpoint for values - defined in the MessageHeaders. - - - - - - - + + - + - Defines a Message Header value or ref. + Provides a MessageSelector reference. If a method attribute is set the + referred bean doesn't need + to implement the MessageSelector + interface. - - - + + + + + + + + + + + + + + + + + + - + - Provides the names of the standard configurable - MessageHeaders. + Defines a HeaderEnricher endpoint for values defined in the MessageHeader. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a ThreadPoolTaskExecutor. - - - - - - - - Specifies the maximum pool size in order to - limit the number of concurrent - tasks. - Otherwise, the default will be - Integer.MAX_VALUE. - - - - - - - - - - - - - - - - - - + + + + + - + + + + + + Shortcut to specify value for 'replyChannel' header + + + + + + + Shortcut to specify value for 'errorChannel' header + + + + + + + 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. + + + + + + + + + + + + Literal value to be associated with the given header name. + + + + + + + Expression to be evaulated 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 serializes any Object - payload that implements - Serializable into a byte array. - - - - - - - - - - - - - - - - - - Defines a Transformer that deserializes a byte - array payload into an - Object. - - - - - - - - - - - - - - - - - - Defines a Filter. + Defines a 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 + + + + + + + @@ -1057,27 +2001,27 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + 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. + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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. + + + + + + + @@ -1176,170 +2266,342 @@ - + + + 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. + + + - - - - - + + + + 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. + + + - + 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. + + - - - Defines an aggregating message endpoint. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + A SpEL expression to be evaluated against the input message list as its root object. + + + + + + + + + + + + + + + + + + + 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. + + - - - Defines a resequencing message endpoint. - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - Defines a completion strategy. - - - - - - + + + + + + + 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, + 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. + + + + @@ -1350,39 +2612,50 @@ 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 + + + - + - + - @@ -1400,8 +2673,7 @@ - @@ -1422,8 +2694,7 @@ ]]> - + - + - - - - + + + + + + + + + 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 iinterceptors (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. + + + + \ No newline at end of file diff --git a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-2.0.xsd b/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd similarity index 100% rename from spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-2.0.xsd rename to spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd diff --git a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-2.0.xsd b/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd similarity index 100% rename from spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-2.0.xsd rename to spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd diff --git a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd deleted file mode 100644 index bd699e9075..0000000000 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd +++ /dev/null @@ -1,436 +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 3753122ea1..bd699e9075 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 @@ -1,67 +1,135 @@ + 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/file" + elementFormDefault="qualified" + attributeFormDefault="unqualified"> - - - + + - - + - + - - - - Configures an inbound Channel Adapter that polls a directory and sends - Messages whose payloads are instances of java.io.File. - - - - - - - - - - - - - - - - - - - - + + + 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. + ]]> + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - 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. - - - - - + + + + + + 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Configures an outbound Channel Adapter that writes Message payloads to a File. + 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'"); - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + Extension used when uploading files. We change it after we know it's uploaded. + + + + + + - - - - - + + + + - - - - - - Specify whether to automatically create the destination 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. - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - Creates a Transformer that converts a File payload to a String. - - - - - - - - - + + + + Creates a Transformer that converts a File payload to a String. + + + + + + + + + + + + + + + + - - - - - Creates a Transformer that converts a File payload to an array of bytes. - - - - - - - + + + + Creates a Transformer that converts a File payload to an array of bytes. + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.0.xsd b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd similarity index 100% rename from spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-2.0.xsd rename to spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd diff --git a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-2.0.xsd b/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd similarity index 100% rename from spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-2.0.xsd rename to spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd diff --git a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-2.0.xsd b/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-2.0.xsd deleted file mode 100644 index e224b46c1d..0000000000 --- a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-2.0.xsd +++ /dev/null @@ -1,537 +0,0 @@ - - - - - - - - - - - - - - - Defines an inbound HTTP-based Channel Adapter. - - - - - - - - - - - - - - - - - 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). - - - - - - - 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. - - - - - - - - - - - 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). - - - - - - - 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 c2ad1310bf..e224b46c1d 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 @@ -1,14 +1,11 @@ - + - - + + - Defines an inbound HTTP-based Channel Adapter. + Defines an inbound HTTP-based Channel Adapter. - - + + - + - - - + + + + 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). + + + + + + + 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. + + + + - + - + + + + + + - + - - + @@ -62,66 +111,347 @@ - Defines an inbound HTTP-based Messaging Gateway. + Defines an inbound HTTP-based Messaging Gateway. - - - - + + + + + + + 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). + + + + + + + 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. + 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. + + + + + + + + + + + + + + + + + + + + + + + + + @@ -129,29 +459,65 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Defines common configuration for gateway adapters. + Defines common configuration for gateway adapters. - + - + @@ -160,12 +526,12 @@ - + - + \ No newline at end of file diff --git a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-2.0.xsd b/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd similarity index 100% rename from spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-2.0.xsd rename to spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd diff --git a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.0.xsd b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd similarity index 100% rename from spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-2.0.xsd rename to spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd diff --git a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-2.0.xsd b/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-2.0.xsd deleted file mode 100644 index 2307262b51..0000000000 --- a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-2.0.xsd +++ /dev/null @@ -1,1074 +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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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). - - - - - - - - - - - - - - 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). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 a066b27b98..2307262b51 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.0.xsd"/> + + + + 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -30,6 +355,11 @@ + + 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). + @@ -38,20 +368,20 @@ + + + + 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. + + + - - - - - - - - - - + @@ -67,6 +397,22 @@ + + + + + + + + + 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. + + + @@ -78,7 +424,11 @@ + + + + @@ -99,6 +449,11 @@ + + 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). + @@ -107,11 +462,12 @@ + - + @@ -126,6 +482,14 @@ + + + + Timeout for receive calls on the template. + NOTE: for JmsTemplate, 0 means indefinite while -1 means no-wait. + + + @@ -151,6 +515,11 @@ + + 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). + @@ -159,8 +528,14 @@ + + + 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). + @@ -170,13 +545,19 @@ - + - - - - - + @@ -185,6 +566,9 @@ + + Allows to specify custom implementation of JmsHeaderMapper to map Message Headers to JMS Message. + @@ -194,13 +578,40 @@ - + + + + + + + + + + + + + + + + + + + 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. + + + @@ -212,8 +623,16 @@ + + + + + + + + @@ -234,7 +653,7 @@ - + @@ -243,15 +662,32 @@ - + - - + + + + 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). + @@ -260,8 +696,14 @@ + + + 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). + @@ -270,6 +712,22 @@ + + + + + + @@ -279,7 +737,6 @@ - @@ -291,6 +748,10 @@ + @@ -304,15 +765,35 @@ + + 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. + + + + @@ -339,6 +820,11 @@ + + 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). + @@ -347,11 +833,12 @@ + - + @@ -375,6 +862,18 @@ + + + + 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. + + + + + + - + + + + + A JMS Message Selector expression. + + + @@ -446,14 +952,62 @@ - - - + + + + + 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. + + + + + + + + @@ -479,7 +1033,19 @@ - + + + + + + + + + + @@ -489,7 +1055,7 @@ - + @@ -498,7 +1064,7 @@ - + diff --git a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-2.0.xsd b/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd similarity index 100% rename from spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-2.0.xsd rename to spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd diff --git a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.0.xsd b/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.0.xsd deleted file mode 100644 index 2d62b09609..0000000000 --- a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-2.0.xsd +++ /dev/null @@ -1,337 +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. - - - - - - - - - [DEPRECATED as of 2.0.5] - - - - - - - - - - - - - - - - - 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 2b3c99c3df..2d62b09609 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.0.xsd"/> + + + - + @@ -59,90 +62,188 @@ + + + + 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + [DEPRECATED as of 2.0.5] + + + + + + + + + + + + + + + + + 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. + + + + + @@ -167,25 +268,57 @@ - - - - - - - + + + + + + + + + + + + + + + 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. + + + + + + + + - + @@ -194,7 +327,7 @@ - + diff --git a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-2.0.xsd b/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-2.0.xsd deleted file mode 100644 index 8eeadc08fc..0000000000 --- a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-2.0.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 a72dd2615f..8eeadc08fc 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.0.xsd"/> + + + + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. + + + @@ -77,7 +85,7 @@ - + @@ -86,7 +94,7 @@ - + diff --git a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-2.0.xsd b/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-2.0.xsd deleted file mode 100644 index 1fde07d437..0000000000 --- a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-2.0.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-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-4.1.xsd b/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-4.1.xsd index 4158b84ceb..1fde07d437 100644 --- a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-4.1.xsd +++ b/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-4.1.xsd @@ -23,7 +23,7 @@ - + @@ -32,7 +32,7 @@ - + diff --git a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.0.xsd b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd similarity index 100% rename from spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-2.0.xsd rename to spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd diff --git a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-2.0.xsd b/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-2.0.xsd deleted file mode 100644 index 1cac01ae39..0000000000 --- a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-2.0.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 0fbda8a059..1cac01ae39 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.0.xsd"/> - + @@ -60,7 +60,7 @@ - + @@ -68,6 +68,14 @@ + + + + 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-2.0.xsd b/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd similarity index 100% rename from spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-2.0.xsd rename to spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd diff --git a/spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-2.0.xsd b/spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-2.0.xsd deleted file mode 100644 index 8e1ffdfcc8..0000000000 --- a/spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-2.0.xsd +++ /dev/null @@ -1,349 +0,0 @@ - - - - - - - - - - - - - - - - Defines a Web Service based outbound Messaging Gateway. - - - - - - - - - A unique identifier for this Gateway. - - - - - - - The channel where Messages should be sent to invoke the Web Service. - - - - - - - - - - - - The channel where Messages created from the Web Service responses will be sent. - This is optional. However, if non-empty responses are expected and this is not set, - then the request Messages must contain a REPLY_CHANNEL header. - - - - - - - - - - - - The Destination URI for this Web Service Gateway. If the URI should be determined at runtime - (e.g. registry lookup), then configure a 'destination-provider' reference instead. - - - - - - - Reference to a DestinationProvider implementation. Either provide this or a 'uri', never both. - See org.springframework.ws.client.support.destination.DestinationProvider for more detail. - - - - - - - - - - - - Reference to a Spring OXM Mashaller. If the Marshaller instance also implements - the Unmarshaller interface, then the 'unmarshaller' attribute is not required. - - - - - - - - - - - - Reference to a Spring OXM Unmarshaller. - - - - - - - - - - - - - - - - - Reference to a Spring Web Services SourceExtractor. - - - - - - - - - - - - Reference to a Spring Web Services WebServiceMessageCallback. This enables changing - the Web Service request message after the payload has been written to it but prior - to invocation of the actual Web Service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to the bean definition of a WebServiceMessageSender. - - - - - - - - - - - - Reference to the bean definition for a list or array of WebServiceMessageSenders. - - - - - - - Reference to the bean definition of a ClientInterceptor. - - - - - - - - - - - - Reference to the bean definition for a list or array of ClientInterceptors. - - - - - - - - - - - - - Defines a Web Service based inbound Messaging Gateway. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an error-channel is specified, - the MessagingException will be sent to this channel. - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a HeaderMapper<SoapHeader> implementation - that this gateway will use to map between Spring Integration - MessageHeaders and the SoapHeader. This strategy can only be - applied when a 'marshaller' is not being configured. - - - - - - - - - - - - - - - - Defines a Transformer for adding a SOAP Action value. - - - - - - - - - - - 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-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-4.1.xsd b/spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-4.1.xsd index fe50202862..8e1ffdfcc8 100644 --- a/spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-4.1.xsd +++ b/spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-2.0.xsd"/> - + @@ -57,7 +57,7 @@ - + @@ -215,7 +215,7 @@ - + @@ -224,11 +224,24 @@ - + + + + + + + + + + If a (synchronous) downstream exception is thrown and an error-channel is specified, + the MessagingException will be sent to this channel. + + + @@ -248,7 +261,89 @@ + + + + Reference to a HeaderMapper<SoapHeader> implementation + that this gateway will use to map between Spring Integration + MessageHeaders and the SoapHeader. This strategy can only be + applied when a 'marshaller' is not being configured. + + + + + + + + + + + + + Defines a Transformer for adding a SOAP Action value. + + + + + + + + + + + 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-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.0.xsd b/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.0.xsd deleted file mode 100644 index 14db96a8c3..0000000000 --- a/spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-2.0.xsd +++ /dev/null @@ -1,635 +0,0 @@ - - - - - - - - - - Defines the configuration elements for Spring Integration's XML support. - - - - - - - - Defines an XML marshalling transformer. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specify whether to extract the payload before passing to the Marshaller. By default, this - value is "true". To have the full Message passed instead, set this to "false". - - - - - - - - - - - - - Defines an XML unmarshalling transformer. - - - - - - - - - - - - - - - - - - - - - - - Defines an XSLT transformer. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an XPath transformer. - - - - - - - - The XPath expression string to be evaluated against the input Message's payload. - Either this or 'xpath-expression-ref' must be provided, but not both. - - - - - - - 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. - - - - - - - - - - - - The result type expected from the XPath evaluation. This will be the payload type of the output Message. - - - - - - - - - - - - - - - - Reference to a NodeMapper. If this is provided, the 'evaluation-type' will be ignored. Instead, the - org.springframework.xml.xpath.XPathExpression's evaluateAsObject(Node node, NodeMapper nodeMapper) - method will be invoked. - - - - - - - - - - - - Specify the XmlPayloadConverter to use when converting a Message payload 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 a Header Enricher Message Transformer that evaluates XPath expressions against the - message payload and inserts the result of the evaluation into a messsage header. - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - Defines an XPath expression to be configured within an <xpath-header-enricher/> element. - - - - - - The name of the header to be enriched. - - - - - - - The XPath Expression as a String. Either this or 'xpath-expression-ref' must be provided, but not both. - - - - - - - The XPath Expression reference. Either this or 'xpath-expression' must be provided, but not both. - - - - - - - - - - - - The result type expected from the XPath evaluation. This will be the type of the header value. - - - - - - - - - - - - - - - - Boolean value to indicate whether this header value should overwrite an existing header value - for the same name if already present on the input Message. - - - - - - - - - - - - - Defines an XPath router. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - Defines an XPath selector. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an XPath expression. - - - - - - - - - - - - - - - - - Defines an XPath splitter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 9be36154a7..14db96a8c3 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.0.xsd"/> @@ -62,6 +62,14 @@ + + + + Specify whether to extract the payload before passing to the Marshaller. By default, this + value is "true". To have the full Message passed instead, set this to "false". + + + @@ -99,6 +107,10 @@ + + + + @@ -149,6 +161,192 @@ + + + + + Defines an XPath transformer. + + + + + + + + The XPath expression string to be evaluated against the input Message's payload. + Either this or 'xpath-expression-ref' must be provided, but not both. + + + + + + + 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. + + + + + + + + + + + + The result type expected from the XPath evaluation. This will be the payload type of the output Message. + + + + + + + + + + + + + + + + Reference to a NodeMapper. If this is provided, the 'evaluation-type' will be ignored. Instead, the + org.springframework.xml.xpath.XPathExpression's evaluateAsObject(Node node, NodeMapper nodeMapper) + method will be invoked. + + + + + + + + + + + + Specify the XmlPayloadConverter to use when converting a Message payload 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 a Header Enricher Message Transformer that evaluates XPath expressions against the + message payload and inserts the result of the evaluation into a messsage header. + + + + + + + + + + + + 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. + + + + + + + + + + + + + + + Defines an XPath expression to be configured within an <xpath-header-enricher/> element. + + + + + + The name of the header to be enriched. + + + + + + + The XPath Expression as a String. Either this or 'xpath-expression-ref' must be provided, but not both. + + + + + + + The XPath Expression reference. Either this or 'xpath-expression' must be provided, but not both. + + + + + + + + + + + + The result type expected from the XPath evaluation. This will be the type of the header value. + + + + + + + + + + + + + + + + Boolean value to indicate whether this header value should overwrite an existing header value + for the same name if already present on the input Message. + + + + + + + + @@ -159,13 +357,40 @@ + + + + + + + + + + + + + + - + + + + + + - + @@ -179,23 +404,52 @@ - - + + + 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. + + + + type="org.springframework.integration.MessageChannel" /> @@ -213,7 +467,7 @@ - + @@ -245,7 +499,7 @@ - + @@ -289,38 +543,52 @@ - + - Defines a validating router. + 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. + + + + + + + + + @@ -329,6 +597,7 @@ + @@ -336,12 +605,12 @@ - + - + @@ -350,11 +619,17 @@ - + + + + + + + \ No newline at end of file diff --git a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-2.0.xsd b/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd similarity index 100% rename from spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-2.0.xsd rename to spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd