diff --git a/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-3.0.xsd b/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-3.0.xsd deleted file mode 100644 index b50c01db43..0000000000 --- a/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-3.0.xsd +++ /dev/null @@ -1,797 +0,0 @@ - - - - - - - - - - - Configures an endpoint that will publish an AMQP Message to the provided Exchange. - - - - - - - - - Unique ID for this adapter. - - - - - - - Message Channel to which Messages should be sent in order to have them converted and published to an AMQP Exchange. - If this attribute is not provided, the ID will be used to create a new DirectChannel, and then instead of using that - ID as the bean name of the EventDrivenConsumer instance that hosts the MessageHandler responsible for publishing the - AMQP Messages, that EventDrivenConsumer's bean name will be the ID plus the added suffix: ".adapter" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Configures an endpoint that will receive AMQP Messages sent to a given queue and then forward those messages to a Message Channel. - - - - - - - - - Message Channel to which converted Messages should be sent. If this attribute is not provided, the ID will - be used to create a new DirectChannel, and then instead of using that ID as the bean name of the Channel Adapter - instance, the bean name will be the ID plus the added suffix: ".adapter" - - - - - - - - - - - - - - - - - Configures a gateway that will publish an AMQP Message to the provided Exchange - and expect a reply Message. - - - - - - - - - Unique ID for this gateway. - - - - - - - Message Channel to which Messages should be sent in order to have them converted and published to an AMQP Exchange. - - - - - - - - - - - - Message Channel to which replies should be sent after being received from an AQMP Queue and converted. - - - - - - - - - - - - - - - - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'true' by default, and a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - Configures a gateway that will receive AMQP Messages sent to a given queue and then forward those messages to a Message Channel. - If a reply Message is returned, it will also send that to the 'replyTo' provide by the AMQP request Message. - - - - - - - - - Message Channel to which converted Messages should be sent. - - - - - - - - - - - - Message Channel where reply Messages will be expected. - - - - - - - - - - - - - - - - - - - - - - Creates a point-to-point channel that is backed by an AMQP Queue. - - - - - - - - - Indicate whether this channel should be message-driven (subscribable) or not (pollable). - - - - - - - Provide an explicitly configured queue name. If this is not provided, then a Queue will be created - implicitly with the same name as the channel itself (the "id" of this element). If this channel is - not message-driven, the implicit creation will require that either an AmqpAdmin instance has been - provided via the "amqp-admin" attribute or that the configured AmqpTemplate is an instance of RabbitTemplate. - If the channel is message-driven, the AmqpAdmin will be created using the underlying listener container's - ConnectionFactory. - - - - - - - An AmqpAdmin instance to use when declaring a Queue implicitly. This is only needed if an explicit - "queue-name" is not provided and the channel is not message-driven. Even then, if the referenced - AmqpTemplate is an instance of RabbitTemplate, the AmqpAdmin can be constructed from that template's - ConnectionFactory. - - - - - - - - - - - - - - - - - Creates a publish-subscribe-channel that is backed by an AMQP FanoutExchange. - Always message-driven (subscribable). - - - - - - - - - Reference to a FanoutExchange instance to which this channel should send Messages. If not provided, - a FanoutExchange will be declared with this channel's name prefixed by "si.fanout.". - A Queue will be declared automatically and bound to that exchange to handle the consumer role - of this channel. - - - - - - - - - - - - - - - - - Base type for 'channel' and 'publish-subscribe-channel'. - - - - - - - - - - - - - Unique ID for this Message Channel. - - - - - - - - - - - Base type for the 'outbound-channel-adapter' and 'outbound-gateway' elements. - - - - - - - - -The fixed name of the AMQP Exchange to which Messages should be sent. If not provided, Messages will be sent to the default, no-name Exchange. - - - - - - -The exchange name to use when sending Messages evaluated as an expression on the message (e.g. 'headers.exchange'). By default, this will be an emtpy String. - - - - - - -The fixed routing-key to use when sending Messages. By default, this will be an empty String. - - - - - - -The routing-key to use when sending Messages evaluated as an expression on the message (e.g. 'payload.key'). By default, this will be an empty String. - - - - - - - - - - - - - - - -The order for this consumer when multiple consumers are registered thereby enabling load-balancing and/or failover. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Base type for the 'inbound-channel-adapter' and 'inbound-gateway' elements. - - - - - - Unique ID for this adapter. - - - - - - - - Message Channel to which error Messages should be sent. - - - - - - - - - - - - - - - - - - - - - - - - - - - MessageConverter to use when receiving AMQP Messages. - - - - - - - - - - - - (or @Bean) syntax. You cannot use the XML namespace support because it requires - attributes such as queue names to be specified on a child element and, as stated above, the - container must not have a MessageListener defined. - ]]> - - - - - - - - - - - Names of the AMQP Queues from which Messages should be consumed (comma-separated list). - - - - - - - - - - - - - - - - - - - - - - - - - - Flag to indicate that channels created by this component will be transactional. - - - - - - - Reference to the Rabbit ConnectionFactory to be used by this component. - - - - - - - - - - - - MessagePropertiesConverter to use when receiving AMQP Messages. - - - - - - - - - - - - - - Attributes for a RabbitTemplate. This does not include the exchange, queue, or routingKey properties - since those may or may not be exposed for configuration depending on what type of component uses this - attribute group. This group also does not include any of the properties that are shared with the - SimpleMessageListenerContainer, such as channelTransacted, connectionFactory, and messagePropertiesConverter. - - - - - - The encoding to use when converting between byte arrays and Strings in message properties. - - - - - - - Reference to a MessageConverter to be used by this RabbitTemplate. - - - - - - - - - - - - - - Attributes for a SimpleMesssageListenerContainer's properties other than queues, queueNames, messageListener, and - autoStartup which may or may not be exposed for configuration depending on what type of component uses this attribute group. - This group also does not include any of the properties that are shared with RabbitTemplate, such as channelTransacted, - connectionFactory, and messsagePropertiesConverter. - - - - - - Acknowledge Mode for the MessageListenerContainer. - - - - - - - - - - - - - - - - - - Array of AOP Advice instances to be applied to the MessageListener. - - - - - - - - Specify the number of concurrent consumers to create. Default is 1. - Raising the number of concurrent consumers is recommended in order to scale the consumption of messages coming in - from a queue. However, note that any ordering guarantees are lost once multiple consumers are registered. In - general, stick with 1 consumer for low-volume queues. - - - - - - - ErrorHandler to be configured on the underlying MessageListener container. - - - - - - - - - - - - - Set whether to expose the listener Rabbit Channel to a registered ChannelAwareMessageListener as well as - to RabbitTemplate calls. - - - - - - - - - Specifies how many messages to send to each consumer in a single request. Often this can be set quite high - to improve throughput. It should be greater than or equal to the tx-size value. - - - - - - - - - The timeout for each attempt by a consumer to receive the next message. - - - - - - - - - The interval between recovery attempts, in milliseconds. The default is 5000 ms, that is, 5 seconds. - - - - - - - - - The time to wait for workers in milliseconds after the container is stopped, and before the connection is forced closed. - - - - - - - - - Reference to the Executor to be used for running Consumer threads. - - - - - - - - - - - - The TransactionAttribute to use when the Consumer receives the AMQP Message and the Listener is invoked - within a transaction. This is only applicable when a TransactionManager has been configured. - - - - - - - - - - - - The PlatformTransactionManager to use when the Consumer receives the AMQP Message and the Listener is invoked. - - - - - - - - - - - - How many messages to process in a single transaction (if the channel is transactional). For best results it should be - less than or equal to the prefetch count. - - - - - - - - diff --git a/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.1.xsd b/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.1.xsd index 3aef53319f..b50c01db43 100644 --- a/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.1.xsd +++ b/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.1.xsd @@ -9,7 +9,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd"/> @@ -38,7 +38,7 @@ + type="org.springframework.messaging.MessageChannel" /> @@ -65,7 +65,7 @@ ]]> - + @@ -81,7 +81,7 @@ ]]> - + @@ -109,7 +109,7 @@ - + @@ -144,7 +144,7 @@ + type="org.springframework.messaging.MessageChannel"/> @@ -157,7 +157,7 @@ + type="org.springframework.messaging.MessageChannel"/> @@ -193,9 +193,21 @@ which itself is a Map. This can only be provided if the 'header-mapper' reference is not being set directly. The values in this list can also be simple patterns to be matched against the header names (e.g. "foo*" or "*foo"). + A special token 'STANDARD_REPLY_HEADERS' represents all the standard AMQP headers (replyTo, correlationId etc); + it is included by default. If you wish to add your own headers, you must also include this token if you wish the + standard headers to also be mapped. ]]> + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'true' by default, and a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + @@ -218,7 +230,7 @@ - + @@ -230,7 +242,7 @@ - + @@ -243,6 +255,9 @@ which itself is a Map. This can only be provided if the 'header-mapper' reference is not being set directly. The values in this list can also be simple patterns to be matched against the header names (e.g. "foo*" or "*foo"). + A special token 'STANDARD_REPLY_HEADERS' represents all the standard AMQP headers (replyTo, correlationId etc); + it is included by default. If you wish to add your own headers, you must also include this token if you wish the + standard headers to also be mapped. ]]> @@ -351,14 +366,6 @@ - - - - Flag to indicate whether this Message Channel should start automatically. - This only applies to a message-driven channel. Default is true. - - - @@ -418,9 +425,15 @@ The order for this consumer when multiple consumers are registered thereby enabl + - + @@ -431,6 +444,9 @@ The order for this consumer when multiple consumers are registered thereby enabl Comma-separated list of names of AMQP Headers to be mapped from the AMQP request into the MessageHeaders. This can only be provided if the 'header-mapper' reference is not being set directly. The values in this list can also be simple patterns to be matched against the header names (e.g. "foo*" or "*foo"). +A special token 'STANDARD_REQUEST_HEADERS' represents all the standard AMQP headers (replyTo, correlationId etc); +it is included by default. If you wish to add your own headers, you must also include this token if you wish the +standard headers to also be mapped. ]]> @@ -443,7 +459,7 @@ property set to TRUE. ]]> - + @@ -471,16 +487,22 @@ property set to TRUE. - + + - + @@ -491,6 +513,9 @@ property set to TRUE. Comma-separated list of names of AMQP Headers to be mapped from the AMQP request into the MessageHeaders. This can only be provided if the 'header-mapper' reference is not being set directly. The values in this list can also be simple patterns to be matched against the header names (e.g. "foo*" or "*foo"). +A special token 'STANDARD_REQUEST_HEADERS' represents all the standard AMQP headers (replyTo, correlationId etc); +it is included by default. If you wish to add your own headers, you must also include this token if you wish the +standard headers to also be mapped. ]]> @@ -533,13 +558,6 @@ this list can also be simple patterns to be matched against the header names (e. - - - - - @@ -689,15 +707,6 @@ this list can also be simple patterns to be matched against the header names (e. - - - - - The lifeycle phase determining the start/stop order of the underlying listener container. - - - - @@ -782,6 +791,7 @@ this list can also be simple patterns to be matched against the header names (e. + diff --git a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-3.0.xsd b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-3.0.xsd deleted file mode 100644 index 2a5e09e21d..0000000000 --- a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-3.0.xsd +++ /dev/null @@ -1,4172 +0,0 @@ - - - - - - - - - - - - - - Enables annotation support for Message Endpoints. - - - - - - - Default output channel for the @Publisher annotation support. - - - - - - - - - - - - - - - Allows you to configure org.springframework.integration.transaction.DefaultTransactionSynchronizationFactory - This implementation of org.springframework.integration.transaction.TransactionSynchronizationFactory - allows you to configure SpEL expressions, with their execution being coordinated (synchronized) with a - transaction - see {TransactionSynchronization}. Expressions for before-commit, after.-commit, and after-rollback - are supported, together with a channel for each where the evaluation result (if any) will be sent. - For each sub-element you can specify 'expression' and/or 'channel' attributes. - If only the 'channel' attribute is present the received Message will be sent there as part of a particular synchronization scenario. - If only the 'expression' attribute is present and the result of an expression is a non-Null value, a Message with the - result as the payload will be generated and sent to a default channel (NullChannel) and will appear in the logs. - If you want the evaluation result to go to a specific channel add a 'channel' attribute. If the result of an expression is null - or void, no Message will be generated. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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). - - - - - - - - - - - A reference to a bean that implements the 'org.springframework.integration.dispatcher.LoadBalancingStrategy'. - This attribute is mutually exclusive with 'load-balancer'. - - - - - - - Defines a load-balancing strategy for the channel's dispatcher. - The default is a round-robin load balancer. - This attribute is mutually exclusive with 'load-balancer-ref'. - - - - - - - - [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. - - - - - - - - - - - - - - - - - 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. - Note, when using the 'expression' attribute, or 'expression' or 'script' sub-element, - there is not yet a root Message object and therefore - the 'payload' and 'headers' properties are not available in the expression or script. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Maximum amount of time in milliseconds to wait when sending a message to the channel if such channel may block. - For example, a Queue Channel can block until space is available if its maximum capacity has been reached. - - - - - - - - - - Defines a Channel Adapter that receives Resource(s) and sends them to a - MessageChannel identified via 'channel' attribute. - - - - - - - - - - - - Component identifier - - - - - - - Channel where Message will be sent to - - - - - - - Reference to the implementation of org.springframework.integration.util.CollectionFilter. - - - - - - - - - - - - Location pattern expression (e.g., "/**/*.txt") - - - - - - - - Reference to a org.springframework.core.io.support.ResourcePatternResolver. - - - - - - - Maximum amount of time in milliseconds to wait when sending a message to the channel if such channel may block. - For example, a Queue Channel can block until space is available if its maximum capacity has been reached. - - - - - - - - - - - Defines a Channel Adapter that receives from a MessageChannel and passes to - a method-invoking - MessageHandler. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Provide a name for the logger. This is useful when there are multiple logging Channel Adapters configured, - and you would like to differentiate them within the actual log. By default the logger name will be the - fully qualified class name of the LoggingHandler implementation. - - - - - - - - - - - - - - - - - - - - - - - - - A reference to a bean defined in the application context. - - - - - - - - - - - - A method defined on the bean referenced by 'ref' attribute - - - - - - - SpEL expression to be evaluated for each triggered execution. - The result of the evaluation will be - passed as the payload of - the Message that is sent to the MessageChannel. - - - - - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - 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 ReplyRequiredException will be thrown when - the underlying service method (or expression) returns a null value. - - - - - - - - - - - Base type for Message-handling endpoints. - - - - - - 'id' value: - - Identifies the underlying Spring bean definition (AbstractEndpoint) - - as MessageHandler bean alias together with suffix '.handler' - - - - - - - - - - - - A reference to a bean that implements the handler. - The bean can be an implementation of the MessageHandler interface or a POJO - - - - - - - - - - - - A method defined on the bean referenced by 'ref' attribute - - - - - - - - - Base type for Message Handlers. - - - - - - - - - - - - - A reference to a bean that implements the handler. - The bean can be an implementation of the MessageHandler interface or a POJO - - - - - - - - - - - - A method defined on the bean referenced by 'ref' attribute - - - - - - - - - - - Defines an endpoint that passes a Message to its request-channel - and then expects a reply Message. The reply Message then becomes - the root object for evaluation of expressions to enrich the - target payload. - - - - - - - - - - - - - - - - - - Each property sub-element provides the name of a property (via the required 'name' attribute). - That property should be settable on the target payload instance. Exactly one of the 'value' - or 'expression' attributes must be provided as well. The former for a literal value to set, - and the latter for a SpEL expression to be evaluated. The root object of the evaluation - context is the Message that was returned from the flow initiated by this enricher. - - - - - - - Each header sub-element provides the name of a message header (via the required 'name' attribute). - Exactly one of the 'value' or 'expression' attributes must be provided as well. - The former for a literal value to set, and the latter for a SpEL expression to be evaluated. - The root object of the evaluation context is the Message that was returned from the flow initiated - by this enricher. - - - - - - - - - Boolean value to indicate whether this header value should overwrite an - existing header value. Unlike the Header Enricher, this attribute is 'true' - by default, similar to the 'property' attribute. - - - - - - - - - - The fully qualified class name of the header value's expected type. - - - - - - - - - - - - - Channel to which a Message will be sent to get the data to use - for enrichment. This attribute is optional. Not specifying a - 'request-channel' is useful in situations, where only static - values shall be used for enrichment using the 'property' - sub-element. - - - - - - - - - - - - Channel where a reply Message is expected. This is optional; typically the auto-generated - temporary reply channel is sufficient. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Boolean value indicating whether any payload that implements Cloneable should be cloned - prior to sending the Message to the request chanenl for acquiring the enriching data. - The cloned version would be used as the target payload for the ultimate reply. - - If the payload does NOT implement 'Cloneable', then setting this - attribute to 'true' has NO effect. - - Default is false. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an endpoint that passes a Message to the output-channel after a - delay. The delay may - be dynamically determined by evaluating an expression - (such as a Message header) or fallback to the - 'default-delay' of this endpoint. - - - - - - - - - - - - - - - - - - - 'transactional' and 'advice-chain' elements specify the configuration List of AOP Advice - to proxy DelayHandler's 'release Message task'. - - - - - - Specify the SpEL expression that evaluates to the delay value in milliseconds, - or a java.util.Date. - - - - - - - - - - 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 expression evaluation result. - - - - - - - Specify the SpEL expression that evaluates to the delay value in milliseconds, - or a java.util.Date. - - - - - - - Specify whether Exceptions thrown by 'expression' evaluation should be - ignored (only logged). In this case case the delayer will fall back to the - to the 'default-delay'. Default behaviour. - If this attribute is specified as 'false', any - 'expression' evaluation Exception will be thrown to the caller without - falling back to the to the 'default-delay'. - - - - - - - [DEPRECATED]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. - This attribute is deprecated in favor of an 'expression' attribute or sub-element. - - - - - - - Provide a reference to the TaskScheduler instance to which - this endpoint should - delegate when scheduling the sending of delayed Messages. If not - provided, the default scheduler - registered in the ApplicationContext {ThreadPoolTaskScheduler} will be - used. - - - - - - - - - - - - Provide a reference to the MessageStore instance that should be used - to store Messages while - awaiting the delay. - - - - - - - - - - - - - - - Defines an endpoint that passes a Message to the - output-channel without - modifying it. - - - - - - - - - - - - - - - - Defines an endpoint composed of a chain of Message - Handlers. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a top-level poller. - - - - - - - - - - - - - - - - Defines the configuration metadata for a poller. - - - - - - - - - - - Fixed delay trigger (in milliseconds). - - - - - - Allows this poller to reference another instance of a top-level poller. - [IMPORTANT] - This attribute is only allowed on inner poller definitions. - Defining this attribute on a top-level poller definition will result in a configuration exception. - - - - - - Fixed rate trigger (in milliseconds). - - - - - - - - - - - - - - - - Cron trigger. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a MessageSelector chain. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Provides a MessageSelector reference. If a method attribute is set the - referred bean doesn't need - to implement the MessageSelector - interface. - - - - - - - - - - - - - - - - - - - - - - - - - - Defines a HeaderEnricher endpoint for values defined in the MessageHeader. - - - - - - - - - - - - - - - - - Shortcut to specify value for 'replyChannel' header. - Can be a 'ref' to the MessageChannel, a 'value' as name of the MessageChannel, - or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. - - - - - - - Converts the 'replyChannel' and 'errorChannel' headers to a String after registering it in the HeaderChannelRegistry. - Use this when a message is serialized for any reason. No changes are made - if the header does not exist, or if the header does not currently reference a MessageChannel. - - - - - - - Shortcut to specify value for 'errorChannel' header. - Can be a 'ref' to the MessageChannel, a 'value' as name of the MessageChannel, - or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. - - - - - - - Shortcut to specify value for 'correlationId' header - - - - - - - Shortcut to specify value for 'expirationDate' header (java.lang.Long) - - - - - - - Shortcut to specify value for 'priority' header when using PriorityChannel - - - - - - - Integer value identifying the value of the 'priority' header. - - - - - - - Boolean value to indicate whether this header value should overwrite - an existing header - value - for the same name. - - - - - - - - - - - - Element that accepts any user-defined header name/value pair. - - - - - - - Allows you to configure Message Poller if this endpoint is a Polling Consumer - - - - - - - - Specify the default boolean value for whether to overwrite existing - header values. This will - only - take effect for - sub-elements that do not provide their own 'overwrite' attribute. If the - 'default-overwrite' - attribute is not - provided, then the specified header values will NOT overwrite any - existing ones with the same - header - names. - - - - - - - - - - Specify whether null values, such as might be returned from an expression evaluation, - should be - skipped. The default value is true. Set this to false if a null value should - trigger removal of the corresponding - header instead. - - - - - - - - - - Reference to an Object to be invoked for header values. - The 'method' attribute is required - along - with this. - - - - - - - - - - Method to be invoked on the referenced Object as specified by the - 'ref' attribute. The method - should return a Map with String-typed keys. - - - - - - - - - - - - - - - Defines a Message Header with a literal value or object reference. - - - - - - - - Name of the header to be added. - - - - - - - - - - - Provides a header value for the given header name. Requires - exactly one of the 'ref', 'value', or - 'expression' attributes. - The 'type' attribute allows for the specification of the expected - type when using a 'value' - or 'expression', but it is optional. - Also for a header value one of 'bean', 'script' or - 'expression' sub-elements can be defined, but they are mutually exclusive - with the attributes defined above. - - - - - - - - - - - - Literal value to be associated with the given header name. - - - - - - - Expression to be evaluated at runtime to determine the header value. - The EvaluationContext will - include variables for 'payload' and - 'headers'. - - - - - - - - - - - - - - - - - Reference to be associated with the given header name. - - - - - - - - - - Name of a method to be invoked on the referenced target object. - - - - - - - - - - - - Boolean value to indicate whether this header value should overwrite an - existing header value for - the same name. - - - - - - - - - - - - Defines a HeaderFilter endpoint to remove values defined in the MessageHeaders. - - - - - - - - - - - - - - - - Specify one or more header names (as a comma separated list) to - be removed from the - MessageHeaders - of the Message being handled. - - - - - - - Boolean flag that specifies whether values provided in 'header-names' should be treated as - match patterns or literal values. For example header-names='foo*' would mean remove all - headers that begin with 'foo' including the header named 'foo*'. However if you want to - treat '*' as literal value setting this flag to FALSE will not perform pattern match and - the only header that will be removed is the one that is an exact match. - - - - - - - - - - Defines a Transformer. - - - - - - - - - - - - - - - Defines a Transformer that converts any Object payload to a String by - invoking its toString() - method. - - - - - - - - - - - - - - Defines a Transformer that converts any Object payload to a SpEL Map. - - - - - - - - - - Specifies if the result Map of Maps should be transformed further to flat keys of - object's property paths. - Default is 'true'. - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - before or after the transformer. - ]]> - - - - - - Optional reference to a JsonObjectMapper instance. - By default, a JsonObjectMapper that uses a Jackson 2 ObjectMapper, or Jackson ObjectMapper - implementation is used, depending on the jars on the classpath. - Note: for backward compatibility, this attribute can take a reference to the Jackson 1 ObjectMapper bean. - This Jackson 1 ObjectMapper backward compatibility is deprecated - and will be removed in the Spring Integration 3.1 or above. - - - - - - - - - - - Defines a Transformer that converts a JSON String to an object. - - - - - - - - - - - - - - - - - - - - - - - - Optional reference to a JsonObjectMapper instance. - By default, a JsonObjectMapper that uses a Jackson 2 ObjectMapper, or Jackson ObjectMapper - implementation is used, depending on the jars on the classpath. - Note: for backward compatibility this attribute can take a reference to the Jackson 1 ObjectMapper bean. - This Jackson 1 ObjectMapper backward compatibility is deprecated - and will be removed in the Spring Integration 3.1 or above. - - - - - - - - - - - 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 converts an RFC5424 packet to a Map. - - - - - - - - - - - - - - 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'. - - - - - - - - - - - - - - - - - - - - - - - - - Allows you to specify the Charset (e.g., US-ASCII, - ISO-8859-1, UTF-8) to be used when transforming byte[]. [UTF-8] is the default - - - - - - - - - - - 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 - - - - - - - Throw an exception if the filter rejects the message (default false). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The "ref" attribute references the bean name of a custom - Router implementation. Typically that implementation will - be a simple POJO, but it may extend AbstractMessageRouter. - - Provide the "method" attribute as well to clarify which - method should be invoked, Alternatively, the "ref" attribute - may point to an instance that contains the @Router annotation - on one of its methods. - - Instead of using the "ref" attribute you may also provide - the custom Router implementation as an inner bean - definition. - - However, keep in mind that using both the "ref" attribute - and an inner handler definition in the same Router - configuration is not allowed, as it creates an - ambiguous condition, and an Exception will be thrown. - - Additionally, instead of using "ref" and "method" at all, - you can use the "expression" attribute (see description below). - - - - - - - - - - - - When implementing a custom Router using a plain POJO - the "ref" attribute may be combined with an explicit - method name using the "method" attribute. - - The referenced method may return either a MessageChannel - or a String type. Additionally, the method may return - either a single value or a collection. If a collection - is returned, the reply message will be sent to - multiple channels. - - Specifying a "method" attribute applies the same behavior - as when using the @Router annotation on a single method - within the object pointed to by the "ref". - - - - - - - - - - - - SpEL Expression to be evaluated at runtime. Allows you - to implement simple computations without implementing - a custom POJO router. Generally, the SpEL expression is - evaluated and the result is mapped to a channel using - "mapping" sub-elements. - - However, if no "mapping" sub-element is present, the - SpEL Expression will evaluate to a channel name directly. - - A SpEL expression may also return a Collection. Whenever - the expression returns multiple channel values the - Message will be forwarded to each channel. - - Note that SpEL supports bean-references within expressions - using the @ sign. This enables more sophisticated mapping - of Message content to method arguments, e.g.: - expression="@someBean.someMethod(payload.foo, headers.bar)" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An expression to be evaluated to determine if this recipient - should be included in the recipient list for a given input - Message. The evaluation result of the expression must be a boolean. - If this attribute is not defined, the channel will always be - among the list of recipients. - - - - - - - - - - - - - - - - - An expression to be evaluated to determine if this recipient - should be included in the recipient list for a given input - Message. The evaluation result of the expression must be a boolean. - If this attribute is not defined, the channel will always be - among the list of recipients. - - - - - - - - - - - - - - - - - - - - - - - - - ). - ]]> - - - - - - - - - - - - - - - - ) - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - ) - - The most specific matching exception type is determined - by navigating the hierarchy of 'exception causes' - (e.g., payload.getCause()). - ]]> - - - - - - - - - - - - - - - - ) - - The most specific matching exception type is determined - by navigating the hierarchy of 'exception causes' - (e.g., payload.getCause()). - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A value of the evaluation token that will be mapped to a channel reference - (e.g., mapping value='foo' channel='myChannel') - - - - - - - A reference to a bean that defines a Message Channel - (e.g., mapping value='foo' channel='myChannel') - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - An expression to be evaluated to determine if this recipient - should be included in the recipient list for a given input - Message. The evaluation result of the expression must be a boolean. - If this attribute is not defined, the channel will always be - among the list of recipients. - - - - - - - - - - - - - - - - - - - - - - - - - - - - The receiving Message channel of this endpoint - - - - - - - - - - - - - - - - - - - - - - - Reference to the channel where Messages should be sent if - channel resolution fails to return any channels. If no - default output channel is provided, the router will throw an - Exception. - - If you would like to silently drop those messages instead, - add the "nullChannel" as the default output channel attribute - value. - - - - - - - - - - - - Specify the maximum amount of time in milliseconds to wait - when sending Messages to the target MessageChannels. By - default the send will block indefinitely. - - - - - - - - - - - - - - - Specify whether sequence number and size headers should be added to each - Message. Defaults to false. - - - - - - - - - - Specify whether channel names must always be successfully resolved - to existing channel instances. - - If set to 'true', a MessagingException will be raised in case - the channel cannot be resolved. Setting this attribute to 'false', - will cause any unresovable channels to be ignored. - - If not explicitly set, 'resolution-required' will - default to 'true'. - - - - - - - - - - - - Defines a Splitter. - - - - - - - - - - - - - - - - - - Specify whether the service method must return a non-null value. This value will be - 'false' by default, but if set to 'true', a ReplyRequiredException will be thrown when - the underlying service method (or expression) returns a null value. - - - - - - - Set this flag to false to prevent adding sequence related headers in this splitter. - This can be convenient in cases where the set sequence numbers conflict with downstream - custom aggregations. - - - - - - - Provide one or more delimiters (as a single String value, e.g. delimiters=",;:") for - tokenizing String-typed payload values. This attribute is only allowed if no 'ref' or - 'expression' have been provided since that is when the DefaultMessageSplitter would - be used, and it's the implementation that contains the "delimiters" property. - - - - - - - - - - - Defines an aggregating message endpoint. - - - - - - - - - - - - - - - - - - A SpEL expression to be evaluated against the input message list as its root object. - - - - - - - Boolean flag specifying if MessageGroup should be removed once completed. Useful for - handling late arrival use cases where messages arriving with the correlationKey that - is the same as the completed MessageGroup will be discarded. Default is 'false' - - - - - - - - - - - - - - - - - - - A reference to a bean that implements the 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) - - - - - - - - - - - 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) - - - - - - - - - - - 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. - - - - - - - Only applies if a MessageGroupStoreReaper is configured for this Correlation - Endpoint's MessageStore. - By default, when a MessageGroupStoreReaper is configured to expire partial - groups, empty groups are also removed. Empty groups exist after a group - is released normally. This is to enable the detection and discarding of - late-arriving messages. If you wish to run empty group deletion on a longer - schedule than expiring partial groups, set this property. Empty groups will - then not be removed from the MessageStore until they have not been modified - for at least this number of milliseconds. - Note that the actual time to expire an - empty group will also be affected by the reaper's 'timeout' - property and it could be as much as this value plus the timeout. - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - A SpEL expression to be evaluated against the input Message as its root object. - - - - - - - - - - - - The key for retrieving the expression from an ExpressionSource. - - - - - - - The reference to an ExpressionSource. - - - - - - - - - - - - - - - - - - - - - - - - - Defines a MessagePublishingInterceptor which allows you to generate messages - as a by-product of - method invocations on Spring configured components. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [REQUIRED] Channel name(s) or patterns. To specify more than one channel use - ','  - (e.g., - channel-name-pattern="input*, foo, bar") - - - - - - - [OPTIONAL] Specifies the order in which this interceptor will be - added to the existing channel - interceptors (if any). - Negative value (e.g., -2) will signify BEFORE existing interceptors (if any). Positive - value (e.g., 2) - will signify AFTER existing interceptors (if any) - - - - - - - - - - - - Allows you to define channel interceptors to be applied globally. - - - - - - - - - - [REQUIRED] Channel name(s) or patterns. To specify more than one channel use - ','  - (e.g., - channel-name-pattern="input*, foo, bar") - - - - - - - [OPTIONAL] Specifies the order in which this interceptor will be - added to the existing channel - interceptors (if any). - Negative value (e.g., -2) will signify BEFORE existing iinterceptors (if any). Positive - value (e.g., 2) - will signify AFTER existing interceptors (if any) - - - - - - - - - - - - - - - - - Allows you to register Converters (implementation of the Converter interface) that will -be automatically registered with the ConversionService. ConversionService itself does not have to be -explicitly defined since the default ConversionService will be registered under the name 'integrationConversionService' -unless bean with this name is already registered. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies the name of the SpEL function. - - - - - - - The fully qualified class name where to find the static method for SpEL function. - - - - - - - - - - - - The method signature in the form 'methodName[([arg_list])]', - where 'arg_list' is an optional, comma-separated list of fully-qualified - type names. - - - - - - - - - - Allows you to register PropertyAccessors (implementation of the PropertyAccessor interface) that will - be automatically registered with the SpEL EvaluationContext. - Note, the 'id' attribute of the bean definition below is required. - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - - or poller - sub element. - Used to take action after the transaction completes () or after - the channel.send() is complete (). - ]]> - - - - ), - or after the transaction commits (). The #root variable of the - expression evaluation is the original message; a BeanResolver is also available. - ]]> - - - - - - - - - - - - - - - ), - or after the transaction rolls back (). The #root variable of the - expression evaluation is the original message; a BeanResolver is also available. - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 ea0a7ebe9e..2a5e09e21d 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 @@ -27,7 +27,7 @@ - + @@ -83,11 +83,11 @@ - - - + + + - + @@ -137,7 +137,7 @@ - + @@ -286,12 +286,25 @@ (i.e. one without a queue). + + + + + + + + + A reference to a bean that implements the 'org.springframework.integration.dispatcher.LoadBalancingStrategy'. + This attribute is mutually exclusive with 'load-balancer'. + + + Defines a load-balancing strategy for the channel's dispatcher. - The default is a round-robin load - balancer. + The default is a round-robin load balancer. + This attribute is mutually exclusive with 'load-balancer-ref'. @@ -373,7 +386,7 @@ - + @@ -449,6 +462,15 @@ + + + + + @@ -476,27 +498,6 @@ - - - - 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. - - - - - - @@ -506,7 +507,17 @@ - + + + + + + + + @@ -521,7 +532,7 @@ @@ -564,8 +575,8 @@ @@ -612,6 +623,17 @@ + + + + + + + @@ -621,7 +643,7 @@ - + @@ -636,7 +658,7 @@ - + @@ -644,7 +666,7 @@ + + + + + + + + + + + + @@ -727,6 +765,7 @@ Defines a Messaging Gateway to be used within a chain. + @@ -736,7 +775,7 @@ - + @@ -753,6 +792,27 @@ + + + + + + + + + + + + + + Defines a Channel Adapter that receives from a MessageSource and sends to a MessageChannel. + Note, when using the 'expression' attribute, or 'expression' or 'script' sub-element, + there is not yet a root Message object and therefore + the 'payload' and 'headers' properties are not available in the expression or script. @@ -776,10 +839,16 @@ - + + + + - + + + + @@ -837,13 +906,6 @@ - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - @@ -867,6 +929,7 @@ + @@ -991,7 +1054,7 @@ - + @@ -1001,13 +1064,7 @@ - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - + @@ -1048,6 +1105,7 @@ + @@ -1066,30 +1124,44 @@ - - - - - - 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. - - - + + + + + + + + + Specify whether the service method must return a non-null value. This value will be + 'false' by default, but if set to 'true', a ReplyRequiredException will be thrown when + the underlying service method (or expression) returns a null value. + + + + + + + Base type for Message-handling endpoints. + + + + 'id' value: + - Identifies the underlying Spring bean definition (AbstractEndpoint) + - as MessageHandler bean alias together with suffix '.handler' + + + @@ -1166,7 +1238,7 @@ - + @@ -1186,6 +1258,42 @@ + + + + Each header sub-element provides the name of a message header (via the required 'name' attribute). + Exactly one of the 'value' or 'expression' attributes must be provided as well. + The former for a literal value to set, and the latter for a SpEL expression to be evaluated. + The root object of the evaluation context is the Message that was returned from the flow initiated + by this enricher. + + + + + + + + + Boolean value to indicate whether this header value should overwrite an + existing header value. Unlike the Header Enricher, this attribute is 'true' + by default, similar to the 'property' attribute. + + + + + + + + + + The fully qualified class name of the header value's expected type. + + + + + + + @@ -1199,7 +1307,7 @@ - + @@ -1212,7 +1320,7 @@ - + @@ -1272,7 +1380,7 @@ - + @@ -1301,6 +1409,7 @@ ]]> + @@ -1342,8 +1451,8 @@ 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 + be dynamically determined by evaluating an expression + (such as a Message header) or fallback to the 'default-delay' of this endpoint. @@ -1367,42 +1476,57 @@ to proxy DelayHandler's 'release Message task'. + + + + Specify the SpEL expression that evaluates to the delay value in milliseconds, + or a java.util.Date. + + + - - - - 'id' value is used: - - as the 'AbstractEndpoint' bean 'id' if this tag is defined as root element. - - as the DelayHandler bean alias together with suffix '.handler' - - as the 'messageGroupId' property of DelayHandler together with suffix '.messageGroupId' - in the operations of the MessageGroupStore for scheduling delayed messages. - - - 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). + should be delayed are those with a particular expression evaluation result. + + + + Specify the SpEL expression that evaluates to the delay value in milliseconds, + or a java.util.Date. + + + + + + + Specify whether Exceptions thrown by 'expression' evaluation should be + ignored (only logged). In this case case the delayer will fall back to the + to the 'default-delay'. Default behaviour. + If this attribute is specified as 'false', any + 'expression' evaluation Exception will be thrown to the caller without + falling back to the to the 'default-delay'. + + + - Specify the name of the header that should contain the delay value. + [DEPRECATED]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. + This attribute is deprecated in favor of an 'expression' attribute or sub-element. @@ -1437,6 +1561,7 @@ + @@ -1452,7 +1577,8 @@ - + + @@ -1468,17 +1594,8 @@ - - - - - - The Lifecycle attribute determining the start/stop order - of the underlying MessageHandlerChain. - - - - + + @@ -1487,7 +1604,7 @@ - + @@ -1506,7 +1623,7 @@ - + @@ -1519,6 +1636,7 @@ + @@ -1710,7 +1828,7 @@ - + @@ -1723,7 +1841,16 @@ Shortcut to specify value for 'replyChannel' header. Can be a 'ref' to the MessageChannel, a 'value' as name of the MessageChannel, - or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. + or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. + + + + + + + Converts the 'replyChannel' and 'errorChannel' headers to a String after registering it in the HeaderChannelRegistry. + Use this when a message is serialized for any reason. No changes are made + if the header does not exist, or if the header does not currently reference a MessageChannel. @@ -1732,7 +1859,7 @@ Shortcut to specify value for 'errorChannel' header. Can be a 'ref' to the MessageChannel, a 'value' as name of the MessageChannel, - or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. + or some valid SpEL 'expression' which returns the MessageChannel reference or name of the MessageChannel. @@ -1855,6 +1982,7 @@ + @@ -1970,7 +2098,7 @@ - + @@ -1998,6 +2126,7 @@ + @@ -2009,7 +2138,7 @@ - + @@ -2025,8 +2154,8 @@ - - + + @@ -2040,7 +2169,16 @@ - + + + + + Specifies if the result Map of Maps should be transformed further to flat keys of + object's property paths. + Default is 'true'. + + + @@ -2054,7 +2192,7 @@ - + @@ -2085,6 +2223,7 @@ + @@ -2096,7 +2235,7 @@ - + @@ -2124,17 +2263,22 @@ - Reference to a Jackson ObjectMapper instance to be provided optionally - if the default ObjectMapper - configuration is not desirable. + Optional reference to a JsonObjectMapper instance. + By default, a JsonObjectMapper that uses a Jackson 2 ObjectMapper, or Jackson ObjectMapper + implementation is used, depending on the jars on the classpath. + Note: for backward compatibility, this attribute can take a reference to the Jackson 1 ObjectMapper bean. + This Jackson 1 ObjectMapper backward compatibility is deprecated + and will be removed in the Spring Integration 3.1 or above. + + @@ -2146,7 +2290,7 @@ - + @@ -2166,17 +2310,22 @@ - Reference to a Jackson ObjectMapper instance to be provided optionally - if the default ObjectMapper - configuration is not desirable. + Optional reference to a JsonObjectMapper instance. + By default, a JsonObjectMapper that uses a Jackson 2 ObjectMapper, or Jackson ObjectMapper + implementation is used, depending on the jars on the classpath. + Note: for backward compatibility this attribute can take a reference to the Jackson 1 ObjectMapper bean. + This Jackson 1 ObjectMapper backward compatibility is deprecated + and will be removed in the Spring Integration 3.1 or above. + + @@ -2188,7 +2337,7 @@ - + @@ -2212,6 +2361,7 @@ + @@ -2223,7 +2373,7 @@ - + @@ -2247,6 +2397,7 @@ + @@ -2256,7 +2407,8 @@ - + + @@ -2277,7 +2429,7 @@ - + @@ -2301,12 +2453,12 @@ - + - - + + @@ -2320,24 +2472,25 @@ - - - - If set to 'true' the Message will be removed - from the MessageStore by this transformer. - Useful when Message can be 'claimed' only - once. DEFAULT is 'false'. - - - - - - + + + + If set to 'true' the Message will be removed + from the MessageStore by this transformer. + Useful when Message can be 'claimed' only + once. DEFAULT is 'false'. + + + + + + + @@ -2359,6 +2512,22 @@ + + + + + + + + + + Allows you to specify the Charset (e.g., US-ASCII, + ISO-8859-1, UTF-8) to be used when transforming byte[]. [UTF-8] is the default + + + + + @@ -2371,7 +2540,7 @@ - + @@ -2379,12 +2548,31 @@ - + + + + + + + + + + + + + + + + - + @@ -2392,7 +2580,13 @@ - + + + + Throw an exception if the filter rejects the message (default false). + + + @@ -2557,34 +2751,7 @@ - - - - - - - - - - - - - + @@ -2595,21 +2762,45 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -2633,13 +2824,13 @@ - - - - + + + + @@ -2680,15 +2871,15 @@ - - - An expression to be evaluated to determine if this recipient - should be included in the recipient list for a given input - Message. The evaluation result of the expression must be a boolean. - If this attribute is not defined, the channel will always be - among the list of recipients. - - + + + An expression to be evaluated to determine if this recipient + should be included in the recipient list for a given input + Message. The evaluation result of the expression must be a boolean. + If this attribute is not defined, the channel will always be + among the list of recipients. + + @@ -2702,14 +2893,14 @@ - - An expression to be evaluated to determine if this recipient - should be included in the recipient list for a given input - Message. The evaluation result of the expression must be a boolean. - If this attribute is not defined, the channel will always be - among the list of recipients. - - + + An expression to be evaluated to determine if this recipient + should be included in the recipient list for a given input + Message. The evaluation result of the expression must be a boolean. + If this attribute is not defined, the channel will always be + among the list of recipients. + + @@ -2732,11 +2923,11 @@ - ). - ]]> + ). + ]]> @@ -2841,7 +3032,7 @@ - + @@ -2865,7 +3056,7 @@ - + @@ -2874,20 +3065,20 @@ - - - - + + + + - - - + + + - + @@ -2913,7 +3104,7 @@ - + @@ -2926,32 +3117,11 @@ --> - - - - - - - - - Lifecycle attribute signaling if this component should be - started during Application Context startup. Defaults to true. - - - - - - - + @@ -2969,6 +3139,7 @@ ]]> + + + + + + @@ -2992,7 +3173,7 @@ - + @@ -3006,21 +3187,7 @@ - - - - - - - - - - - + - + Specify whether sequence number and size headers should be added to each @@ -3050,7 +3217,7 @@ is provided, the return value is expected to match a channel name exactly. - + Specify whether channel names must always be successfully resolved @@ -3079,7 +3246,7 @@ is provided, the return value is expected to match a channel name exactly. - + @@ -3091,9 +3258,9 @@ is provided, the return value is expected to match a channel name exactly. - 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. + Specify whether the service method must return a non-null value. This value will be + 'false' by default, but if set to 'true', a ReplyRequiredException will be thrown when + the underlying service method (or expression) returns a null value. @@ -3129,7 +3296,7 @@ is provided, the return value is expected to match a channel name exactly. - + @@ -3231,7 +3398,7 @@ is provided, the return value is expected to match a channel name exactly. - + @@ -3267,6 +3434,24 @@ is provided, the return value is expected to match a channel name exactly. + + + + Only applies if a MessageGroupStoreReaper is configured for this Correlation + Endpoint's MessageStore. + By default, when a MessageGroupStoreReaper is configured to expire partial + groups, empty groups are also removed. Empty groups exist after a group + is released normally. This is to enable the detection and discarding of + late-arriving messages. If you wish to run empty group deletion on a longer + schedule than expiring partial groups, set this property. Empty groups will + then not be removed from the MessageStore until they have not been modified + for at least this number of milliseconds. + Note that the actual time to expire an + empty group will also be affected by the reaper's 'timeout' + property and it could be as much as this value plus the timeout. + + + @@ -3280,7 +3465,7 @@ is provided, the return value is expected to match a channel name exactly. - + @@ -3373,7 +3558,7 @@ is provided, the return value is expected to match a channel name exactly. - + @@ -3383,7 +3568,7 @@ is provided, the return value is expected to match a channel name exactly. 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 + sent to the intercepting channel @@ -3531,6 +3716,25 @@ is provided, the return value is expected to match a channel name exactly. + + + + + + + + + + + + A SpEL expression to be evaluated against the input Message as its root object. + + + + + + + @@ -3591,7 +3795,7 @@ is provided, the return value is expected to match a channel name exactly. - + @@ -3607,7 +3811,7 @@ is provided, the return value is expected to match a channel name exactly. ]]> - + @@ -3654,7 +3858,7 @@ is provided, the return value is expected to match a channel name exactly. - + @@ -3749,12 +3953,61 @@ The list of component name patterns you want to track (e.g., tracked-components - + + + + + + + Specifies the name of the SpEL function. + + + + + + + The fully qualified class name where to find the static method for SpEL function. + + + + + + + + + + + + The method signature in the form 'methodName[([arg_list])]', + where 'arg_list' is an optional, comma-separated list of fully-qualified + type names. + + + + + + + + + + Allows you to register PropertyAccessors (implementation of the PropertyAccessor interface) that will + be automatically registered with the SpEL EvaluationContext. + Note, the 'id' attribute of the bean definition below is required. + + + + + + + + + + + @@ -3774,7 +4028,7 @@ The list of component name patterns you want to track (e.g., tracked-components - + @@ -3795,7 +4049,7 @@ The list of component name patterns you want to track (e.g., tracked-components - + @@ -3813,30 +4067,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. ]]> - - - - Lifecycle attribute signaling if this component should be - started during Application Context startup. Defaults to true. - - - - - - - - - - - - - 'id' value: - - Identifies the underlying Spring bean definition (AbstractEndpoint) - - as MessageHandler bean alias together with suffix '.handler' - - - - + @@ -3878,9 +4109,9 @@ endpoint itself is a Polling Consumer for a channel with a queue. nullChannel. ]]> - - - + + + @@ -3902,9 +4133,9 @@ endpoint itself is a Polling Consumer for a channel with a queue. nullChannel. ]]> - - - + + + @@ -3918,4 +4149,24 @@ endpoint itself is a Polling Consumer for a channel with a queue. + + + + + + + + + + + + + + diff --git a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-3.0.xsd b/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-3.0.xsd deleted file mode 100644 index dceb5c3789..0000000000 --- a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-3.0.xsd +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - Configures an inbound Channel Adapter which listens for Application Context - events, converts them to Messages and sends them to a Message Channel. - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an error-channel is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will be propagated to the caller. - - - - - - - Comma delimited list of event types (classes that extend ApplicationEvent) that this adapter - should send to the message channel. By default, all event types will be sent [OPTIONAL] - - - - - - - - - - - - - - - Defines a Channel Adapter that receives Messages from a MessageChannel and then publishes - MessagingEvents containing those Messages. - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - diff --git a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd b/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd index 1658e38d8d..dceb5c3789 100644 --- a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd +++ b/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.1.xsd @@ -8,7 +8,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> - - - - - - - - - - The channel to which Messages generated from Application Context events will be sent. - - - + + type="org.springframework.messaging.MessageChannel" /> @@ -58,7 +45,7 @@ Comma delimited list of event types (classes that extend ApplicationEvent) that this adapter should send to the message channel. By default, all event types will be sent [OPTIONAL] - + @@ -66,10 +53,9 @@ + ]]> - @@ -85,20 +71,7 @@ - - - - - - - - - The Message Channel from which this adapter receives Messages. - - - - + @@ -107,7 +80,6 @@ - diff --git a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-3.0.xsd b/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-3.0.xsd deleted file mode 100644 index 954fe1c681..0000000000 --- a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-3.0.xsd +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - The bean id of this Polling Endpoint; the MessageSource is also registered with this id - plus a suffix '.source'; also used as the - MetaDataStore key with suffix '.' + feedUrl - The URL for an RSS or ATOM feed. - - - - - - - - - - - - Identifies the channel attached to this adapter, to which messages will be sent. - - - - - - - - The URL for an RSS or ATOM feed. - - - - - - - Reference to a FeedFetcher instance for retrieveing Feeds from the provided URL. - By default, the HTTP protocol is supported. For any other protocols or general - customizations, provide a reference to a different implementation. - - - - - - - - - - - - Reference to a MetadataStore instance for storing metadata associated with - the retrieved feeds. If the implementation is persistent, it can help to - prevent duplicates between restarts. If shared, it can help coordinate multiple - instances of an adapter across different processes. - - - - - - - - - - - - diff --git a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd b/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd index b9bda235d5..954fe1c681 100644 --- a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd +++ b/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.1.xsd @@ -9,7 +9,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> @@ -22,12 +22,13 @@ - - + - The URL for an RSS or ATOM feed. - + The bean id of this Polling Endpoint; the MessageSource is also registered with this id + plus a suffix '.source'; also used as the + MetaDataStore key with suffix '.' + feedUrl - The URL for an RSS or ATOM feed. + @@ -38,10 +39,16 @@ - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - + Identifies the channel attached to this adapter, to which messages will be sent. + + + + + + + + The URL for an RSS or ATOM feed. + @@ -49,8 +56,8 @@ Reference to a FeedFetcher instance for retrieveing Feeds from the provided URL. By default, the HTTP protocol is supported. For any other protocols or general - customizations, provide a reference to a different implementation. - + customizations, provide a reference to a different implementation. + @@ -65,23 +72,15 @@ the retrieved feeds. If the implementation is persistent, it can help to prevent duplicates between restarts. If shared, it can help coordinate multiple instances of an adapter across different processes. - + - + - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is 'true' - - - - \ No newline at end of file + diff --git a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-3.0.xsd b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-3.0.xsd deleted file mode 100644 index 1f684b9d11..0000000000 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-3.0.xsd +++ /dev/null @@ -1,723 +0,0 @@ - - - - - - - - - - - - - - Configures an inbound Channel Adapter that polls a directory and sends Messages whose payloads are - instances of java.io.File. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 inbound channel adapter that 'tails' a file on the filesystem. - - - - - - - - Configures the adapter to exec 'tail' with these options (appended by the file name). - Default: "-F -n 0" (follow the filename and emit no - existing lines). This attribute is not allowed if 'delay' 'end' or 'reopen' is - specified, which cause the Apache commons-io 'Tailer' class to be used instead of - using a native 'tail' command. - - - - - - - The fully qualified name of the file to be tailed. - - - - - - - A reference to a TaskExecutor; the default is a SimpleAsyncTaskExecutor; the - native adapter uses three threads - one for reading stdout, one for - reading stderr and one for monitoring the process. - - - - - - - - - - - - A reference to a TaskScheduler; the default is the 'taskScheduler' bean - which is automatically configured for all Spring Integration applications. - The scheduler is used by the native adapter to reschedule - the 'tail' process after a failure according to the 'file-delay'. - This attribute is not allowed when using the Apache adapter. - - - - - - - - - - - - The delay in milliseconds between attempts to open the file when no file was found (Apache adapter). - For the native adapter, this is used as a delay before starting a new process after process failures. - On some platforms, when the file doesn't exist, the 'tail' process is suspended until the file - appears; on other platforms, the 'tail' process exits immediately if the file doesn't exist. - Default 5000. - - - - - - - Does not apply to the native adapter - the delay in milliseconds between polls when no new - data was detected in the file. Default 1000. Note: Setting this option forces the use of the Apache - Tailer implementation instead of the native 'tail' command. - - - - - - - Does not apply to the native adapter. - Set to 'true' to tail from the end of the file, 'false' to tail from the beginning of the file. - Default 'true'. Note: Setting this option forces the use of the Apache - Tailer implementation instead of the native 'tail' command. - - - - - - - - - - Does not apply to the native adapter. - If 'true', close and reopen the file between reading chunks. - Default 'false'. Note: Setting this option forces the use of the Apache - Tailer implementation instead of the native 'tail' command. - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'true' by default, and a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - This attribute is mutualy exclusive with 'append' since the append is done to the - actual file and not its temporary counterpart. The default value of this attribute (i.e., .writing) - is ignored when 'append' is set to true. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creates a Transformer that converts a File payload to a String. - - - - - - - - - - - - - - - - - - - - - Creates a Transformer that converts a File payload to an array of bytes. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allows you to provide a SpEL expression which - will compute the directory - path where the files will be transferred to - (e.g., "headers.['remote_dir'] + - '/myTransfers'"); - - - - - - - Allows you to provide a SpEL expression which - will compute the temporary directory - path where files will be transferred to before they are moved to the remote-directory - (e.g., "headers.['remote_dir'] + - '/temp/myTransfers'"); - - - - - - - Specify whether to automatically create the - remote target directory if - it doesn't exist. - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - - - Allows you to provide SpEL expression which - will compute file name of - the remote file (e.g., assuming payload - is java.io.File - "payload.getName() + '.transfered'"); - - - - - - - Allows you to suppress using a temporary file name while writing the file. - - - - - - 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 524a4ded55..1f684b9d11 100644 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.1.xsd +++ b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.1.xsd @@ -10,7 +10,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd"/> - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - element. Therefore, if the "channel" attribute - is not provided, then the "id" attribute is required. - ]]> - - - - - - - + @@ -139,13 +114,6 @@ Only files matching this regular expression will be picked up by this adapter. ]]> - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - @@ -183,7 +151,7 @@ Only files matching this regular expression will be picked up by this adapter. The channel through which outgoing messages will arrive. - + @@ -193,6 +161,111 @@ Only files matching this regular expression will be picked up by this adapter. + + + + Configures an inbound channel adapter that 'tails' a file on the filesystem. + + + + + + + + Configures the adapter to exec 'tail' with these options (appended by the file name). + Default: "-F -n 0" (follow the filename and emit no + existing lines). This attribute is not allowed if 'delay' 'end' or 'reopen' is + specified, which cause the Apache commons-io 'Tailer' class to be used instead of + using a native 'tail' command. + + + + + + + The fully qualified name of the file to be tailed. + + + + + + + A reference to a TaskExecutor; the default is a SimpleAsyncTaskExecutor; the + native adapter uses three threads - one for reading stdout, one for + reading stderr and one for monitoring the process. + + + + + + + + + + + + A reference to a TaskScheduler; the default is the 'taskScheduler' bean + which is automatically configured for all Spring Integration applications. + The scheduler is used by the native adapter to reschedule + the 'tail' process after a failure according to the 'file-delay'. + This attribute is not allowed when using the Apache adapter. + + + + + + + + + + + + The delay in milliseconds between attempts to open the file when no file was found (Apache adapter). + For the native adapter, this is used as a delay before starting a new process after process failures. + On some platforms, when the file doesn't exist, the 'tail' process is suspended until the file + appears; on other platforms, the 'tail' process exits immediately if the file doesn't exist. + Default 5000. + + + + + + + Does not apply to the native adapter - the delay in milliseconds between polls when no new + data was detected in the file. Default 1000. Note: Setting this option forces the use of the Apache + Tailer implementation instead of the native 'tail' command. + + + + + + + Does not apply to the native adapter. + Set to 'true' to tail from the end of the file, 'false' to tail from the beginning of the file. + Default 'true'. Note: Setting this option forces the use of the Apache + Tailer implementation instead of the native 'tail' command. + + + + + + + + + + Does not apply to the native adapter. + If 'true', close and reopen the file between reading chunks. + Default 'false'. Note: Setting this option forces the use of the Apache + Tailer implementation instead of the native 'tail' command. + + + + + + + + + @@ -208,7 +281,7 @@ Only files matching this regular expression will be picked up by this adapter. The channel through which outgoing messages will arrive. - + @@ -221,7 +294,7 @@ Only files matching this regular expression will be picked up by this adapter. - + @@ -249,6 +322,15 @@ Only files matching this regular expression will be picked up by this adapter. ]]> + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'true' by default, and a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + @@ -302,7 +384,7 @@ Only files matching this regular expression will be picked up by this adapter. 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'"); + the target file (e.g., assuming payload is java.io.File "payload.name + '.transferred'"); @@ -384,13 +466,6 @@ Only files matching this regular expression will be picked up by this adapter. - - - - - - - @@ -401,6 +476,7 @@ Only files matching this regular expression will be picked up by this adapter. + @@ -413,13 +489,13 @@ Only files matching this regular expression will be picked up by this adapter. - - - - - + + + + + @@ -452,7 +528,7 @@ Only files matching this regular expression will be picked up by this adapter. - + @@ -466,7 +542,7 @@ Only files matching this regular expression will be picked up by this adapter. - + @@ -483,18 +559,18 @@ Only files matching this regular expression will be picked up by this adapter. - - - + + + - - - + + + @@ -562,4 +638,86 @@ Only files matching this regular expression will be picked up by this adapter. + + + + + + + + + + + + + + + + + Allows you to provide a SpEL expression which + will compute the directory + path where the files will be transferred to + (e.g., "headers.['remote_dir'] + + '/myTransfers'"); + + + + + + + Allows you to provide a SpEL expression which + will compute the temporary directory + path where files will be transferred to before they are moved to the remote-directory + (e.g., "headers.['remote_dir'] + + '/temp/myTransfers'"); + + + + + + + Specify whether to automatically create the + remote target directory if + it doesn't exist. + + + + + + + Allows you to specify a reference to + [org.springframework.integration.file.FileNameGenerator] bean. + + + + + + + + + + + + Allows you to provide SpEL expression which + will compute file name of + the remote file (e.g., assuming payload + is java.io.File + "payload.getName() + '.transfered'"); + + + + + + + Allows you to suppress using a temporary file name while writing the file. + + + + + diff --git a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-3.0.xsd b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-3.0.xsd deleted file mode 100644 index 0f992592df..0000000000 --- a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-3.0.xsd +++ /dev/null @@ -1,556 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a channel. This is - particularly relevant when that channel - is using a "failover" - dispatching strategy, or when a failure in - the delivery to one - subscriber should signal that - the message should not be sent to - subscribers with a higher 'order' - attribute. It has no effect - when this - endpoint itself is a Polling Consumer for a channel - with a queue. - - - - - - - - - - - - - - - - - - - - - - - Allows you to provide a file name pattern to - determine the file names - that need to be scanned. - This is based on - simple pattern matching (e.g., "*.txt, fo*.txt" - etc.) - - - - - - - Allows you to provide a SpEL expression to - generate the file name of - the local (transferred) file. The root - object of the SpEL - evaluation is the name of the original - file. - For example, a valid expression would be "#this.toUpperCase() + - '.a'" where #this represents the - original name of the remote - file. - - - - - - - Allows you to provide a Regular Expression to - determine the file names - that need to be scanned. - (e.g., - "f[o]+\.txt" etc.) - - - - - - - - - - - - - - - - - Allows you to specify a reference to a - [org.springframework.integration.file.filters.FileListFilter] - bean. This filter is applied to files on the remote server and - only files that pass the filter are retrieved. - - - - - - - - - - - - Allows you to specify a reference to a - [org.springframework.integration.file.filters.FileListFilter] - bean. This filter is applied to files after they have been - retrieved. The default is an AcceptOnceFileListFilter which means that, - even if a new instance of a file is retrieved from the remote server, - a message won't be generated. The filter provided here is combined - with a filter that prevents the message source from processing - files that are currently being downloaded. - - - - - - - Identifies the directory path (e.g., - "/local/mytransfers") where files - will be transferred TO. - - - - - - - Tells this adapter if the local directory must - be auto-created if it - doesn't exist. Default is TRUE. - - - - - - - Specify whether to delete the remote source - file after copying. - By default, the remote files will NOT be - deleted. - - - - - - - Specify whether to preserve the modified timestamp from the remote source - file on the local file after copying. - By default, the remote timestamp will NOT be - preserved. - - - - - - - - - - - - - - - - - - - - - - FTP command. - - - - - - - - - - FTP command options; for ls, -1 means just - return the file names - (otherwise file - metadata is returned, -dirs - means include directories (not included by - default), - -links means - include links (not included by default); for get, -P means - preserve - timestamp from remote file. - - - - - - - SpEL expression representing the path in the - command (e.g. ls path to - list the files in directory path). - - - - - - - SpEL expression representing the path for the - new filename when using the 'mv' command. Defaults - to "headers.['file_renameTo']". - - - - - - - - - - - - Identifies the request channel attached to - this - gateway. - - - - - - - - - - - - Identifies the reply channel attached to this - gateway. - - - - - - - - - - - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.filters.FileListFilter] - bean. This filter acts against the remote server view when using the 'ls' - or 'mget' commands. - Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. - - - - - - - Allows you to provide file name pattern to - determine the file names retrieved by the 'ls' and 'mget' commands - and is based - on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" - etc.) - Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. - - - - - - - Allows you to provide Regular Expression to - determine the file names retrieved by the 'ls' and 'mget' commands. - (e.g., - "f[o]+\.txt" etc.) - Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. - - - - - - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.filters.FileListFilter] - bean. This filter acts on the local file system when using the 'mput' command. - Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. - - - - - - - Allows you to provide file name pattern to - determine the file names sent by the 'mput' command - and is based - on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" - etc.) - Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. - - - - - - - Allows you to provide Regular Expression to - determine the file names sent by the 'mput' command - (e.g., - "f[o]+\.txt" etc.) - Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. - - - - - - - Allows you to provide a SpEL expression to - generate the file name of - the local (transferred) file. The root - object of the SpEL - evaluation is the request Message, but the name of the original - remote file is also provided as the 'remoteFileName' variable. - For example, a valid expression would be: - "#remoteFileName.toUpperCase() + headers.foo". - Only used with 'get' and 'mget' commands. - - - - - - - Identifies directory path (e.g., - "/local/mytransfers") where file will be - transferred TO. - This attribute is mutually exclusive with 'local-directory-expression'. - - - - - - - Specifies SpEL expression to - generate the directory path where file will be - transferred TO, when using 'get' and 'mget' commands. - The root object of the SpEL evaluation is the request Message, - but the name of the source - remote directory is also provided as the 'remoteDirectory' variable. - For example, a valid expression might be: - "'/local/' + #remoteDirectory.toUpperCase() + headers.foo". - Only used with 'get' and 'mget' commands. - This attribute is mutually exclusive with 'local-directory'. - - - - - - - Tells this adapter if local directory must be - auto-created if it - doesn''t exist. Default is TRUE. - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a channel. This is - particularly relevant when that channel - is using a "failover" - dispatching strategy, or when a failure in the - delivery to one - subscriber should signal that - the message should not be sent to - subscribers with a higher 'order' - attribute. It has no effect - when - this - endpoint itself is a Polling Consumer for a channel with - a - queue. - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'true' by default, and a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - - - - - Identifies the remote directory path (e.g., "/remote/mytransfers") - - - - - - - Identifies the remote temporary directory path (e.g., "/remote/temp/mytransfers") - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - - - - - Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default - - - - - - - - - - - - - - - - - - - - - - - Extension used when downloading files. We - change - it right after we know it's - downloaded. - - - - - - - - Allows you to provide remote file/directory - separator character. DEFAULT: - '/' - - - - - - - diff --git a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd index 5ac4c3e054..0f992592df 100644 --- a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd +++ b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.1.xsd @@ -3,13 +3,16 @@ 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" + xmlns:int-file="http://www.springframework.org/schema/integration/file" targetNamespace="http://www.springframework.org/schema/integration/ftp" elementFormDefault="qualified" attributeFormDefault="unqualified"> + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> + @@ -23,73 +26,6 @@ - - - - Allows you to provide a SpEL expression which - will compute the directory - path where the files will be transferred to - (e.g., "headers.['remote_dir'] + - '/myTransfers'"); - - - - - - - Allows you to provide a SpEL expression which - will compute the temporary directory - path where files will be transferred to before they are moved to the remote-directory - (e.g., "headers.['remote_dir'] + - '/temp/myTransfers'"); - - - - - - - Specify whether to automatically create the - remote target directory if - it doesn't exist. - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - - - Allows you to provide SpEL expression which - will compute file name of - the remote file (e.g., assuming payload - is java.io.File - "payload.getName() + '.transfered'"); - - - - - - - Allows you to suppress using a temporary file name while writing the file. - - - @@ -110,6 +46,7 @@ + @@ -187,7 +124,28 @@ Allows you to specify a reference to a [org.springframework.integration.file.filters.FileListFilter] - bean. + bean. This filter is applied to files on the remote server and + only files that pass the filter are retrieved. + + + + + + + + + + + + Allows you to specify a reference to a + [org.springframework.integration.file.filters.FileListFilter] + bean. This filter is applied to files after they have been + retrieved. The default is an AcceptOnceFileListFilter which means that, + even if a new instance of a file is retrieved from the remote server, + a message won't be generated. The filter provided here is combined + with a filter that prevents the message source from processing + files that are currently being downloaded. @@ -211,7 +169,7 @@ - + Specify whether to delete the remote source @@ -221,6 +179,16 @@ + + + + Specify whether to preserve the modified timestamp from the remote source + file on the local file after copying. + By default, the remote timestamp will NOT be + preserved. + + + @@ -234,16 +202,19 @@ - + - + - FTP command - ls, get or rm + FTP command. + + + @@ -270,12 +241,21 @@ + + + + SpEL expression representing the path for the + new filename when using the 'mv' command. Defaults + to "headers.['file_renameTo']". + + + + type="org.springframework.messaging.MessageChannel" /> @@ -290,7 +270,7 @@ + type="org.springframework.messaging.MessageChannel" /> @@ -333,7 +313,9 @@ Allows you to specify a reference to [org.springframework.integration.file.filters.FileListFilter] - bean. + bean. This filter acts against the remote server view when using the 'ls' + or 'mget' commands. + Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. @@ -341,10 +323,11 @@ Allows you to provide file name pattern to - determine the file names retrieved by the ls command + determine the file names retrieved by the 'ls' and 'mget' commands and is based on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" etc.) + Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. @@ -352,9 +335,64 @@ Allows you to provide Regular Expression to - determine the file names retrieved by the ls command. + determine the file names retrieved by the 'ls' and 'mget' commands. (e.g., "f[o]+\.txt" etc.) + Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. + + + + + + + + + + + + Allows you to specify a reference to + [org.springframework.integration.file.filters.FileListFilter] + bean. This filter acts on the local file system when using the 'mput' command. + Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. + + + + + + + Allows you to provide file name pattern to + determine the file names sent by the 'mput' command + and is based + on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" + etc.) + Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. + + + + + + + Allows you to provide Regular Expression to + determine the file names sent by the 'mput' command + (e.g., + "f[o]+\.txt" etc.) + Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. + + + + + + + Allows you to provide a SpEL expression to + generate the file name of + the local (transferred) file. The root + object of the SpEL + evaluation is the request Message, but the name of the original + remote file is also provided as the 'remoteFileName' variable. + For example, a valid expression would be: + "#remoteFileName.toUpperCase() + headers.foo". + Only used with 'get' and 'mget' commands. @@ -364,6 +402,23 @@ Identifies directory path (e.g., "/local/mytransfers") where file will be transferred TO. + This attribute is mutually exclusive with 'local-directory-expression'. + + + + + + + Specifies SpEL expression to + generate the directory path where file will be + transferred TO, when using 'get' and 'mget' commands. + The root object of the SpEL evaluation is the request Message, + but the name of the source + remote directory is also provided as the 'remoteDirectory' variable. + For example, a valid expression might be: + "'/local/' + #remoteDirectory.toUpperCase() + headers.foo". + Only used with 'get' and 'mget' commands. + This attribute is mutually exclusive with 'local-directory'. @@ -399,6 +454,16 @@ + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'true' by default, and a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + + @@ -427,24 +492,24 @@ - + - Identifies channel attached to this adapter. Depending on the type of the adapter + Identifies channel attached to this adapter. Depending on the type of the adapter this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where messages will be sent to by this adapter (e.g., inbound-channel-adapter). - + - - + + Allows you to specify Charset (e.g., US-ASCII, ISO-8859-1, UTF-8). [UTF-8] is default - - + + @@ -485,27 +550,7 @@ - - - - - - - - - Lifecycle attribute signaling if this component - should be started during - Application Context startup. - Default is - 'true' - - - + - diff --git a/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-3.0.xsd b/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-3.0.xsd deleted file mode 100644 index 5275e684f7..0000000000 --- a/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-3.0.xsd +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - Configures an inbound Channel Adapter backed by a - GemFire CacheListener - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Configures an inbound Channel Adapter backed by a - Spring Gemfire QueryListener - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Configures an outbound Channel Adapter that - writes Message to a Gemfire cache - - - - - - - A map of SpEL expressions used to create cache entries. If not - provided, payload must be a Map - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.1.xsd b/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.1.xsd index db4fb05c4e..5275e684f7 100644 --- a/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.1.xsd +++ b/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.1.xsd @@ -7,10 +7,10 @@ elementFormDefault="qualified" attributeFormDefault="unqualified"> + schemaLocation="http://www.springframework.org/schema/beans/spring-beans.xsd" /> + schemaLocation="http://www.springframework.org/schema/integration/spring-integration.xsd" /> - @@ -71,7 +71,7 @@ - @@ -85,8 +85,8 @@ - @@ -98,25 +98,24 @@ - - - - - - + + + @@ -152,7 +151,7 @@ + type="org.springframework.messaging.MessageChannel" /> @@ -181,18 +180,7 @@ - - - - - - - - - - - + @@ -205,7 +193,7 @@ reference to the "nullChannel" here. ]]> + type="org.springframework.messaging.MessageChannel" /> @@ -213,11 +201,11 @@ - - \ No newline at end of file + diff --git a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-3.0.xsd b/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-3.0.xsd deleted file mode 100644 index 53f394a43b..0000000000 --- a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-3.0.xsd +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - Configures an inner bean that will generate a - Groovy Script. - - - - - - - - - - - Reference to a GroovyObjectCustomizer bean to be applied to this script. - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a GroovyObjectCustomizer bean to be - applied to each script payload. - - - - - - - - - - diff --git a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd b/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd index dc60b9a20e..53f394a43b 100644 --- a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd +++ b/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.1.xsd @@ -7,10 +7,10 @@ elementFormDefault="qualified" attributeFormDefault="unqualified"> - + @@ -54,7 +54,7 @@ maxOccurs="1" /> - + diff --git a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-3.0.xsd b/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-3.0.xsd deleted file mode 100644 index b7a73719ac..0000000000 --- a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-3.0.xsd +++ /dev/null @@ -1,737 +0,0 @@ - - - - - - - - - - - - - - - Defines an inbound HTTP-based Channel Adapter. - - - - - - - - Defines configuration for org.springframework.integration.http.inbound.RequestMapping - as RESTFul attributes for Spring Integration HTTP Inbound Endpoints. - - - - - - - Specifies a Message header as a result of expression evaluation - against ServletRequest and URI Variables. - - - - - - - - - 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 an inbound HTTP-based Messaging Gateway. - - - - - - - - - - Defines configuration for org.springframework.integration.http.inbound.RequestMapping - as RESTFul attributes for Spring Integration HTTP Inbound Endpoints. - - - - - - - - - The producible media types of the mapped request, narrowing the primary mapping. - The format is a sequence of media types ("text/plain", "application/*), - with a request only mapped if the Accept matches one of these media types. - Expressions can be negated by using the "!" operator, as in "!text/plain", which matches - all requests with a Accept other than "text/plain". - - - - - - - - - - - Specifies a Message header as a result of expression evaluation - against ServletRequest and URI Variables. - - - - - - - - - - - - - The receiving Message Channel of this endpoint. - - - - - - - - Specify whether only the reply Message's payload should be passed in the response. - If this is set to 'false', the entire Message will be used to generate the response. - The default is 'true'. - - - - - - - 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. - - - - - - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default key of the MVC Controller's ModelAndView attribute - to keep a reply from underlying message flow. - Default is 'reply'. - - - - - - - - - - - - - - - - - - - - - - - Comma-separated URI paths (e.g., /orderId/{order}). - Ant-style path patterns are also supported (e.g. /myPath/*.do). - - - - - - - Comma-separated HTTP Method names. Determines which types of Request are - allowed with this Endpoint. - - - - - - - - - - View name to be resolved when rendering a response. - - - - - - - SpEL expression that resolves to a view to be resolved when rendering a response. - The expression can resolve to a view name or View object. - In the case of 'inbound-gateway' the root object of the evaluation context is the reply message. - In the case of 'inbound-channel-adapter' the 'evaluationContext' for this expression - is rather lightweight, because there is no reply message, ; it has a - 'BeanResolver' but no variables, - so the usage of this attribute is somewhat limited. - An example might be to resolve, at runtime, some scoped Bean that returns a - view name or View object. - This attribute is not allowed if there is a 'view-name' attribute. - - - - - - - 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 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). - - - - - - - Target type for payload that is the conversion result of the request. - - - - - - - Allows you to specify SpEL expression to construct a Message payload - - - - - - - List of HttpMessageConverters for this Channel Adapter. - - - - - - - Flag to indicate if the default converters should be registered after any custom - converters. This flag is used only if message-converters - are provided, otherwise all default converters will be registered. - - Defaults to "false" - - - - - - - - - - - - Specifies a reference to org.springframework.integration.mapping.HeaderMapper - implementation bean. Only one of 'header-mapper' or 'mapped-request-headers' attributes - can be provided. - - - - - - - - - - - - - - - - - The MessagingGateway's 'error-channel' where to send an ErrorMessage in case - of Exception is caused from original message flow. - - - - - - - - - Defines an outbound HTTP-based Channel Adapter. - - - - - - - - Specify an expression for URI variable placeholder within 'url'. - This element is mutually exclusive with 'uri-variables-expression' attribute. - - - - - - - - - - - Specify whether the outbound message's payload should be extracted - when preparing the request body. Otherwise the Message instance itself - will be serialized. - The default value is 'true'. - - - - - - - - - - Defines an outbound HTTP-based Messaging Gateway. - - - - - - - - - - Specify an expression for URI variable placeholder within 'url'. - - - - - - - - - - - - - - The receiving Message Channel of this endpoint. - - - - - - - - - - - - Specifies whether the outbound message's payload should be extracted - when preparing the request body. Otherwise the Message instance itself - will be serialized. - The default value is 'true'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines common configuration for gateway adapters. - - - - - - - - - - - - Identifies the channel to which this gateway will subscribe, to receive(send) reply Messages. - - - - - - - - - - Defines configuration for org.springframework.integration.http.inbound.RequestMapping - as RESTFul attributes for Spring Integration HTTP Inbound Endpoints. - - - - - - The parameters of the mapped request, narrowing the primary mapping. - A sequence of "myParam=myValue" style - expressions, with a request only mapped if each such parameter is found - to have the given value. - Expressions can be negated by using the "!=" operator, - as in "myParam!=myValue". - "myParam" style expressions are also supported, - with such parameters having to be present in the request (allowed to have - any value). - "!myParam" style expressions indicate that the - specified parameter is not supposed to be present in the request. - - - - - - - The headers of the mapped request, narrowing the primary mapping. - A sequence of "My-Header=myValue" style - expressions, with a request only mapped if each such header is found - to have the given value. - Expressions can be negated by using the "!=" operator, - as in "My-Header!=myValue". - "My-Header" style expressions are also supported, - with such headers having to be present in the request (allowed to have - any value). - "!My-Header" style expressions indicate that the - specified header is not supposed to be present in the request. - Also supports media type wildcards (*), for headers such as Accept - and Content-Type. For instance, headers = "content-type=text/*" - will match requests with a Content-Type of "text/html", "text/plain", etc. - - - - - - - The consumable media types of the mapped request, narrowing the primary mapping. - The format is a sequence of media types ("text/plain", "application/*), - with a request only mapped if the Content-Type matches one of these media types. - Expressions can be negated by using the "!" operator, as in "!text/plain", which matches - all requests with a Content-Type other than "text/plain". - - - - - - - - - - - - - - - - - - - - - - When set to "false", the real URI won't be encoded before the request is sent. This may be useful - in some scenarios as it allows user control over the encoding, if needed, - for example by using the "url-expression". Default is "true". - - - - - - - The HTTP method to use when executing requests with this adapter Default is POST. - This attribute cannot be provided if http-method-expression has a value. - - - - - - - - - - The SpEL expression to determine HTTP method, use when executing requests with this adapter, - dynamically. This attribute cannot be provided if http-method has a value. - - - - - - - - - - - - The reference to org.springframework.web.client.RestTemplate bean to send the HTTP Request. - - - - - - - Specify the charset name to use for converting String-typed payloads to bytes. - The default is 'UTF-8' - - - - - - - The expected type to which the response body should be converted. - Default is 'org.springframework.http.ResponseEntity'. - This attribute cannot be provided if expected-response-type-expression has a value - - - - - - - - - - - - SpEL expression to determine the type for the expected response to which the response body should be converted - The returned value of the expression could be an instance of java.lang.Class or - java.lang.String representing a fully qualified class name. - This attribute cannot be provided if expected-response-type has a value - - - - - - - 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. - - - - - - - - - - - - Specify a reference to org.springframework.integration.mapping.HeaderMapper - implementation bean. Only one of 'header-mapper' or 'mapped-request-headers' attributes - can be provided. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 bb6190f11a..b7a73719ac 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,13 +1,14 @@ + xmlns:tool="http://www.springframework.org/schema/tool" + xmlns:integration="http://www.springframework.org/schema/integration" + targetNamespace="http://www.springframework.org/schema/integration/http" elementFormDefault="qualified" + attributeFormDefault="unqualified"> - + + + + Defines an inbound HTTP-based Channel Adapter. + + - - - Defines an inbound HTTP-based Channel Adapter. - - - + + + + Defines configuration for org.springframework.integration.http.inbound.RequestMapping + as RESTFul attributes for Spring Integration HTTP Inbound Endpoints. + + + + + + + Specifies a Message header as a result of expression evaluation + against ServletRequest and URI Variables. + + + - - + + - [DEPRECATED since v2.1] Use the 'path' attribute if you want - to specify the path or the 'id' attribute if you simply want - to identify this component. - - When using the 'path' attribute, please ensure to also - declare a handler mapping bean of type - 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. - - This bean is used by the Spring MVC DispatcherServlet - to evaluate which URL maps to which inbound endpoint. - For more information please see the chapter on - 'Handler mappings' in the Spring Framework Reference - Documentation. + 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. - - - - - - - - - - - - - Target type for payload that is the conversion result of the request. - - - - - - - - - View name to be resolved when rendering a response. - This attribute is not allowed if there is a 'view-expression' attribute. - - - - - - - SpEL expression that resolves to a view to be resolved when rendering a response. - The expression can resolve to a view name or View object. - However, because there is no reply message, the - 'evaluationContext' for this expression is rather lightweight; it has a - 'BeanResolver' but no variables, - so the usage of this attribute is somewhat limited. - An example might be to resolve, at runtime, some scoped Bean that returns a - view name or View object. - This attribute is not allowed if there is a 'view-name' attribute. - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default key of the Errors (if the request cannot be handled). - Defaults to "errors" (similar to normal MVC - usage). - - - - - - - Allows you to specify SpEL expression to construct a Message payload - - - - - - - Allows you to specify the URI path (e.g., /orderId/{order}) - - When using the 'path' attribute, please ensure to also - declare a handler mapping bean of type - 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. - - This bean is used by the Spring MVC DispatcherServlet to - evaluate which URL maps to which inbound endpoint. For - more information please see the chapter on 'Handler mappings' - in the Spring Framework Reference Documentation. - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default error code under which the handling exception is exposed. - Defaults to - "spring.integration.http.handler.error" and is supplied with 3 - parameters: the exception itself, its message and - its stack trace as a String. - - - - - - - List of HttpMessageConverters for this Channel Adapter. - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Defines an inbound HTTP-based Messaging Gateway. + + - - - Defines an inbound HTTP-based Messaging Gateway. - - - + + + + Defines configuration for org.springframework.integration.http.inbound.RequestMapping + as RESTFul attributes for Spring Integration HTTP Inbound Endpoints. + + + + + + + + + The producible media types of the mapped request, narrowing the primary mapping. + The format is a sequence of media types ("text/plain", "application/*), + with a request only mapped if the Accept matches one of these media types. + Expressions can be negated by using the "!" operator, as in "!text/plain", which matches + all requests with a Accept other than "text/plain". + + + + + + + + + + + Specifies a Message header as a result of expression evaluation + against ServletRequest and URI Variables. + + + - + - - - - - [DEPRECATED since v2.1] Use the 'path' attribute if you want - to specify the path or the 'id' attribute if you simply want - to identify this component. - - When using the 'path' attribute, please ensure to also - declare a handler mapping bean of type - 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. - - This bean is used by the Spring MVC DispatcherServlet - to evaluate which URL maps to which inbound endpoint. - For more information please see the chapter on - 'Handler mappings' in the Spring Framework Reference - Documentation. + The receiving Message Channel of this endpoint. - - - + + - View name to be resolved when rendering a response. - This attribute is not allowed if there is a 'view-expression' attribute. - - - - - - - SpEL expression that resolves to a view to be resolved when rendering a response. - The expression can resolve to a view name or View object. - The root object of the evaluation context is the reply message. - This attribute is not allowed if there is a 'view-name' attribute. - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default key of the Errors (if the request cannot be handled). - Defaults to "errors" (similar to normal MVC usage). - - - - - - - Allows you to specify SpEL expression to construct a Message payload - - - - - - - Allows you to specify the URI path (e.g., /orderId/{order}) - - When using the 'path' attribute, please ensure to also - declare a handler mapping bean of type - 'org.springframework.integration.http.inbound.UriPathHandlerMapping'. - - This bean is used by the Spring MVC DispatcherServlet - to evaluate which URL maps to which inbound endpoint. - For more information please see the chapter on - 'Handler mappings' in the Spring Framework Reference - Documentation. - - - - - - - In the case that a view-name is specified this attribute can be used to - override the default error code under which the handling exception is exposed. - Defaults to "spring.integration.http.handler.error" and is supplied with 3 - parameters: the exception itself, its message and its stack trace as a String. + Specify whether only the reply Message's payload should be passed in the response. + If this is set to 'false', the entire Message will be used to generate the response. + The default is 'true'. @@ -282,48 +132,6 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - - - - Target type for payload that is the conversion result of the request. - - - - - - - List of HttpMessageConverters for this Gateway. - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + In the case that a view-name is specified this attribute can be used to + override the default key of the MVC Controller's ModelAndView attribute + to keep a reply from underlying message flow. + Default is 'reply'. + + + - + - - + + - Defines an outbound HTTP-based Channel Adapter. + Comma-separated URI paths (e.g., /orderId/{order}). + Ant-style path patterns are also supported (e.g. /myPath/*.do). - - - - - - - - - - - - - - - - - - - - - The HTTP method to use when executing requests with this adapter Default is POST. - This attribute cannot be provided if http-method-expression has a value. - - - - - - - - - - The SpEL expression to determine HTTP method, use when executing requests with this adapter, - dynamically. This attribute cannot be provided if http-method has a value. - - - - - - - - - - - - - - - - - - - - - - - - - - - The expected type to which the response body should be converted. - Default is 'org.springframework.http.ResponseEntity'. - This attribute cannot be provided if expected-response-type-expression has a value - - - - - - - - - - - - SpEL expression to determine the type for the expected response to which the response body should be converted - The returned value of the expression could be an instance of java.lang.Class or - java.lang.String representing a fully qualified class name. - This attribute cannot be provided if expected-response-type has a value - - - - - - - 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. - - - - - - - - - - - - - - - + + + + Comma-separated HTTP Method names. Determines which types of Request are + allowed with this Endpoint. + + + + + + + + + + View name to be resolved when rendering a response. + + + + + + + SpEL expression that resolves to a view to be resolved when rendering a response. + The expression can resolve to a view name or View object. + In the case of 'inbound-gateway' the root object of the evaluation context is the reply message. + In the case of 'inbound-channel-adapter' the 'evaluationContext' for this expression + is rather lightweight, because there is no reply message, ; it has a + 'BeanResolver' but no variables, + so the usage of this attribute is somewhat limited. + An example might be to resolve, at runtime, some scoped Bean that returns a + view name or View object. + This attribute is not allowed if there is a 'view-name' attribute. + + + + + + + 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 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). + + + + + + + Target type for payload that is the conversion result of the request. + + + + + + + Allows you to specify SpEL expression to construct a Message payload + + + + + + + List of HttpMessageConverters for this Channel Adapter. + + + + + + + Flag to indicate if the default converters should be registered after any custom + converters. This flag is used only if message-converters + are provided, otherwise all default converters will be registered. + + Defaults to "false" + + + + + + + + + + + + Specifies a reference to org.springframework.integration.mapping.HeaderMapper + implementation bean. Only one of 'header-mapper' or 'mapped-request-headers' attributes + can be provided. + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + ]]> + + + + + + + + + + + The MessagingGateway's 'error-channel' where to send an ErrorMessage in case + of Exception is caused from original message flow. + + + + + + + + + Defines an outbound HTTP-based Channel Adapter. + + + + + + + + Specify an expression for URI variable placeholder within 'url'. + This element is mutually exclusive with 'uri-variables-expression' attribute. + + + + + + + + - Specifies whether this adapter should start automatically. + Specify whether the outbound message's payload should be extracted + when preparing the request body. Otherwise the Message instance itself + will be serialized. + The default value is 'true'. @@ -522,99 +344,36 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re + + + Defines an outbound HTTP-based Messaging Gateway. + + - - - Defines an outbound HTTP-based Messaging Gateway. - - - + + + + Specify an expression for URI variable placeholder within 'url'. + + + - + - - - - - URL to which the requests should be sent. It may include {placeholders} for - evaluation against uri-variables. + The receiving Message Channel of this endpoint. - - - - - - - - - - The HTTP method to use when executing requests with this adapter. Default is POST. - This attribute cannot be provided if http-method-expression has a value. - - - - - - - - - - The SpEL expression to determine HTTP method, use when executing requests with this gateway, - dynamically. This attribute cannot be provided if http-method has a value. - - - - - - - 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. - Default is 'org.springframework.http.ResponseEntity'. - This attribute cannot be provided if expected-response-type-expression has a value - - - - - - - - - - - - SpEL expression to determine the type for the expected response to which the response body should be converted - The returned value of the expression could be an instance of java.lang.Class or - java.lang.String representing a fully qualified class name. - This attribute cannot be provided if expected-response-type has a value + Specifies whether the outbound message's payload should be extracted + when preparing the request body. Otherwise the Message instance itself + will be serialized. + The default value is 'true'. - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -790,11 +502,236 @@ The String "HTTP_REQUEST_HEADERS" will match against any of the standard HTTP Re - + + + Identifies the channel to which this gateway will subscribe, to receive(send) reply Messages. + + + + + + + + + + Defines configuration for org.springframework.integration.http.inbound.RequestMapping + as RESTFul attributes for Spring Integration HTTP Inbound Endpoints. + + + + + + The parameters of the mapped request, narrowing the primary mapping. + A sequence of "myParam=myValue" style + expressions, with a request only mapped if each such parameter is found + to have the given value. + Expressions can be negated by using the "!=" operator, + as in "myParam!=myValue". + "myParam" style expressions are also supported, + with such parameters having to be present in the request (allowed to have + any value). + "!myParam" style expressions indicate that the + specified parameter is not supposed to be present in the request. + + + + + + + The headers of the mapped request, narrowing the primary mapping. + A sequence of "My-Header=myValue" style + expressions, with a request only mapped if each such header is found + to have the given value. + Expressions can be negated by using the "!=" operator, + as in "My-Header!=myValue". + "My-Header" style expressions are also supported, + with such headers having to be present in the request (allowed to have + any value). + "!My-Header" style expressions indicate that the + specified header is not supposed to be present in the request. + Also supports media type wildcards (*), for headers such as Accept + and Content-Type. For instance, headers = "content-type=text/*" + will match requests with a Content-Type of "text/html", "text/plain", etc. + + + + + + + The consumable media types of the mapped request, narrowing the primary mapping. + The format is a sequence of media types ("text/plain", "application/*), + with a request only mapped if the Content-Type matches one of these media types. + Expressions can be negated by using the "!" operator, as in "!text/plain", which matches + all requests with a Content-Type other than "text/plain". + + + + + + + + + + + + + + + + + + When set to "false", the real URI won't be encoded before the request is sent. This may be useful + in some scenarios as it allows user control over the encoding, if needed, + for example by using the "url-expression". Default is "true". + + + + + + + The HTTP method to use when executing requests with this adapter Default is POST. + This attribute cannot be provided if http-method-expression has a value. + + + + + + + + + + The SpEL expression to determine HTTP method, use when executing requests with this adapter, + dynamically. This attribute cannot be provided if http-method has a value. + + + + + + + + + + + + The reference to org.springframework.web.client.RestTemplate bean to send the HTTP Request. + + + + + + + Specify the charset name to use for converting String-typed payloads to bytes. + The default is 'UTF-8' + + + + + + + The expected type to which the response body should be converted. + Default is 'org.springframework.http.ResponseEntity'. + This attribute cannot be provided if expected-response-type-expression has a value + + + + + + + + + + + + SpEL expression to determine the type for the expected response to which the response body should be converted + The returned value of the expression could be an instance of java.lang.Class or + java.lang.String representing a fully qualified class name. + This attribute cannot be provided if expected-response-type has a value + + + + + + + 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. + + + + + + + + + + + + Specify a reference to org.springframework.integration.mapping.HeaderMapper + implementation bean. Only one of 'header-mapper' or 'mapped-request-headers' attributes + can be provided. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-3.0.xsd b/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-3.0.xsd deleted file mode 100644 index 7e1af5f45f..0000000000 --- a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-3.0.xsd +++ /dev/null @@ -1,853 +0,0 @@ - - - - - - - - - - - - - - - Defines a udp inbound Channel Adapter for receiving incoming udp packets. - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is - thrown and an "error-channel" is specified, - the - MessagingException will be sent to this channel. Otherwise, any - such exception - will simply be logged by the channel adapter. - - - - - - - - - - - - - Defines an outbound UDP packet-sending Channel Adapter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies a specific Executor to be used for handling acknowledgments in - the UDP adapter. If not supplied, an internal - pooled executor will be used. Needed on some platforms that require - the use of specific - task executors such as a WorkManagerTaskExecutor. - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - - - - - - - - - - - A connection factory is needed by an inbound adapter. If the - connection factory has a type 'server', - the factory is 'owned' by this adapter. If it has a type 'client', it - is owned by an outbound channel - adapter and this adapter will receive any incoming messages on the - connection created by the outbound - adapter. - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an - "error-channel" is specified, - the MessagingException will be sent to this channel. Otherwise, any - such exception - will simply be logged by the channel adapter. - - - - - - - If set to true, causes the adapter to act as a client with respect - to - establishing the connection, rather than listening for incoming connections. - Requires a type="client" connection factory, with single-use set - to false. - Defaults to false. - - - - - - - - - - - - - - - - - - - - - - - A connection factory is needed by an outbound adapter. If the - connection factory has a type 'client', - the factory is 'owned' by this adapter. If it has a type 'server', it - is owned by an inbound channel - adapter and this adapter will attempt to correlate messages to the - connection on which an original - inbound message was received. - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - If set to true, causes the adapter to establish a connection when - started, - rather than when the first message is sent. - Requires a type="client" connection factory, with single-use set to false. - Defaults to false. - - - - - - - - - - - - - - - - - - - - A connection factory is needed by an inbound adapter. The - connection factory must be of type 'server'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an - "error-channel" is specified, - the MessagingException will be sent to this channel and the ultimate - response - of the error flow will be returned as a response by the gateway. If - no - "error-channel" is specified, any such exception - will simply be logged by the gateway. In such a situation, no response - is sent - to the client. - - - - - - - If set to true, causes the gateway to act as a client with respect - to - establishing the connection, rather than listening for incoming connections. - Requires a type="client" connection factory, with single-use set - to false. - Defaults to false. - - - - - - - - - - - - - - - - - - - - - - - A connection factory is needed by an outbound adapter. The - connection factory must be of 'client'. - - - - - - - - - - - - - - - - - - - - - - - - - When using a shared socket, specifies the time the gateway will wait - to get access to the socket to send the request. - - - - - - - - - - - - Specifies the time the gateway will wait for a reply - from the remote system. Prior to 2.2, this was specified - with the reply-timeout attribute. To provide easier migration, - this attribute defaults to the same value of the reply-timeout, - if supplied, or 10 seconds otherwise. - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - - - - - Connection factories can be 'client' or 'server'. Client factories - open a connection to a server using a host and port. Server factories - listen on a port and create a separate connection for each - incoming - connection request. - - - - - - - - - - - - - The host to which a client connection factory will connect. - - - - - - - For client factories, the port to which a client connection factory - will connect. - For server factories, the port on which the factory will listen for - incoming - connections. - - - - - - - If true, the factory will use java.nio.channel.SocketChannel for - communication; - for a large number of connections on the server side, this can - provide better - performance and may use fewer threads. - - - - - - - - - - - - - - If true, instructs the factory to use direct buffers if possible; - only applies if - using-nio is true. Refer to ByteBuffer javadocs for more information. - - - - - - - If true, a new connection will be created for each use. For inbound - adapters - where there is no outbound adapter sharing the factory, the connection - will - be closed after a message is received. For outbound adapters where - there is - no inbound adapter sharing the factory, or for inbound adapters - where an - outbound adapter shares the factory, the connection will be closed after - so-timeout milliseconds. For outbound adapters where an inbound - adapter shares - the factory, the connection will be closed after a response is - received. - - - - - - - - - - - - A Serializer that converts message payloads - to/from output streams/input streams - associated with the - connection. Default is ByteArrayCrLfSerializer. Serializer and - Deserializer - would normally be the same but this is not required. - - - - - - - - - - - - A Deserializer that converts message payloads to/from output - streams/input streams - associated with the connection. Default is ByteArrayCrLfSerializer. - Serializer and Deserializer - would normally be the same but this is not required. - - - - - - - On a multi-homed system, specifies the ip address of the network - interface used to communicate. - For inbound adapters and gateways, specifies the interface used to - listen for incoming connections. - If omitted, the endpoint will listen on all available adapters. For - the UDP multicast outbound adapter - specifies the interface to which multicast packets will be sent. For UDP - unicast and multicast - adapters, specifies which interface to which the acknowledgment socket will - be bound. Does not - apply to TCP outbound adapters and gateways. - - - - - - - A task executor for managing connections; if not specified a - cached thread pool task executor is used. - - - - - - - Specifies the connection backlog for server sockets. Does not - apply to client factories. - - - - - - - Whether or not to do a DNS reverse-lookup on the remote ip address to - insert the host name into the - message headers (ip_connectionId, ip_hostName). Default "true". - - - - - - - - - - - - - - - - When set to "true", adds sequenceNumber and correlationId headers to - messages originating from - connections created by this factory. Facilitates resequencing if necessary. - Default "false". - - - - - - - A reference to a TcpSSLContextSupport strategy implementation. - Providing this reference - enables SSL on connections created by this factory. A - DefaultTcpSSLContextSupport implementation - is provided that takes keystore and trustore names and passwords. - The SSLContext created by - this implementation is used to obtain socket factories (when - using-nio="false") or SSLEngine - instances (when using-nio="true"). When this attribute is omitted, normal - plain text - sockets are used. - - - - - - - - - - - - A reference to a TcpSocketSupport strategy implementation. Allows - post-processing Socket - and ServerSocket instances after creation and after configured - attributes are applied. - - - - - - - - - - - - A reference to a TcpSocketFactorySupport strategy implementation. - Allows customization - of the factories used to create sockets. The default implementation - returns default. - ServerSocketFactory and SocketFactory instances, unless an 'ssl-context-support' - attribute has been supplied, in which case the SSLContext obtained - therefrom is - used to create SSLServerSocketFactory and SSLSocketFactory instances. - - - - - - - - - - - - A reference to a TcpMessageMapper implementation. Allows - customization of headers in inbound messages by overriding - setCustomHeaders(). Default is TcpMessageMapper. - - - - - - - - - - - - - - - Configures an inbound Channel Adapter which - listens for TCP Connection - events, converts them to Messages and - sends them to a Message Channel. - - - - - - - - Comma delimited list of event types (classes that extend - TcpConnectionEvent) that this adapter - should send to the message channel. By default, all event types will be - sent [OPTIONAL]. - Note, it is NOT possible to filter by subtype, just class - for - example, the standard TcpConnectionEvent - class has 3 subtypes (OPEN, CLOSE, EXCEPTION). This feature is intended - to allow the adapter to - be used, say, to obtain just subclasses of TcpConnectionEvent - (perhaps generated by a - TcpConnectionInterceptor, perhaps to signal handshaking of some kind). - - - - - - - - - - - - The channel to which Messages generated from Application Context - events will be sent. - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an - error-channel is specified, - a MessagingException will be sent to this channel. Otherwise, any - such exception - will be propagated to the caller. - - - - - - - - - - - - - - The number of threads that will be used for socket/channel handling. - Only applies - if an external task-executor is NOT being used. When using an - external task executor, - its configuration specifies the number of threads. - - - - - - - - - Specifies a specific Executor to be used for socket handling. If not - supplied, an internal - pooled executor will be used (See pool-size). Needed on some platforms - that require the use of specific - task executors such as a WorkManagerTaskExecutor. - - - - - - - Whether or not to do a DNS reverse-lookup on the remote ip address to - insert the host name into the - message headers (ip_hostName). Default "true". - - - - - - - - - - - Common configuration for UDP-based adapters. - - - - - - - - - - - - - - - - - - - - On a multi-homed system, specifies the ip address of the network - interface used to communicate. - For inbound adapters and gateways, specifies the interface used to - listen for incoming connections. - If omitted, the endpoint will listen on all available adapters. For - the UDP multicast outbound adapter - specifies the interface to which multicast packets will be sent. For UDP - unicast and multicast - adapters, specifies which interface to which the acknowledgment socket will - be bound. Does not - apply to TCP outbound adapters and gateways. - - - - - - - - - - When in client mode, specifies the retry interval, in milliseconds, if - a connection - cannot be established. Defaults to 60000. - - - - - - - When in client mode, - provide a reference to the - TaskScheduler instance to - be used for establishing connections. If - not provided, the default - will use a thread pool of size 1. - - - - - - - - - - diff --git a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd b/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd index ea9c405cd4..7e1af5f45f 100644 --- a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd +++ b/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.1.xsd @@ -1,17 +1,15 @@ + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:tool="http://www.springframework.org/schema/tool" + xmlns:integration="http://www.springframework.org/schema/integration" + targetNamespace="http://www.springframework.org/schema/integration/ip" + elementFormDefault="qualified" attributeFormDefault="unqualified"> - - + + + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> - Defines a udp inbound Channel Adapter for receiving incoming udp packets. + Defines a udp inbound Channel Adapter for receiving incoming udp packets. - - + + - -The number of threads that will be used for socket/channel handling. Only applies -if an external task-executor is NOT being used. When using an external task executor, -its configuration specifies the number of threads. - - - - - - - - - Specifies a specific Executor to be used for socket handling. If not supplied, an internal - pooled executor will be used (See pool-size). Needed on some platforms that require the use of specific - task executors such as a WorkManagerTaskExecutor. - + + + + + - + - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception + If a (synchronous) downstream exception is + thrown and an "error-channel" is specified, + the + MessagingException will be sent to this channel. Otherwise, any + such exception will simply be logged by the channel adapter. - - - -Whether or not to do a DNS reverse-lookup on the remote ip address to insert the host name into the -message headers (ip_hostName). Default "true". - - - + @@ -78,15 +61,25 @@ message headers (ip_hostName). Default "true". - Defines an outbound UDP packet-sending Channel Adapter. + Defines an outbound UDP packet-sending Channel Adapter. - + + + + + + + + + + @@ -97,16 +90,19 @@ message headers (ip_hostName). Default "true". -Specifies a specific Executor to be used for handling acknowledgments in the UDP adapter. If not supplied, an internal -pooled executor will be used. Needed on some platforms that require the use of specific -task executors such as a WorkManagerTaskExecutor. + Specifies a specific Executor to be used for handling acknowledgments in + the UDP adapter. If not supplied, an internal + pooled executor will be used. Needed on some platforms that require + the use of specific + task executors such as a WorkManagerTaskExecutor. - Specifies the order for invocation when this endpoint is connected as a + Specifies the order for invocation when this + endpoint is connected as a subscriber to a SubscribableChannel. @@ -118,237 +114,263 @@ task executors such as a WorkManagerTaskExecutor. - - - - - - - - - - - - A connection factory is needed by an inbound adapter. If the connection factory has a type 'server', - the factory is 'owned' by this adapter. If it has a type 'client', it is owned by an outbound channel - adapter and this adapter will receive any incoming messages on the connection created by the outbound - adapter. - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will simply be logged by the channel adapter. - - - - - - - If set to true, causes the adapter to act as a client with respect to - establishing the connection, rather than listening for incoming connections. - Requires a type="client" connection factory, with single-use set to false. - Defaults to false. - - - - - - + + + + + + + + + + A connection factory is needed by an inbound adapter. If the + connection factory has a type 'server', + the factory is 'owned' by this adapter. If it has a type 'client', it + is owned by an outbound channel + adapter and this adapter will receive any incoming messages on the + connection created by the outbound + adapter. + + + + + + + + + + + + + + + + + + + + + If a (synchronous) downstream exception is thrown and an + "error-channel" is specified, + the MessagingException will be sent to this channel. Otherwise, any + such exception + will simply be logged by the channel adapter. + + + + + + + If set to true, causes the adapter to act as a client with respect + to + establishing the connection, rather than listening for incoming connections. + Requires a type="client" connection factory, with single-use set + to false. + Defaults to false. + + + + + - - - - - - - - - - - - - - - A connection factory is needed by an outbound adapter. If the connection factory has a type 'client', - the factory is 'owned' by this adapter. If it has a type 'server', it is owned by an inbound channel - adapter and this adapter will attempt to correlate messages to the connection on which an original - inbound message was received. - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - If set to true, causes the adapter to establish a connection when started, - rather than when the first message is sent. - Requires a type="client" connection factory, with single-use set to false. - Defaults to false. - - - - - - + + + + + + + + + + + + + A connection factory is needed by an outbound adapter. If the + connection factory has a type 'client', + the factory is 'owned' by this adapter. If it has a type 'server', it + is owned by an inbound channel + adapter and this adapter will attempt to correlate messages to the + connection on which an original + inbound message was received. + + + + + + + + + + + + + + + + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. + + + + + + + If set to true, causes the adapter to establish a connection when + started, + rather than when the first message is sent. + Requires a type="client" connection factory, with single-use set to false. + Defaults to false. + + + + + - - - - - - - - - - - - A connection factory is needed by an inbound adapter. The connection factory must be of type 'server'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel and the ultimate response - of the error flow will be returned as a response by the gateway. If no - "error-channel" is specified, any such exception - will simply be logged by the gateway. In such a situation, no response is sent - to the client. - - - - - - - If set to true, causes the gateway to act as a client with respect to - establishing the connection, rather than listening for incoming connections. - Requires a type="client" connection factory, with single-use set to false. - Defaults to false. - - - - - - + + + + + + + + + + A connection factory is needed by an inbound adapter. The + connection factory must be of type 'server'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + If a (synchronous) downstream exception is thrown and an + "error-channel" is specified, + the MessagingException will be sent to this channel and the ultimate + response + of the error flow will be returned as a response by the gateway. If + no + "error-channel" is specified, any such exception + will simply be logged by the gateway. In such a situation, no response + is sent + to the client. + + + + + + + If set to true, causes the gateway to act as a client with respect + to + establishing the connection, rather than listening for incoming connections. + Requires a type="client" connection factory, with single-use set + to false. + Defaults to false. + + + + + - - - - - - - - - - - - - - - A connection factory is needed by an outbound adapter. The connection factory must be of 'client'. - - - - - - - - - - - - - - - - - - - - - - - - - When using a shared socket, specifies the time the gateway will wait - to get access to the socket to send the request. - - - - - - + + + + + + + + + + + + A connection factory is needed by an outbound adapter. The + connection factory must be of 'client'. + + + + + + + + + + + + + + + + + + + + + + + + + When using a shared socket, specifies the time the gateway will wait + to get access to the socket to send the request. + + + + + + - - - - - - Specifies the time the gateway will wait for a reply - from the remote system. Prior to 2.2, this was specified - with the reply-timeout attribute. To provide easier migration, - this attribute defaults to the same value of the reply-timeout, - if supplied, or 10 seconds otherwise. - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - + + + + + + Specifies the time the gateway will wait for a reply + from the remote system. Prior to 2.2, this was specified + with the reply-timeout attribute. To provide easier migration, + this attribute defaults to the same value of the reply-timeout, + if supplied, or 10 seconds otherwise. + + + + + + + Specifies the order for invocation when this endpoint is connected as a + subscriber to a SubscribableChannel. + + + + - + -Connection factories can be 'client' or 'server'. Client factories -open a connection to a server using a host and port. Server factories -listen on a port and create a separate connection for each incoming -connection request. + Connection factories can be 'client' or 'server'. Client factories + open a connection to a server using a host and port. Server factories + listen on a port and create a separate connection for each + incoming + connection request. @@ -419,25 +441,30 @@ connection request. -The host to which a client connection factory will connect. + The host to which a client connection factory will connect. -For client factories, the port to which a client connection factory will connect. -For server factories, the port on which the factory will listen for incoming -connections. + For client factories, the port to which a client connection factory + will connect. + For server factories, the port on which the factory will listen for + incoming + connections. - + -If true, the factory will use java.nio.channel.SocketChannel for communication; -for a large number of connections on the server side, this can provide better -performance and may use fewer threads. + If true, the factory will use java.nio.channel.SocketChannel for + communication; + for a large number of connections on the server side, this can + provide better + performance and may use fewer threads. @@ -451,95 +478,105 @@ performance and may use fewer threads. -If true, instructs the factory to use direct buffers if possible; only applies if -using-nio is true. Refer to ByteBuffer javadocs for more information. + If true, instructs the factory to use direct buffers if possible; + only applies if + using-nio is true. Refer to ByteBuffer javadocs for more information. -If true, a new connection will be created for each use. For inbound adapters -where there is no outbound adapter sharing the factory, the connection will -be closed after a message is received. For outbound adapters where there is -no inbound adapter sharing the factory, or for inbound adapters where an -outbound adapter shares the factory, the connection will be closed after -so-timeout milliseconds. For outbound adapters where an inbound adapter shares -the factory, the connection will be closed after a response is received. + If true, a new connection will be created for each use. For inbound + adapters + where there is no outbound adapter sharing the factory, the connection + will + be closed after a message is received. For outbound adapters where + there is + no inbound adapter sharing the factory, or for inbound adapters + where an + outbound adapter shares the factory, the connection will be closed after + so-timeout milliseconds. For outbound adapters where an inbound + adapter shares + the factory, the connection will be closed after a response is + received. - + - + -A Serializer that converts message payloads to/from output streams/input streams -associated with the connection. Default is ByteArrayCrLfSerializer. Serializer and Deserializer -would normally be the same but this is not required. + A Serializer that converts message payloads + to/from output streams/input streams + associated with the + connection. Default is ByteArrayCrLfSerializer. Serializer and + Deserializer + would normally be the same but this is not required. - + - + -A Deserializer that converts message payloads to/from output streams/input streams -associated with the connection. Default is ByteArrayCrLfSerializer. Serializer and Deserializer -would normally be the same but this is not required. + A Deserializer that converts message payloads to/from output + streams/input streams + associated with the connection. Default is ByteArrayCrLfSerializer. + Serializer and Deserializer + would normally be the same but this is not required. -On a multi-homed system, specifies the ip address of the network interface used to communicate. -For inbound adapters and gateways, specifies the interface used to listen for incoming connections. -If omitted, the endpoint will listen on all available adapters. For the UDP multicast outbound adapter -specifies the interface to which multicast packets will be sent. For UDP unicast and multicast -adapters, specifies which interface to which the acknowledgment socket will be bound. Does not -apply to TCP outbound adapters and gateways. + On a multi-homed system, specifies the ip address of the network + interface used to communicate. + For inbound adapters and gateways, specifies the interface used to + listen for incoming connections. + If omitted, the endpoint will listen on all available adapters. For + the UDP multicast outbound adapter + specifies the interface to which multicast packets will be sent. For UDP + unicast and multicast + adapters, specifies which interface to which the acknowledgment socket will + be bound. Does not + apply to TCP outbound adapters and gateways. -A task executor for managing connections; if not specified a -cached thread pool task executor is used. + A task executor for managing connections; if not specified a + cached thread pool task executor is used. - + -Deprecated since 2.2; previously it specified the thread pool size if -an external task executor was not provided; it was also used to set -the connection backlog for server factories. That setting is now -specified by the backlog attribute. + Specifies the connection backlog for server sockets. Does not + apply to client factories. - + -Specifies the connection backlog for server sockets. Does not -apply to client factories. - - - - - - -Whether or not to do a DNS reverse-lookup on the remote ip address to insert the host name into the -message headers (ip_connectionId, ip_hostName). Default "true". + Whether or not to do a DNS reverse-lookup on the remote ip address to + insert the host name into the + message headers (ip_connectionId, ip_hostName). Default "true". @@ -547,32 +584,42 @@ message headers (ip_connectionId, ip_hostName). Default "true". - + - + -When set to "true", adds sequenceNumber and correlationId headers to messages originating from -connections created by this factory. Facilitates resequencing if necessary. Default "false". + When set to "true", adds sequenceNumber and correlationId headers to + messages originating from + connections created by this factory. Facilitates resequencing if necessary. + Default "false". -A reference to a TcpSSLContextSupport strategy implementation. Providing this reference -enables SSL on connections created by this factory. A DefaultTcpSSLContextSupport implementation -is provided that takes keystore and trustore names and passwords. The SSLContext created by -this implementation is used to obtain socket factories (when using-nio="false") or SSLEngine -instances (when using-nio="true"). When this attribute is omitted, normal plain text -sockets are used. + A reference to a TcpSSLContextSupport strategy implementation. + Providing this reference + enables SSL on connections created by this factory. A + DefaultTcpSSLContextSupport implementation + is provided that takes keystore and trustore names and passwords. + The SSLContext created by + this implementation is used to obtain socket factories (when + using-nio="false") or SSLEngine + instances (when using-nio="true"). When this attribute is omitted, normal + plain text + sockets are used. - + @@ -580,12 +627,15 @@ sockets are used. -A reference to a TcpSocketSupport strategy implementation. Allows post-processing Socket -and ServerSocket instances after creation and after configured attributes are applied. + A reference to a TcpSocketSupport strategy implementation. Allows + post-processing Socket + and ServerSocket instances after creation and after configured + attributes are applied. - + @@ -593,15 +643,34 @@ and ServerSocket instances after creation and after configured attributes are ap -A reference to a TcpSocketFactorySupport strategy implementation. Allows customization -of the factories used to create sockets. The default implementation returns default. -ServerSocketFactory and SocketFactory instances, unless an 'ssl-context-support' -attribute has been supplied, in which case the SSLContext obtained therefrom is -used to create SSLServerSocketFactory and SSLSocketFactory instances. + A reference to a TcpSocketFactorySupport strategy implementation. + Allows customization + of the factories used to create sockets. The default implementation + returns default. + ServerSocketFactory and SocketFactory instances, unless an 'ssl-context-support' + attribute has been supplied, in which case the SSLContext obtained + therefrom is + used to create SSLServerSocketFactory and SSLSocketFactory instances. - + + + + + + + + + A reference to a TcpMessageMapper implementation. Allows + customization of headers in inbound messages by overriding + setCustomHeaders(). Default is TcpMessageMapper. + + + + @@ -609,23 +678,118 @@ used to create SSLServerSocketFactory and SSLSocketFactory instances. + + + + Configures an inbound Channel Adapter which + listens for TCP Connection + events, converts them to Messages and + sends them to a Message Channel. + + + + + + + + Comma delimited list of event types (classes that extend + TcpConnectionEvent) that this adapter + should send to the message channel. By default, all event types will be + sent [OPTIONAL]. + Note, it is NOT possible to filter by subtype, just class - for + example, the standard TcpConnectionEvent + class has 3 subtypes (OPEN, CLOSE, EXCEPTION). This feature is intended + to allow the adapter to + be used, say, to obtain just subclasses of TcpConnectionEvent + (perhaps generated by a + TcpConnectionInterceptor, perhaps to signal handshaking of some kind). + + + + + + + + + + + + The channel to which Messages generated from Application Context + events will be sent. + + + + + + + + + + + + If a (synchronous) downstream exception is thrown and an + error-channel is specified, + a MessagingException will be sent to this channel. Otherwise, any + such exception + will be propagated to the caller. + + + + + + + + + + + + + + The number of threads that will be used for socket/channel handling. + Only applies + if an external task-executor is NOT being used. When using an + external task executor, + its configuration specifies the number of threads. + + + + + + + + + Specifies a specific Executor to be used for socket handling. If not + supplied, an internal + pooled executor will be used (See pool-size). Needed on some platforms + that require the use of specific + task executors such as a WorkManagerTaskExecutor. + + + + + + + Whether or not to do a DNS reverse-lookup on the remote ip address to + insert the host name into the + message headers (ip_hostName). Default "true". + + + + + + + - Common configuration for UDP-based adapters. + Common configuration for UDP-based adapters. - - - - - - - - - @@ -633,7 +797,7 @@ used to create SSLServerSocketFactory and SSLSocketFactory instances. - + @@ -641,51 +805,41 @@ used to create SSLServerSocketFactory and SSLSocketFactory instances. -On a multi-homed system, specifies the ip address of the network interface used to communicate. -For inbound adapters and gateways, specifies the interface used to listen for incoming connections. -If omitted, the endpoint will listen on all available adapters. For the UDP multicast outbound adapter -specifies the interface to which multicast packets will be sent. For UDP unicast and multicast -adapters, specifies which interface to which the acknowledgment socket will be bound. Does not -apply to TCP outbound adapters and gateways. + On a multi-homed system, specifies the ip address of the network + interface used to communicate. + For inbound adapters and gateways, specifies the interface used to + listen for incoming connections. + If omitted, the endpoint will listen on all available adapters. For + the UDP multicast outbound adapter + specifies the interface to which multicast packets will be sent. For UDP + unicast and multicast + adapters, specifies which interface to which the acknowledgment socket will + be bound. Does not + apply to TCP outbound adapters and gateways. - - - - - - - - - - - - - - + - When in client mode, specifies the retry interval, in milliseconds, if a connection - cannot be established. Defaults to 60000. + When in client mode, specifies the retry interval, in milliseconds, if + a connection + cannot be established. Defaults to 60000. - When in client mode, - provide a reference to the TaskScheduler instance to - be used for establishing connections. If not provided, the default + When in client mode, + provide a reference to the + TaskScheduler instance to + be used for establishing connections. If + not provided, the default will use a thread pool of size 1. diff --git a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-3.0.xsd b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-3.0.xsd deleted file mode 100644 index 772943a5b4..0000000000 --- a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-3.0.xsd +++ /dev/null @@ -1,1341 +0,0 @@ - - - - - - - - - - - - - - - Defines a MessageStore (and MessageGroupStore) - backed by a database. - - - - - - - - - Reference to a data source to use to access - the database. Either this or the jdbc-operations - must be - specified (but not both). - - - - - - - - - - - - - Reference to a JdbcOperations. Either - this or - the data-source must be - specified (but not both). - - - - - - - - - - - Unique string to use as a partition for the - data in this store, so that - multiple instances can - share the same - database tables. The default - is "DEFAULT". - - - - - - - Prefix for the table names in the database - (e.g. so that a schema can be specified, or to avoid - a clash - with - other tables). The default is "INT_". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an inbound Channel Adapter for polling a database. - - - - - - - - - - - An update query to execute when a message is - polled. If the poll is in a transaction then the - update will roll back if the transaction - does. - - - - - - - - - - - - An update query to execute when a message is - polled. If the poll is in a transaction then the - update will roll back if the transaction does. - The update can also be specified as a nested element. - - - - - - - - - Flag to indicate whether the update query - should be executed per message, or per row (in the - case that a message contains multiple rows). - - - - - - - - Limits the number of rows extracted per query (otherwise all rows - are extracted into the - outgoing message). - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the result of the - query. The - default factory creates a parameter source that treats a List in a special - way: the parameter name is used as an expression and projected onto the list, - so for instance "update foos set status=1 where id in (:id)" will generate - an in clause from the properties "id" of the input list elements. - - - - - - - - - - - - Reference to a static SqlParameterSource for the SELECT query used for polling. If - that query has - placeholders (e.g. "SELECT * from FOO where KEY=:key") they - will be bound from this source by name. - - - - - - - - - - - - - - - - Defines an outbound Channel Adapter for updating a - database. - - - - - - - - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the whole - outgoing message. The - default factory creates a bean - property parameter source so the query can specify named - parameters like :payload and :headers[foo]. - - - - - - - - - - - - Flag to indicate whether primary keys are generated by the query. - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - - - Defines an outbound Channel Gateway for updating a - database in response to a message on the request channel, and/or - for retrieving data from the database using the input message as - a source of parameters for the specified SQL select query. - - The database response will be used to create the response Message - on the reply channel. - - The response can be created from a query - supplied here, or (if keys-generated="true") can be the - primary keys generated from an auto-increment, or else just a - count of the number of rows affected by the update. The response - is in general a case insensitive Map (or list of maps if multi-valued), unless - a select query and a row-mapper is provided. If the update count is - returned then the map key is "UPDATE". - - - - - - - - - - - An update query to be executed when a message is - received. If this is in a transaction then the - update will roll back when the transaction does. - - The update can also be specified using the - "update" attribute. - - Since Spring Integration 2.2 specifying an - update query is optional, if at least the - select query is specified. - - If you specify both, update- and select - query, then the update is executed first. - - - - - - - - - - - - - An update query to execute when a message is - received. If this is in a transaction then the - update will roll back when the transaction does. - - The update can also be specified as a nested element. - - Since Spring Integration 2.2 specifying an - update query is optional, if at least the - select query is specified. - - If you specify both, update- and select - query, then the update is executed first. - - - - - - - - When using a select query, you can set a - custom limit regarding the number of rows - extracted. Otherwise by default only the first - row will be extracted into the outgoing message. - - If set to '0' all rows are extracted. - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the whole - outgoing message. The - default factory creates a bean - property parameter source so the query can specify named - parameters like :payload and :headers[foo]. - - - - - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the whole - outgoing message. The - default factory creates a bean - property parameter source so the query can specify named - parameters like :payload and :headers[foo]. - - - - - - - - - - - The receiving Message Channel of this endpoint. - - - - - - - - - - - - Message Channel to which replies should be sent, - after receiving the database response. - - - - - - - - - - - - - - - - - - Flag to indicate whether primary keys are generated by the query. If they are then - they can be used as a reply payload instead of providing a select query. A single - valued result is extracted before returning (the usual case), so the payload of the reply message - can be a Map (column name to value) or a list of maps. - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'true' by default, and a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - - - Reference to a data source to use to access the database. - Either this or the simple-jdbc-operations must be specified - (but not both). - - - - - - - - - - - - - Reference to a JdbcOperations. Either this or the - data-source must be specified (but not both). - - - - - - - - - - - - - - - - - - A select query to execute when a message is - polled. In general the query can return multiple - rows, because the result will be a List (of - type determined by the row mapper). - - - - - - - - - - A select query to execute when a message is - polled. In general the query can return multiple - rows, because - the result will be a List (of type determined by the row - mapper). The query can also be specified as - a nested element. - - - - - - - - - - - - - - - - Reference to a row mapper to use to convert - JDBC result set rows to message payloads. Optional - with default that maps result set row to a map - (column name to column value). - Other simple use cases can be handled with - out-of-the box implementations from Spring JDBC. - Others require a custom row mapper. - - - - - - - - - - - - - - - Defines an outbound Channel Adapter for updating a - database using stored procedures. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a SqlParameterSourceFactory. - - - - - - - - - - - - Channel from which messages will be output. - When a message is sent to this channel it will - cause the query - to be executed. - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - Defines an Outbound Channel Gateway for updating a database using - a stored procedure. The response of the stored procedure is used - to populate the Message for the reply channel. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a SqlParameterSourceFactory. The input is the whole - outgoing message. The - default factory creates a bean - property parameter source so the query can specify named - parameters like :payload and :headers[foo]. - - - - - - - - - - - If "true", a SQL Function is called. In that case - the "stored-procedure-name" attribute defines - the name of the called function. - - - - - - - - - - - - - - - - - - - - - - - - - - - - The receiving Message Channel of this endpoint. - - - - - - - - - - - - Message Channel to which replies should be sent, - after receiving the database response. - - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - Indicates the procedure's return value should be included - in the results returned. - - - - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'false' by default, if it set to 'true', a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - Defines an inbound Channel Adapter for polling a - database using a stored procedure or function. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If "true", a SQL Function is called. In that case - the "stored-procedure-name" attribute defines - the name of the called function. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates the procedure's return value should be included - in the results returned. - - - - - - - - - - Channel to which polled messages will be send. If the stored - procedure or function does not return any data, the payload - of the Message will be Null. - - - - - - - - - - - - - - - - Identifies the underlying Spring bean definition, which is an - instance of either 'EventDrivenConsumer' or 'PollingConsumer', - depending on whether the component's input channel is a - 'SubscribableChannel' or 'PollableChannel'. - - - - - - - The name of the stored procedure. If the "is-function" - attribute is "true", this attributes specifies the - function name. - - - - - - - The name of the stored procedure provided as a SpEL expression. - Components that use a Message as source of parameters have - full access to the message and its headers, in order to - derive a stored procedure name. - - The expression must resolve to a String. - - - - - - - Defines the maximum number of cached SimpleJdbcCallOperations - instances. Basically, for each Stored Procedure Name a new - SimpleJdbcCallOperations instance is created that in return - is being cached. The default cache size is '10'. A value of - '0' disables caching. Negative values are not permitted. - - - - - - - - - - Reference to a data source to use to access - the database. - - - - - - - - - - - - - If true, the JDBC parameter definitions for the stored procedure - are not automatically derived from the underlying JDBC connection. In - that case you must specify all Sql parameter definitions explicitly - using the 'sql-parameter-definition' sub-element. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a row mapper to use to convert - JDBC result set rows to message payloads. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a custom value handler for complex type. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd index ba12b7ef3f..772943a5b4 100644 --- a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd +++ b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.1.xsd @@ -6,7 +6,7 @@ - + - + @@ -177,27 +177,6 @@ - - - - - Channel to which polled messages will be sent. - - - - - - - - - - - - Flag to indicate that the poller should start automatically on startup (default true). - - - - @@ -249,6 +228,7 @@ + @@ -265,22 +245,6 @@ - - - - - - Channel from which messages will be output. - When a message is sent to this channel it will - cause the query - to be executed. - - - - - - - @@ -290,15 +254,6 @@ - - - - - Flag to indicate that the poller should start automatically on startup (default true). - - - - @@ -432,7 +387,7 @@ - + @@ -445,7 +400,7 @@ - + @@ -485,15 +440,6 @@ - - - - - Flag to indicate that the poller should start automatically on startup (default true). - - - - @@ -502,6 +448,16 @@ + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'true' by default, and a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + + @@ -705,7 +661,7 @@ to be executed. - + @@ -907,7 +863,7 @@ - + @@ -920,7 +876,7 @@ - + @@ -967,6 +923,15 @@ + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'false' by default, if it set to 'true', a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + @@ -1101,6 +1066,17 @@ + + + + Indicates the procedure's return value should be included + in the results returned. + + + + + + @@ -1110,7 +1086,7 @@ - + @@ -1177,14 +1153,7 @@ - - - - Flag to indicate that the poller should start automatically - on startup (default true). - - - + @@ -1245,9 +1214,15 @@ - + + + Reference to a row mapper to use to convert + JDBC result set rows to message payloads. + + + + + @@ -1285,12 +1260,32 @@ - - - + + + + + + + + + + + + + + + Reference to a custom value handler for complex type. + + + + + diff --git a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-3.0.xsd b/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-3.0.xsd deleted file mode 100644 index 7663d10173..0000000000 --- a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-3.0.xsd +++ /dev/null @@ -1,1486 +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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - Specify the message time to live. - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - Specify the default priority of the message. Overridden by the message priority - header, if present; range 0-9. - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - - - - - - - - - - Defines a JMS Message-Driven inbound Channel Adapter. - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'destination-name' and 'pub-sub-domain' which will rely upon the - DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - The boolean property used to configure the JmsTemplate with knowledge of what JMS domain is being used. By default the value of this property is 'false'', - indicating that the point-to-point domain, Queues, will be used. This property used by JmsTemplate determines the behavior of dynamic destination resolution - via implementations of the DestinationResolver interface. - - - - - - - Boolean property indicating whether to make the subscription durable. The durable subscription name to be used can be specified - through the "durableSubscriptionName" property. Default is "false". Set this to "true" to register a durable subscription, - typically in combination with a "durableSubscriptionName" value (unless your message listener class name is good enough as - subscription name). Only makes sense when listening to a topic (pub-sub domain). - - - - - - - The name of a durable subscription to create. To be applied in case of a topic (pub-sub domain) with subscription durability - activated. The durable subscription name needs to be unique within this client's JMS client id. Default is the class name of the - specified message listener. Note: Only 1 concurrent consumer (which is the default of this message listener container) is allowed - for each durable subscription. - - - - - - - The JMS client id for a shared Connection created and used by this container. Note that client ids need to be unique among all - active Connections of the underlying JMS provider. Furthermore, a client id can only be assigned if the original ConnectionFactory - hasn't already assigned one. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an error-channel is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will be propagated to the listener container and any JMS transaction will be - rolled back. Any synchronous downstream exceptions in the error flow will - also cause any JMS transaction to be rolled back. - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an inbound Channel Adapter for polling a JMS Destination. - - - - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'destination-name' and 'pub-sub-domain' which will rely upon the - DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Timeout for receive calls on the template. - NOTE: for JmsTemplate, 0 means indefinite while -1 means no-wait. - - - - - - - - - - - - - - - - - - - - - Defines an inbound JMS-based Messaging Gateway. - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'request-destination-name' and 'request-pub-sub-domain' which will rely - upon the DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use either 'default-reply-queue-name' or 'default-reply-topic-name' which - will rely upon the DestinationResolver strategy (DynamicDestinationResolver by default). - - - - - - - - - - - - - - - - - - - - - - - Allows to specify custom implementation of JmsHeaderMapper to map Message Headers to JMS Message. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an "error-channel" is specified, - the MessagingException will be sent to this channel; any response from - which will be returned as a reply by the gateway. If an "error-channel" is not - supplied, any such exception - will be propagated to the listener container and any JMS transaction will be - rolled back. Any synchronous downstream exceptions in the error flow will - also cause any JMS transaction to be rolled back. - - - - - - - - - - - - - - - - Boolean property indicating whether to make the subscription durable. The durable subscription name to be used can be specified - through the "durableSubscriptionName" property. Default is "false". Set this to "true" to register a durable subscription, - typically in combination with a "durableSubscriptionName" value (unless your message listener class name is good enough as - subscription name). Only makes sense when listening to a topic (pub-sub domain). - - - - - - - The name of a durable subscription to create. To be applied in case of a topic (pub-sub domain) with subscription durability - activated. The durable subscription name needs to be unique within this client's JMS client id. Default is the class name of the - specified message listener. Note: Only 1 concurrent consumer (which is the default of this message listener container) is allowed - for each durable subscription. - - - - - - - The JMS client id for a shared Connection created and used by this container. Note that client ids need to be unique among all - active Connections of the underlying JMS provider. Furthermore, a client id can only be assigned if the original ConnectionFactory - hasn't already assigned one. - - - - - - - - - - - - - - - - - - - - Defines an outbound JMS-based Messaging Gateway. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Timeout for the JMS MessageConsumer to receive the JMS reply Message. Default is 5 seconds. - - - - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'request-destination-name' and 'request-pub-sub-domain' which will rely - upon the DestinationResolver strategy (DynamicDestinationResolver by default). This - attribute is mutually exclusive with 'request-destination-name' and - 'request-destination-expression'. - - - - - - - - - - - - Name of a destination to which request messages will be sent. This name will be handled - by this gateway's DestinationResolver. This attribute is mutually exclusive with - 'request-destination' and 'request-destination-expression'. - - - - - - - A SpEL expression to be evaluated at runtime against each Spring Integration request Message as - the root object. The result should be either a Destination instance or a String representing - the destination name. In the latter case, it will be passed to this adapter's DestinationResolver. - This attribute is mutually exclusive with 'request-destination' and 'request-destination-name'. - - - - - - - When resolving a request destination name (rather than a 'request-destination' reference or - a 'request-destination-expression' that evaluates to a destination), - a true value here specifies that the DestinationResolver should resolve Topics rather than Queues. - Default is false. - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'reply-destination-name' and 'reply-pub-sub-domain' which will rely - upon the DestinationResolver strategy (DynamicDestinationResolver by default). - This attribute is mutually exclusive with - 'reply-destination-name' and 'reply-destination-expression'. - - - - - - - - - - - - Name of a destination which will be used for the replyTo header. This name will be handled - by this gateway's DestinationResolver. This attribute is mutually exclusive with - 'reply-destination' and 'reply-destination-expression'. - - - - - - - A SpEL expression to be evaluated at runtime against each Spring Integration request Message as - the root object. The result should be either a Destination instance or a String representing - the destination name. In the latter case, it will be passed to this adapter's DestinationResolver - together with the reply-pub-sub-domain attribute. - This attribute is mutually exclusive with 'reply-destination' and 'reply-destination-name'. - - - - - - - When resolving a reply destination name (rather than a 'reply-destination' reference or - a 'reply-destination-expression' that evaluates to a destination), - a true value here specifies that the DestinationResolver should resolve Topics rather than Queues. - Default is false. - - - - - - the correlation data includes a UUID - representing the gateway as well as a message identifier. For this reason, the use of a - requires the specification of a 'correlation-key' if an - explicit reply-destination is provided. - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A reference to an implementation of JmsHeaderMapper to map Message Headers to JMS Message. Default - is a 'DefaultJmsHeaderMapper'. - - - - - - - - When 'true' (default), this attribute indicates that the JMS Message body will be created - (by the MessageConverter) from the Spring Integration Message's payload. - When 'false', the entire Spring Integration Message will be converted to the JMS Message body. - In both cases, the message headers will be mapped to JMS headers/properties by the HeaderMapper. - - - - - - - When 'true' (default), this attribute indicates that the payload of the Spring Integration - reply message will be created from the 'JMS Message' body (by the MessageConverter). - When 'false', the Spring Integration Message payload will be the entire JMS Message. - In both cases, the JMS Message headers/properties will be mapped to message headers - by the HeaderMapper. - - - - - - - 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. - - - - - - - Specify the message time to live. - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - Specify the default priority of the message. Overridden by the message priority - header, if present; range 0-9 - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - - - - - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'true' by default, and a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - Defines an outbound JMS Message-sending Channel Adapter. - - - - - - - - - - - - - A reference to a javax.jms.Destination by bean name. As an alternative to a bean - reference, use 'destination-name' and 'pub-sub-domain' which will rely upon the - DestinationResolver strategy (DynamicDestinationResolver by default). This attribute - is mutually exclusive with 'destination-name' and 'destination-expression'. - - - - - - - - - - - - Name of the destination to which JMS Messages will be sent. This will be passed to the - adapter's DestinationResolver. This attribute is mutually exclusive with 'destination' - and 'destination-expression'. - - - - - - - A SpEL expression to be evaluated at runtime against each Spring Integration Message as - the root object. The result should be either a Destination instance or a String representing - the destination name. In the latter case, it will be passed to this adapter's DestinationResolver. - If the evaluation result is null, messages will be sent to the default destination of the - underlying JmsTemplate. This attribute is mutually exclusive with 'destination' and 'destination-name'. - - - - - - - If true, specifies that destination names should resolve to Topics rather than Queues. Default is false. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specify a boolean value indicating whether the delivery mode should be - DeliveryMode.PERSISTENT (true) or DeliveryMode.NON_PERSISTENT (false). - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - Specify the message time to live. - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - Specify the default priority of the message. Overridden by the message priority - header, if present; range 0-9. - This setting will only take effect if 'explicit-qos-enabled' is true. - - - - - - - - - - - - - - - - - - - - - - Common configuration for message-driven inbound JMS-based adapters. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Common configuration for inbound JMS-based adapters. - - - - - - - - - - - - - - - - - - - - - A JMS Message Selector expression. - - - - - - - - - - - - Defines a Transformer for adding statically configured JMS Headers. - - - - - - - - - The ReplyTo Destination for the JMS Message. - - - - - - - The Correlation ID for the JMS Message. - - - - - - - - Specify the default boolean value for whether to overwrite existing header values. This will only take effect for - sub-elements that do not provide their own 'overwrite' attribute. If the 'default-overwrite' attribute is not - provided, then the specified header values will NOT overwrite any existing ones with the same header names. - - - - - - - - - - - - - - - - - - - - - - - - - - Boolean value to indicate whether this header value should overwrite an existing header value for the same name. - - - - - - - - - - - - Common configuration for JMS-based adapters. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specify the number of concurrent consumers to create. Default is 1. - Specifying a higher value for this setting will increase the standard - level of scheduled concurrent consumers at runtime: This is effectively - the minimum number of concurrent consumers which will be scheduled - at any given time. This is a static setting; for dynamic scaling, - consider specifying the "maxConcurrentConsumers" setting instead. - Raising the number of concurrent consumers is recommendable in order - to scale the consumption of messages coming in from a queue. However, - note that any ordering guarantees are lost once multiple consumers are - registered - - - - - - - Specify the maximum number of concurrent consumers to create. Default is 1. - If this setting is higher than "concurrentConsumers", the listener container - will dynamically schedule new consumers at runtime, provided that enough - incoming messages are encountered. Once the load goes down again, the number of - consumers will be reduced to the standard level ("concurrentConsumers") again. - Raising the number of concurrent consumers is recommendable in order - to scale the consumption of messages coming in from a queue. However, - note that any ordering guarantees are lost once multiple consumers are - registered. - - - - - - - Specify the level of caching that this listener container is allowed to apply: - CACHE_NONE = 0 - CACHE_CONNECTION = 1 - CACHE_SESSION = 2 - CACHE_CONSUMER = 3 - - - - - - - Specify the maximum number of messages to process in one task. - More concretely, this limits the number of message reception attempts - per task, which includes receive iterations that did not actually - pick up a message until they hit their timeout - - - - - - - - Interval in miliseconds between the recovery attempts - - - - - - - Specify the limit for the number of consumers that are allowed to be idle at any given time. - This limit is used to determine if a new invoker should be created. Increasing the limit causes - invokers to be created more aggressively. This can be useful to ramp up the - number of invokers faster. - The default is 1, only scheduling a new invoker (which is likely to - be idle initially) if none of the existing invokers is currently idle. - - - - - - - Specify the limit for idle executions of a consumer task, not having - received any message within its execution. If this limit is reached, - the task will shut down and leave receiving to other executing tasks. - The default is 1, closing idle resources early once a task didn't - receive a message. - - - - - - - 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 5e16ef13e4..7663d10173 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-3.0.xsd"/> - - - - - - - - - - @@ -377,6 +360,7 @@ + @@ -441,11 +425,24 @@ + + + + + + + + + + - + @@ -465,7 +462,7 @@ - + @@ -528,7 +525,7 @@ - + @@ -639,7 +636,7 @@ - + @@ -649,7 +646,7 @@ - + @@ -659,7 +656,7 @@ - + @@ -782,7 +779,7 @@ - + @@ -791,7 +788,7 @@ - + @@ -864,7 +861,8 @@ - When resolving a request destination name (rather than having a 'request-destination' reference), + When resolving a request destination name (rather than a 'request-destination' reference or + a 'request-destination-expression' that evaluates to a destination), a true value here specifies that the DestinationResolver should resolve Topics rather than Queues. Default is false. @@ -872,11 +870,13 @@ - + 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). - + This attribute is mutually exclusive with + 'reply-destination-name' and 'reply-destination-expression'. + @@ -884,8 +884,36 @@ - - + + + + Name of a destination which will be used for the replyTo header. This name will be handled + by this gateway's DestinationResolver. This attribute is mutually exclusive with + 'reply-destination' and 'reply-destination-expression'. + + + + + + + A SpEL expression to be evaluated at runtime against each Spring Integration request Message as + the root object. The result should be either a Destination instance or a String representing + the destination name. In the latter case, it will be passed to this adapter's DestinationResolver + together with the reply-pub-sub-domain attribute. + This attribute is mutually exclusive with 'reply-destination' and 'reply-destination-name'. + + + + + + + When resolving a reply destination name (rather than a 'reply-destination' reference or + a 'reply-destination-expression' that evaluates to a destination), + a true value here specifies that the DestinationResolver should resolve Topics rather than Queues. + Default is false. + + + the correlation data includes a UUID + representing the gateway as well as a message identifier. For this reason, the use of a + requires the specification of a 'correlation-key' if an + explicit reply-destination is provided. ]]> + @@ -912,6 +949,9 @@ + @@ -939,20 +979,31 @@ - Allows to specify custom implementation of JmsHeaderMapper to map Message Headers to JMS Message. + A reference to an implementation of JmsHeaderMapper to map Message Headers to JMS Message. Default + is a 'DefaultJmsHeaderMapper'. - - - + - + + When 'true' (default), this attribute indicates that the JMS Message body will be created + (by the MessageConverter) from the Spring Integration Message's payload. + When 'false', the entire Spring Integration Message will be converted to the JMS Message body. + In both cases, the message headers will be mapped to JMS headers/properties by the HeaderMapper. + + + + + + + When 'true' (default), this attribute indicates that the payload of the Spring Integration + reply message will be created from the 'JMS Message' body (by the MessageConverter). + When 'false', the Spring Integration Message payload will be the entire JMS Message. + In both cases, the JMS Message headers/properties will be mapped to message headers + by the HeaderMapper. + @@ -989,7 +1040,6 @@ ]]> - + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'true' by default, and a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + + @@ -1060,7 +1120,7 @@ - + @@ -1141,6 +1201,11 @@ + @@ -1148,6 +1213,22 @@ + + + + + + + + + + + @@ -1290,7 +1371,7 @@ - + @@ -1299,7 +1380,7 @@ - + @@ -1308,7 +1389,7 @@ - + @@ -1402,4 +1483,4 @@ - \ No newline at end of file + diff --git a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-3.0.xsd b/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-3.0.xsd deleted file mode 100644 index 28dc8ecf52..0000000000 --- a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-3.0.xsd +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - - - - - - - - - Defines an inbound Channel Adapter that polls for JMX attribute values. - - - - - - - - - - - - - - - - - - Defines an inbound Channel Adapter that polls for JMX MBeans. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an outbound Gateway which allows for Message-driven invocation of managed operations that - return values - - - - - - - - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'true' by default, and ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - Defines an outbound Channel Adapter for invoking JMX operations. - - - - - - - - - - - - - - - - - of ObjectNames or ObjectName patterns. - ]]> - - - - - - - - - - - - - - - - Defines an outbound Channel Adapter that publishes JMX notifications. - - - - - - - - - - - - - - - - - - Exports Message Channels and Endpoints as MBeans. - - - - - - - - - The domain name for the MBeans exported by this Exporter. - - - - - - - - - - - - Static object properties to be used for this domain. These properties are appended to - the ObjectName of all MBeans registered by this component. - - - - - - - Comma separated list of simple patterns for component names to register (defaults to '*'). - The pattern is applied to all components before they are registered, looking for a match on - the 'name' property of the ObjectName. A MessageChannel and a MessageHandler (for instance) - can share a name because they have a different type, so in that case they would either both - be included or both excluded. - - - - - - - - - - - - An Executor used when shutting down the application using the 'stopActiveComponents()' - method. Only required when invoking the operation on a Spring-managed thread, such as - via a from, say, an error flow. Using this executor avoids the - problem where the shutdown will wait for the current thread to terminate, time out, - and then force-close other components. When a dedicated executor is supplied, - the method will not wait on its threads to complete, and will terminate normally. - It is recommended that the executor used here is dedicated for this purpose and - not used elsewhere. - - - - - - - - - - - - An ObjectNamingStrategy to generate the MBean's ObjectName. See the reference documentation - for details of the default ObjectName. Also see 'object-name-static-properties'. - - - - - - - - - - - - Defines inbound operation invoking type - - - - - - - - - A string to be parsed into an ObjectName object. If this - attribute is specified you cannot specify `query-name-ref`. - - - - - - - A reference to an ObjectName instance. If this - attribute is specified you cannot specify `query-name`. - - - - - - - - - - - - A string to be parsed into a QueryExp object. If this - attribute is specified you cannot specify `query-expression-ref`. - - - - - - - A reference to a QueryExp instance. If this - attribute is specified you cannot specify `query-expression`. - - - - - - - - - - - - A reference to an MBeanObjectConverter. - - - - - - - - - - - - - - - - - Defines inbound operation invoking type - - - - - - - - - - - - - - - Defines outbound operation invoking type - - - - - - - - - - - - - - - - Defines the name of the MBeanServer bean to connect to. - - - - - - diff --git a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd b/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd index 242d40e084..28dc8ecf52 100644 --- a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd +++ b/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.1.xsd @@ -6,7 +6,7 @@ - + - + + + + + Defines an inbound Channel Adapter that polls for JMX MBeans. + + + + + + + + + + + + + + + + + + + + + + + + @@ -47,6 +75,15 @@ + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'true' by default, and ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + @@ -167,11 +204,92 @@ + + + + + + + + + An ObjectNamingStrategy to generate the MBean's ObjectName. See the reference documentation + for details of the default ObjectName. Also see 'object-name-static-properties'. + + + + + + + Defines inbound operation invoking type + + + + + + + + + A string to be parsed into an ObjectName object. If this + attribute is specified you cannot specify `query-name-ref`. + + + + + + + A reference to an ObjectName instance. If this + attribute is specified you cannot specify `query-name`. + + + + + + + + + + + + A string to be parsed into a QueryExp object. If this + attribute is specified you cannot specify `query-expression-ref`. + + + + + + + A reference to a QueryExp instance. If this + attribute is specified you cannot specify `query-expression`. + + + + + + + + + + + + A reference to an MBeanObjectConverter. + + + + + + + + + + + + + @@ -182,6 +300,7 @@ + diff --git a/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-3.0.xsd b/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-3.0.xsd deleted file mode 100644 index e8f2a2e4bd..0000000000 --- a/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-3.0.xsd +++ /dev/null @@ -1,661 +0,0 @@ - - - - - - - - - - - - - - - The definition for the Spring Integration JPA Inbound Channel Adapter. - - - - - - - - - - - - - - - - - - - - - - - - - specifies the parameter source that would be used to - provide additional parameters. - - - - - - - - - - - - - - - - - Defines an outbound Channel Adapter for updating a - database using the Java Persistence API (JPA). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to a ParameterSourceFactory. - - - - - - - - - - - - Channel from which messages will be output. - When a message is sent to this channel it will - cause the query - to be executed. - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - - - - Defines the Spring Integration JPA Outbound Gateway - - - - - - - - - - - - - - - - - - - - - - - - - Defines a Spring Integration JPA Outbound Gateway - - - - - - - - - - - - - - - - - - - The attribute that is used to set the first result marker while executing the - results. A negative value will retrieve from first record in the result set. - It is a way for the application to use the gateway to paginate the results in - combination with the max-results attribute. This attribute is mutually - exclusive to first-result-expression attribute - - - - - - - The attribute that is used to set the first result expression that would - be evaluated to get the first record while executing the JPA query for result - A negative value will retrieve from first record in the result set. - It is a way for the application to use the gateway to paginate the results in - combination with the max-results attribute. This attribute is mutually - exclusive to first-result attribute - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The receiving Message Channel of this endpoint. - - - - - - - - - - - - Message Channel to which replies should be - sent, after receiving the database response. - - - - - - - - - - - - - - - - - - - - - - The parameter source factory that would be used for evaluating the - parameters of the response JPA QL that would be evaluated - JPA outbound gateway - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - Specifies whether this outbound gateway must return a non-null value. This value is - 'true' by default, and a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - - - - - - - Specifies whether EntityManager.flush() should be called after performing persistence operations. - If 'flush-size' is configured to a value greater than '0' this attribute will be ignored. - Defaults to 'false'. - - - - - - - Specifies the number of entities after which to call EntityManager.flush() - when performing persistence operations. - This attribute is applicable for payload instances of "java.lang.Iterable". - Defaults to '0' - 'flush' won't be called. - This attribute has precedence over the 'flush' attribute, - if it is configured to a value greater than '0'. - If the entity to persist is not an instance of "java.lang.Iterable" - and 'flush-size' is greater than '0', - then the entity will be flushed as if the 'flush' attribute was set to 'true'. - - - - - - - Specifies whether EntityManager.clear() should be called after EntityManager.flush(). - Applies only if 'flush-size > 0' or 'flush = true'. - Defaults to 'false'. - - - - - - - - - - [DEPRECATED] Use 'max-results' instead. - - - - - - - Specifies the maximum number of entities that shall be returned - by a JPA Operation. Using this attribute sets - the 'maxResults' property of the JPA Query object. This attribute is mutually - exclusive with 'max-results-expression' (and the deprecated 'max-number-of-results') attributes. - - - - - - - Specifies the expression for the maximum number of entities that shall be returned - by a JPA Operation. Using this attribute sets - the 'maxResults' property of the JPA Query object. This attribute is mutually - exclusive with the 'max-results' attribute. - - - - - - - - - - - - - - - - Once entities have been retrieved from the database, shall - they be removed from the database? - - If instead of deleting the retrieved entities, you would - rather like to updated them, e.g. setting a flag in a - column marking the record as retrieved, please consider - using a subsequent Outbound Gateway (coupled with a payload enricher). - - - - - - - - - - If you want to automatically remove retrieved entities from - the database you can also specify using the 'delete-in-batch' - attribute, whether the list of retrieved objects shall be - deleted on a 'per-object-basis (false) or whether the objects - shall be removed using a batch operation (true). The - attribute defaults to 'false'. - - - - - - - - - - Specifies whether EntityManager.flush() should be called after performing 'deletes' for retrieved entities. - Applies only if 'delete-after-poll = true'. - Defaults to 'false'. - - - - - - - - - - Identifies the underlying Spring bean definition, which is an - instance of either 'EventDrivenConsumer' or 'PollingConsumer', - depending on whether the component's input channel is a - 'SubscribableChannel' or 'PollableChannel'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-4.1.xsd b/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-4.1.xsd index 33a0068d92..e8f2a2e4bd 100644 --- a/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-4.1.xsd +++ b/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-4.1.xsd @@ -9,7 +9,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> - + @@ -222,6 +222,29 @@ + + + + The attribute that is used to set the first result marker while executing the + results. A negative value will retrieve from first record in the result set. + It is a way for the application to use the gateway to paginate the results in + combination with the max-results attribute. This attribute is mutually + exclusive to first-result-expression attribute + + + + + + + The attribute that is used to set the first result expression that would + be evaluated to get the first record while executing the JPA query for result + A negative value will retrieve from first record in the result set. + It is a way for the application to use the gateway to paginate the results in + combination with the max-results attribute. This attribute is mutually + exclusive to first-result attribute + + + @@ -363,6 +386,15 @@ + + + + Specifies whether this outbound gateway must return a non-null value. This value is + 'true' by default, and a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + @@ -379,18 +411,69 @@ + + + + Specifies whether EntityManager.flush() should be called after performing persistence operations. + If 'flush-size' is configured to a value greater than '0' this attribute will be ignored. + Defaults to 'false'. + + + + + + + Specifies the number of entities after which to call EntityManager.flush() + when performing persistence operations. + This attribute is applicable for payload instances of "java.lang.Iterable". + Defaults to '0' - 'flush' won't be called. + This attribute has precedence over the 'flush' attribute, + if it is configured to a value greater than '0'. + If the entity to persist is not an instance of "java.lang.Iterable" + and 'flush-size' is greater than '0', + then the entity will be flushed as if the 'flush' attribute was set to 'true'. + + + + + + + Specifies whether EntityManager.clear() should be called after EntityManager.flush(). + Applies only if 'flush-size > 0' or 'flush = true'. + Defaults to 'false'. + + + - Specifies the maximum number of entities that shall be returned - by a JPA Operation. Using this attribute you basically set - the 'maxResults' property of the JPA Query object. + [DEPRECATED] Use 'max-results' instead. + + + + Specifies the maximum number of entities that shall be returned + by a JPA Operation. Using this attribute sets + the 'maxResults' property of the JPA Query object. This attribute is mutually + exclusive with 'max-results-expression' (and the deprecated 'max-number-of-results') attributes. + + + + + + + Specifies the expression for the maximum number of entities that shall be returned + by a JPA Operation. Using this attribute sets + the 'maxResults' property of the JPA Query object. This attribute is mutually + exclusive with the 'max-results' attribute. + + + + + + + Specifies whether EntityManager.flush() should be called after performing 'deletes' for retrieved entities. + Applies only if 'delete-after-poll = true'. + Defaults to 'false'. + + + @@ -555,17 +647,7 @@ - - - - Flag to indicate that the component should start automatically - on startup (default true). - - - - - - + diff --git a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-3.0.xsd b/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-3.0.xsd deleted file mode 100644 index b2c1baf690..0000000000 --- a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-3.0.xsd +++ /dev/null @@ -1,348 +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. - - - - - - - - - - - - - - - - - - - - - - Reference to a custom implementation of org.springframework.integration.mail.SearchTermStrategy - to use when retrieving email. Only permitted with 'imap' protocol or an 'imap' uri. - By default, the ImapMailReceiver will search for Messages based on the default SearchTerm - which is "All mails that are RECENT (if supported), that are NOT ANSWERED, that are NOT DELETED, that are NOT SEEN and have not - been processed by this mail receiver (enabled by the use of the custom USER flag or simply NOT FLAGGED if not supported)". - - - - - - - - - - - - Defines an IMAP IDLE channel adapter. - - - - - - - - - - - - - - - - - If a (synchronous) downstream exception is thrown and an error-channel is specified, - the MessagingException will be sent to this channel. Otherwise, any such exception - will simply be logged as a warning by the channel adapter. - - - - - - - - - - - - Reference to a custom implementation of org.springframework.integration.mail.SearchTermStrategy - to use when retrieving email. - By default, the ImapMailReceiver will search for Messages based on the default SearchTerm - which is "All mails that are RECENT (if supported), that are NOT ANSWERED, that are NOT DELETED, that are NOT SEEN and have not - been processed by this mail receiver (enabled by the use of the custom USER flag or simply NOT FLAGGED if not supported)". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 99e55eb465..b2c1baf690 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-3.0.xsd"/> - - - - - - - - - - + @@ -62,7 +53,6 @@ - @@ -133,7 +123,7 @@ + type="org.springframework.messaging.MessageChannel" /> @@ -181,25 +171,7 @@ - - - - A unique identifier for this Channel Adapter. - - - - - - - Reference for the MessageChannel to which this adapter will send Messages. - - - - - - - - + - - - - Specify whether this endpoint should be started automatically. The default is TRUE. - - - @@ -330,12 +295,12 @@ 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. + provided, then the specified header values will NOT overwrite any existing ones with the same header names. - + @@ -364,7 +329,7 @@ - + @@ -373,11 +338,11 @@ - + - + - \ No newline at end of file + diff --git a/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-3.0.xsd b/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-3.0.xsd deleted file mode 100644 index 0917faa5b3..0000000000 --- a/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-3.0.xsd +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - - - - - - - Defines mongodb inbound channel adapter that - creates - - - - - - - - - - - - String representation of MongoDb Query (e.g., - query="{'name' : 'Bob'}"). - Please refer to MongoDb documentation for more query samples - http://www.mongodb.org/display/DOCS/Querying - This attribute is - mutually exclusive with 'query-expression' attribute. - - - - - - - SpEL expression which should resolve to a - String value identifying the - MongoDb Query. Also see 'query' attribute - This attribute is mutually exclusive with 'query' attribute. - - - - - - - - The fully qualified name of the entity class to be passed to - find(..) or findOne(..) method MongoTemplate. - If this attribute is not provided the default value is com.mongodb.DBObject - - - - - - - - - - - Allows you to manage find* method of MongoTemplate is used to query MongoDb. Default value for this - attribute is 'false'. This means that we'll use find(..) method thus resulting in a Message with - payload of type List of entities identified by 'entity-class' attribute. If you want/expect a single - value set this attribute to 'true' which will result in invocation of findOne(..) method resulting in - the payload of type identified by 'entity-class' attribute (default com.mongodb.DBObject) - - - - - - - - - - - - Defines mongodb outbound channel adapter that - writes the contents of the - Message into - org.springframework.data.mongodb.support.collections.mongodbStore - - - - - - - - - - - - - - - - - - Common configuration for mongodb adapters. - - - - - - - - - Reference to an instance of - org.springframework.data.mongodb.MongoDbFactory - - - - - - - - - - - - Reference to an instance of - org.springframework.data.mongodb.core.MongoTemplate - - - - - - - - - - Identifies the name of the MongoDb collection to - use. - This attribute is mutually exclusive with - 'collection-name-expression' - attribute. - - - - - - - SpEL expression which should resolve to a String - value identifying the - name of the MongoDb collection to use. - This - attribute is mutually exclusive with 'collection-name' attribute. - - - - - - - - - - - - Reference to an instance of - org.springframework.data.mongodb.core.convert.MongoConverter - - - - - diff --git a/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-4.1.xsd b/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-4.1.xsd index bb359f1da9..0917faa5b3 100644 --- a/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-4.1.xsd +++ b/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-4.1.xsd @@ -8,7 +8,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> - + + + + + + @@ -103,17 +108,7 @@ Common configuration for mongodb adapters. - - - - - Reference to a Message Channel that will be used - by this adapter to - 'receiveFrom' or 'sendTo' Messages depending on the adapter type (e.g., - inbound/outbound) - - - + @@ -178,7 +173,5 @@ - diff --git a/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-3.0.xsd b/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-3.0.xsd deleted file mode 100644 index 141e6eaac2..0000000000 --- a/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-3.0.xsd +++ /dev/null @@ -1,714 +0,0 @@ - - - - - - - - - - - - - - Defines a publish-subscribe Message Channel that is backed by a Redis topic. - - - - - - - - - Name of the Redis topic that backs this channel. - - - - - - - - - - - - - - - - - - - - - - - - - - - - ID for this channel. Required. - - - - - - - Reference to a RedisConnectionFactory. If none is provided, the default - bean name for the reference will be "redisConnectionFactory". - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an inbound Channel Adapter for subscribing to a Redis topic. - - - - - - - - Reference to a RedisConnectionFactory. If none is provided, the default - bean name for the reference will be "redisConnectionFactory". - - - - - - - - - - - - Redis topic names as a comma-delimited list of Strings. - - - - - - - Redis topic patterns as a comma-delimited list of Strings. - - - - - - - - - - - - - - - - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer. - This attribute can be an empty string, which results in 'null' being used by the underlying adapter, - meaning no serializer is used and the raw byte[] will be the message payload. - - - - - - - - - - - - - - Defines an outbound Redis Message-sending Channel Adapter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - - - - - - - - - - - - - - - - Defines Redis inbound channel adapter that creates a Message which contains - a view into a redis store. THe view could be one of the subclasses of - org.springframework.data.redis.support.collections.RedisStore - - - - - - - - - Collection type supported by this adapter - - - - - - - - [DEFAULT] Redis List - - - - - - - Redis Set - - - - - - - Redis Sorted Set - - - - - - - Redis Map - - - - - - - Redis Properties - - - - - - - - - - - - - - - Defines Redis outbound channel adapter that writes the contents of the Message into - org.springframework.data.redis.support.collections.RedisStore - - - - - - - - - - RedisTemplate to be used with this adapter - - - - - - - - - - - - - - - - - Defines a Message Driven Endpoint for listening a Redis queue. - - - - - - - - - Redis queue name. - - - - - - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer. - It can be specified as an empty String value, which means the Endpoint's 'serializer' property is - set to 'null', in which case the Message will contain the raw byte[] payload. - - - - - - - - - - - Specify the timeout in milliseconds to wait for the result of the - 'rightPop' operation on Redis queue. - Default is 1 second. - - - - - - - Specify the time in milliseconds for which the listener task should sleep after catching - an Exception on a Redis operation, before restarting the listener task. - Default is 5 seconds. - - - - - - - When true, specifies that the 'byte[]' from a Redis message should be deserialized - as an entire Spring Integration Message. Otherwise the data becomes just the - payload of the message (deserialized or not). - If this attribute is 'true', the 'serializer' must not be an empty String. - Default is 'false'. - - - - - - - - - - - - - - - - - - - - - - Defines an outbound Redis Queue Message-sending Channel Adapter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - - - - - - - - - - - Specifies if the Message payload or the entire (serialized) Message will be send to the Redis queue. - Default is 'true'. - - - - - - - - - - - - Common configuration for Redis adapters. - - - - - - - - - - - - - - - - - - - - - - - - RedisTemplate to be used with this adapter - - - - - - - - - - - - SpEL expression that returns the name of the key for the collection being used. If you want to provide a - constant key, use the 'key' attribute. - This attribute is mutually exclusive with the 'key' attribute. - - - - - - - The name of the key for the collection being used. If you require a key to be dynamically - determined per each poll use 'key-expression' attribute. - This attribute is mutually exclusive with the 'key-expression' attribute. - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - to serialize the 'key' value for this collection. Please refer to the JavaDoc of the RedisTemplate - for more detail. - - - - - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - to serialize the 'value' entered into the collection. Please refer to the JavaDoc of the RedisTemplate - for more detail. - - - - - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - to be used when serializing hash keys (only relevant for hash-typed collections). - Please refer to the JavaDoc of the RedisTemplate for more detail. - - - - - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - to be used when serializing hash values (only relevant for hash-typed collections). - Please refer to the JavaDoc of the RedisTemplate for more detail. - - - - - - - - - - - - Channel to which Error Messages will be sent. - - - - - - - - - - - - - - - - Provide the name of the key for the collection being used. If you require a key that - is determined dynamically for each message, use the 'key-expression' attribute. - The default key is dynamically determined from the 'redis_key' header. - This attribute is mutually exclusive with the 'key-expression' attribute. - - - - - - - SpEL expression that returns the name of the key for the collection being used. If you want to provide a - constant key, use the 'key' attribute. Default is the 'redis_key' message header. - This attribute is mutually exclusive with the 'key' attribute. - - - - - - - SpEL expression that returns the name of the key for entry being stored. Only applies - if the 'collection-type' is MAP or PROPERTIES and 'extract-payload-elements' is false. - - - - - - - If set to 'true' (Default) and the payload is an instance of a "multi-value" object (i.e., Collection or Map) - it will be stored using addAll/putAll semantics. Otherwise, if set to 'false' the payload will be stored - as single entry regardless of its type. - If the payload is not an instance of a "multi-value" object, the value of this attribute is ignored and - the payload will always be stored as a single entry. - - - - - - - Collection type supported by this adapter - - - - - - - - [DEFAULT] Redis List - - - - - - - Redis Set - - - - - - - Redis Sorted Set - - - - - - - Redis Map - - - - - - - Redis Properties - - - - - - - - diff --git a/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.1.xsd b/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.1.xsd index c5e813a52e..141e6eaac2 100644 --- a/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.1.xsd +++ b/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.1.xsd @@ -8,14 +8,14 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> - + @@ -36,7 +36,7 @@ - + - + @@ -82,10 +82,7 @@ @@ -129,13 +126,7 @@ - - - - The ID for this Channel Adapter. - - - + @@ -156,16 +147,11 @@ - + - Channel to which Messages will be sent. + Redis topic patterns as a comma-delimited list of Strings. - - - - - @@ -195,7 +181,9 @@ - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer + Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer. + This attribute can be an empty string, which results in 'null' being used by the underlying adapter, + meaning no serializer is used and the raw byte[] will be the message payload. @@ -218,7 +206,22 @@ - + + + + + + + + + + - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer + Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer @@ -256,7 +259,7 @@ - + @@ -347,13 +350,162 @@ + + + + Defines a Message Driven Endpoint for listening a Redis queue. + + + + + + + + + Redis queue name. + + + + + + + + + + + + + Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer. + It can be specified as an empty String value, which means the Endpoint's 'serializer' property is + set to 'null', in which case the Message will contain the raw byte[] payload. + + + + + + + + + + + Specify the timeout in milliseconds to wait for the result of the + 'rightPop' operation on Redis queue. + Default is 1 second. + + + + + + + Specify the time in milliseconds for which the listener task should sleep after catching + an Exception on a Redis operation, before restarting the listener task. + Default is 5 seconds. + + + + + + + When true, specifies that the 'byte[]' from a Redis message should be deserialized + as an entire Spring Integration Message. Otherwise the data becomes just the + payload of the message (deserialized or not). + If this attribute is 'true', the 'serializer' must not be an empty String. + Default is 'false'. + + + + + + + + + + + + + + + + + + + + + + Defines an outbound Redis Queue Message-sending Channel Adapter. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer + + + + + + + + + + + Specifies if the Message payload or the entire (serialized) Message will be send to the Redis queue. + Default is 'true'. + + + + + + + + Common configuration for Redis adapters. - + @@ -363,19 +515,6 @@ - - - - - Channel to which Messages will be sent. - - - - - - - - @@ -409,7 +548,7 @@ The name of the key for the collection being used. If you require a key to be dynamically - determined per each poll use 'key-expression' attribute. + determined per each poll use 'key-expression' attribute. This attribute is mutually exclusive with the 'key-expression' attribute. @@ -419,7 +558,7 @@ Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - to serialize the 'key' value for this collection. Please refer to the JavaDoc of the RedisTemplate + to serialize the 'key' value for this collection. Please refer to the JavaDoc of the RedisTemplate for more detail. @@ -432,8 +571,8 @@ - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - to serialize the 'value' entered into the collection. Please refer to the JavaDoc of the RedisTemplate + Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer + to serialize the 'value' entered into the collection. Please refer to the JavaDoc of the RedisTemplate for more detail. @@ -446,8 +585,8 @@ - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - to be used when serializing hash keys (only relevant for hash-typed collections). + Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer + to be used when serializing hash keys (only relevant for hash-typed collections). Please refer to the JavaDoc of the RedisTemplate for more detail. @@ -460,8 +599,8 @@ - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer - to be used when serializing hash values (only relevant for hash-typed collections). + Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer + to be used when serializing hash values (only relevant for hash-typed collections). Please refer to the JavaDoc of the RedisTemplate for more detail. @@ -477,7 +616,7 @@ Channel to which Error Messages will be sent. - + diff --git a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-3.0.xsd b/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-3.0.xsd deleted file mode 100644 index d33610c0a9..0000000000 --- a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-3.0.xsd +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - Defines an RMI-based inbound MessagingGateway. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If a 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 calling system. - - - - - - - - - - - - - Defines an RMI-based outbound Messaging Gateway. - - - - - - - - - - - - - - - - - - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'true' by default, and a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - Defines common configuration for gateway adapters. - - - - - - - - - - - - - - - - - - - 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 ff7d8d0135..d33610c0a9 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-3.0.xsd"/> - + @@ -49,6 +49,20 @@ + + + + + + + + + If a 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 calling system. + + + @@ -71,7 +85,7 @@ - + @@ -87,6 +101,15 @@ + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'true' by default, and a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + @@ -104,14 +127,14 @@ - + - + diff --git a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-3.0.xsd b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-3.0.xsd deleted file mode 100644 index d07dd7e107..0000000000 --- a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-3.0.xsd +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - Configures an inner bean that will generate a - JSR 223 compliant script. - - - - - - - - - - - The script language or JSR 223 scripting engine name. Required only for inline scripts. If a script location is - referenced, the language may be derived from the file extension - (.rb: ruby, .groovy, js: javascript (ECMAScript), .py: python). - - - - - - - The script variable to return as a result of the evaluation (Optional). - - - - - - - - - diff --git a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.1.xsd b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.1.xsd index fb01cd309e..d07dd7e107 100644 --- a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.1.xsd +++ b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.1.xsd @@ -5,7 +5,7 @@ elementFormDefault="qualified" attributeFormDefault="unqualified"> + schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-3.0.xsd" /> @@ -19,10 +19,12 @@ - + - The script language or JSR 223 scripting engine name + The script language or JSR 223 scripting engine name. Required only for inline scripts. If a script location is + referenced, the language may be derived from the file extension + (.rb: ruby, .groovy, js: javascript (ECMAScript), .py: python). diff --git a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-3.0.xsd b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-3.0.xsd deleted file mode 100644 index f92337b667..0000000000 --- a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-3.0.xsd +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - Allows you to define custom script variable bindings. The use of this - sub-element is mutually - exclusive with the 'script-variable-generator' attribute. - - - - - - Name of the script variable. - - - - - - - Value of the script variable as a literal. - - - - - - - Value of the script variable as a bean reference. - - - - - - - - - - - - - Resource location path for the Script. Either this or an inline script - as body text should be provided, but not both. - - - - - - - Reference to the ScriptVariableGenerator bean. This attribute is mutually - exclusive with any 'variable' sub-elements and 'variables' attribute. - - - - - - - - - - - Refresh delay for the script contents if specified as a resource - location (defaults to -1, never refresh). - - - - - - - Comma-delimited pairs of variables and their values. - the variable name can applies '-ref' suffix, which mean to determine - a variable value as a bean reference. - This attribute isn't mutually exclusive with 'variable' sub-elements - and all variables will be merged to one Map. - This attribute is mutually exclusive with 'script-variable-generator' attribute. - - - - - - diff --git a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.1.xsd b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.1.xsd index a90d30156a..f92337b667 100644 --- a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.1.xsd +++ b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.1.xsd @@ -8,9 +8,9 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> + - @@ -61,7 +61,7 @@ Reference to the ScriptVariableGenerator bean. This attribute is mutually - exclusive with any 'variable' sub-elements. + exclusive with any 'variable' sub-elements and 'variables' attribute. + + + + Comma-delimited pairs of variables and their values. + the variable name can applies '-ref' suffix, which mean to determine + a variable value as a bean reference. + This attribute isn't mutually exclusive with 'variable' sub-elements + and all variables will be merged to one Map. + This attribute is mutually exclusive with 'script-variable-generator' attribute. + + + diff --git a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-3.0.xsd b/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-3.0.xsd deleted file mode 100644 index f0ce6af405..0000000000 --- a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-3.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. - - - - - - - - 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 1fde07d437..f0ce6af405 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 @@ -51,4 +51,4 @@ - \ No newline at end of file + diff --git a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-3.0.xsd b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-3.0.xsd deleted file mode 100644 index 6003d92ff3..0000000000 --- a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-3.0.xsd +++ /dev/null @@ -1,562 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a channel. This is - particularly relevant when that channel - is using a "failover" - dispatching strategy, or when a failure in - the delivery to one - subscriber should signal that - the message should not be sent to - subscribers with a higher 'order' - attribute. It has no effect - when this - endpoint itself is a Polling Consumer for a channel - with a queue. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Allows you to specify a reference to a - [org.springframework.integration.file.filters.FileListFilter] - bean. This filter is applied to files on the remote server and - only files that pass the filter are retrieved. - - - - - - - Allows you to provide a file name pattern to - determine the file names - that need to be scanned. - This is based on - simple pattern matching (e.g., "*.txt, fo*.txt" - etc.) - - - - - - - Allows you to provide a SpEL expression to - generate the file name of - the local (transferred) file. The root - object of the SpEL - evaluation is the name of the original - file. - For example, a valid expression would be "#this.toUpperCase() + - '.a'" where #this represents the - original name of the remote - file. - - - - - - - Allows you to provide a Regular Expression to - determine the file names - that need to be scanned. - (e.g., - "f[o]+\.txt" etc.) - - - - - - - - - - - - Allows you to specify a reference to a - [org.springframework.integration.file.filters.FileListFilter] - bean. This filter is applied to files after they have been - retrieved. The default is an AcceptOnceFileListFilter which means that, - even if a new instance of a file is retrieved from the remote server, - a message won't be generated. The filter provided here is combined - with a filter that prevents the message source from processing - files that are currently being downloaded. - - - - - - - Identifies the directory path (e.g., - "/local/mytransfers") where files - will be transferred TO. - - - - - - - Tells this adapter if the local directory must - be auto-created if it - doesn't exist. Default is TRUE. - - - - - - - Specify whether to delete the remote source - file after copying. - By default, the remote files will NOT be - deleted. - - - - - - - Specify whether to preserve the modified timestamp from the remote source - file on the local file after copying. - By default, the remote timestamp will NOT be - preserved. - - - - - - - - - - - - - - - - - - - - - - sftp command. - - - - - - - - - - sftp command options; for ls, -1 means just - return the file names - (otherwise file - metadata is returned, -dirs - means include directories (not included by - default), - -links means - include links (not included by default); for get, -P means - preserve - timestamp from remote file. - - - - - - - SpEL expression representing the path in the - command (e.g. ls path to - list the files in directory path). - - - - - - - SpEL expression representing the path for the - new filename when using the 'mv' command. Defaults - to "headers.['file_renameTo']". - - - - - - - - - - - - Identifies the request channel attached to this - gateway. - - - - - - - - - - - - Identifies the reply channel attached to this - gateway. - - - - - - - - - - - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.filters.FileListFilter] - bean. This filter acts against the remote server view when using the 'ls' - or 'mget' commands. - Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. - - - - - - - Allows you to provide file name pattern to - determine the file names retrieved by the 'ls' and 'mget' commands - and is based - on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" - etc.) - Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. - - - - - - - Allows you to provide Regular Expression to - determine the file names retrieved by the 'ls' and 'mget' commands. - (e.g., - "f[o]+\.txt" etc.) - Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. - - - - - - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.filters.FileListFilter] - bean. This filter acts on the local file system when using the 'mput' command. - Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. - - - - - - - Allows you to provide file name pattern to - determine the file names sent by the 'mput' command - and is based - on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" - etc.) - Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. - - - - - - - Allows you to provide Regular Expression to - determine the file names sent by the 'mput' command - (e.g., - "f[o]+\.txt" etc.) - Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. - - - - - - - Allows you to provide a SpEL expression to - generate the file name of - the local (transferred) file. The root - object of the SpEL - evaluation is the request Message, but the name of the original - remote file is also provided as the 'remoteFileName' variable. - For example, a valid expression would be: - "#remoteFileName.toUpperCase() + headers.foo". - Only used with 'get' and 'mget' commands. - - - - - - - Identifies directory path (e.g., - "/local/mytransfers") where file will be - transferred TO. - This attribute is mutually exclusive with 'local-directory-expression'. - - - - - - - Specifies SpEL expression to - generate the directory path where file will be - transferred TO, when using 'get' and 'mget' commands. - The root object of the SpEL evaluation is the request Message, - but the name of the source - remote directory is also provided as the 'remoteDirectory' variable. - For example, a valid expression might be: - "'/local/' + #remoteDirectory.toUpperCase() + headers.foo". - Only used with 'get' and 'mget' commands. - This attribute is mutually exclusive with 'local-directory'. - - - - - - - Tells this adapter if local directory must be - auto-created if it - doesn''t exist. Default is TRUE. - - - - - - - Specifies the order for invocation when this - endpoint is connected as a - subscriber to a channel. This is - particularly relevant when that channel - is using a "failover" - dispatching strategy, or when a failure in the - delivery to one - subscriber should signal that - the message should not be sent to - subscribers with a higher 'order' - attribute. It has no effect when - this - endpoint itself is a Polling Consumer for a channel with a - queue. - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'true' by default, and a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - - - - - Identifies the directory path (e.g., - "/temp/mytransfers") - - - - - - - Identifies the remote temporary directory path (e.g., "/remote/temp/mytransfers") - - - - - - - - - - - - Identifies channel attached to this adapter. - Depending on the type of the - adapter - this channel could be the - receiving channel (e.g., - outbound-channel-adapter) or channel - where - messages will be sent to by this adapter (e.g., - inbound-channel-adapter). - - - - - - - Allows you to specify Charset (e.g., US-ASCII, - ISO-8859-1, UTF-8). [UTF-8] is default - - - - - - - - - - - - - - - - - - - - - - - Extension used when downloading files. We - change - it right after we know it's - downloaded. - - - - - - - Allows you to provide remote file/directory - separator character. DEFAULT: - '/' - - - - - - - diff --git a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd index 1170d41246..6003d92ff3 100644 --- a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd +++ b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.1.xsd @@ -3,14 +3,16 @@ 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" + xmlns:int-file="http://www.springframework.org/schema/integration/file" targetNamespace="http://www.springframework.org/schema/integration/sftp" elementFormDefault="qualified" attributeFormDefault="unqualified"> - + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd" /> + @@ -24,74 +26,6 @@ - - - - Allows you to provide a SpEL expression which - will compute the directory - path - where files will be transferred to - (e.g., "headers.['remote_dir'] + - '/myTransfers'"); - - - - - - - Allows you to provide a SpEL expression which - will compute the temporary directory - path where files will be transferred to before they are moved to the remote-directory - (e.g., "headers.['remote_dir'] + - '/temp/myTransfers'"); - - - - - - - Specify whether to automatically create the - remote target directory if - it doesn't exist. - - - - - - - Allows you to specify a reference to - [org.springframework.integration.file.FileNameGenerator] bean. - - - - - - - - - - - - Allows you to provide SpEL expression which - will compute file name of - the remote file (e.g., assuming payload - is java.io.File - "payload.getName() + '.transfered'"); - - - - - - - Allows you to suppress using a temporary file name while writing the file. - - - @@ -112,6 +46,7 @@ + @@ -149,7 +84,8 @@ Allows you to specify a reference to a [org.springframework.integration.file.filters.FileListFilter] - bean. + bean. This filter is applied to files on the remote server and + only files that pass the filter are retrieved. @@ -193,6 +129,26 @@ + + + + + + + + + Allows you to specify a reference to a + [org.springframework.integration.file.filters.FileListFilter] + bean. This filter is applied to files after they have been + retrieved. The default is an AcceptOnceFileListFilter which means that, + even if a new instance of a file is retrieved from the remote server, + a message won't be generated. The filter provided here is combined + with a filter that prevents the message source from processing + files that are currently being downloaded. + + + @@ -213,7 +169,7 @@ - + Specify whether to delete the remote source @@ -223,6 +179,16 @@ + + + + Specify whether to preserve the modified timestamp from the remote source + file on the local file after copying. + By default, the remote timestamp will NOT be + preserved. + + + @@ -236,16 +202,19 @@ - + - + - sftp command - ls, get or rm + sftp command. + + + @@ -272,12 +241,21 @@ + + + + SpEL expression representing the path for the + new filename when using the 'mv' command. Defaults + to "headers.['file_renameTo']". + + + + type="org.springframework.messaging.MessageChannel" /> @@ -291,7 +269,7 @@ + type="org.springframework.messaging.MessageChannel" /> @@ -334,7 +312,9 @@ Allows you to specify a reference to [org.springframework.integration.file.filters.FileListFilter] - bean. + bean. This filter acts against the remote server view when using the 'ls' + or 'mget' commands. + Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. @@ -342,9 +322,11 @@ Allows you to provide file name pattern to - determine the file names retrieved by the ls command + determine the file names retrieved by the 'ls' and 'mget' commands and is based - on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" etc.) + on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" + etc.) + Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. @@ -352,9 +334,64 @@ Allows you to provide Regular Expression to - determine the file names retrieved by the ls command. + determine the file names retrieved by the 'ls' and 'mget' commands. (e.g., "f[o]+\.txt" etc.) + Only one of 'filter', 'filename-pattern', or 'filename-regex' is allowed. + + + + + + + + + + + + Allows you to specify a reference to + [org.springframework.integration.file.filters.FileListFilter] + bean. This filter acts on the local file system when using the 'mput' command. + Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. + + + + + + + Allows you to provide file name pattern to + determine the file names sent by the 'mput' command + and is based + on simple pattern matching algorithm (e.g., "*.txt, fo*.txt" + etc.) + Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. + + + + + + + Allows you to provide Regular Expression to + determine the file names sent by the 'mput' command + (e.g., + "f[o]+\.txt" etc.) + Only one of 'mput-filter', 'mput-pattern', or 'mput-regex' is allowed. + + + + + + + Allows you to provide a SpEL expression to + generate the file name of + the local (transferred) file. The root + object of the SpEL + evaluation is the request Message, but the name of the original + remote file is also provided as the 'remoteFileName' variable. + For example, a valid expression would be: + "#remoteFileName.toUpperCase() + headers.foo". + Only used with 'get' and 'mget' commands. @@ -364,6 +401,23 @@ Identifies directory path (e.g., "/local/mytransfers") where file will be transferred TO. + This attribute is mutually exclusive with 'local-directory-expression'. + + + + + + + Specifies SpEL expression to + generate the directory path where file will be + transferred TO, when using 'get' and 'mget' commands. + The root object of the SpEL evaluation is the request Message, + but the name of the source + remote directory is also provided as the 'remoteDirectory' variable. + For example, a valid expression might be: + "'/local/' + #remoteDirectory.toUpperCase() + headers.foo". + Only used with 'get' and 'mget' commands. + This attribute is mutually exclusive with 'local-directory'. @@ -397,6 +451,16 @@ + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'true' by default, and a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + + @@ -427,7 +491,7 @@ + type="org.springframework.messaging.MessageChannel" /> @@ -492,26 +556,7 @@ - - - - - - - - - Lifecycle attribute signaling if this component - should be started during - Application Context startup. - Default is - 'true' - - - + diff --git a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-3.0.xsd b/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-3.0.xsd deleted file mode 100644 index 888c135a3e..0000000000 --- a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-3.0.xsd +++ /dev/null @@ -1,61 +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 1f65e85ff0..888c135a3e 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-3.0.xsd"/> - - - - - - - - - - + - @@ -55,19 +45,9 @@ or to stderr (System.err) depending on the element name. - - - - - - - - - - + - diff --git a/spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-3.0.xsd b/spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-4.1.xsd similarity index 100% rename from spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-3.0.xsd rename to spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-4.1.xsd diff --git a/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-3.0.xsd b/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-3.0.xsd deleted file mode 100644 index c98713f305..0000000000 --- a/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-3.0.xsd +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - - - - - - Configures an inbound channel adapter that consumes your friends' timeline updates - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - - - - - Configures an inbound channel adapter that consumes mentions of your handle - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - - - - - - Configures an inbound channel adapter that consumes search results for a given query - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - Twitter search query (e.g, #springintegration). - For more info on Twitter queries please refer to this site: http://search.twitter.com/operators) - - - - - - - - - - - - Configures an inbound channel adapter that consumes direct messages from Twitter - and sends Messages whose payloads are DirectMessage objects. - - - - - - - - - - - - - - - Configures an outbound channel adapter that sends Direct Messages to a Twitter user as - specified in the header whose name is defined by the TwitterHeaders.DM_TARGET_USER_ID constant. - - - - - - - - - - - - - - Configures an outbound channel adapter that posts a status update to the authorized user's timeline. - - - - - - - - - - - - - - - - - - - The bean id of this Polling Endpoint; the MessageSource is also registered with this id - plus a suffix '.source'; also used as the - MetaDataStore key with suffix '.' + the profileId from the authorized Twitter user. - - - - - - - - - - - - Identifies the channel the attached to this adapter, to which messages will be sent. - - - - - - - - - - - - - Reference to a TwitterTemplate bean provided by the Spring Social project. - - - - - - - Reference to a MetadataStore instance for storing metadata associated with - the retrieved feeds. If the implementation is persistent, it can help to - prevent duplicates between restarts. If shared, it can help coordinate multiple - instances of an adapter across different processes. - - - - - - - - - - - - - - - - - - - - - - - - Reference to a TwitterTemplate bean provided by the Spring Social project. - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - diff --git a/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd b/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd index 1f3269d07d..c98713f305 100644 --- a/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd +++ b/spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd"/> - - - - - - - - - - - - - - - - Reference to the XPathExpression instance to be - evaluated against the input Message's payload. Either - this or 'xpath-expression' must be provided, but not - both. - - - - - - - - - - - - - - - - - - - - - representing channel names. Typically such a list - will contain a single channel name. However, - based on the results of an XPath Expression, the - XPath router can also take on the characteristics - of a Recipient List Router if the XPath Expression - returns more then one value. In that case, the - List will contain more then one channel - name and consequently Messages will be sent to - all channels in the list. - ]]> - - - - - - - ]]> - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - - - representing channel names. Typically such a list - will contain a single channel name. However, - based on the results of an XPath Expression, the - XPath router can also take on the characteristics - of a Recipient List Router if the XPath Expression - returns more then one value. In that case, the - List will contain more then one channel - name and consequently Messages will be sent to - all channels in the list. - ]]> - - - - - - - ]]> - - - - - - - - - - - - - - - - - - Defines an XPath-based Message Filter. If the XPath expression will evaluate to a boolean, - no configuration attributes are required. If the XPath expression will evaluate to a String, - a "match-value" should be provided against which the evaluation result will be matched. - There are three options for the "match-type": exact, case-insensitive, and regex. These - correspond to the equals, equals-ignore-case, and matches operations on java.lang.String, - respectively. When providing a 'match-type' value of 'regex', the value provided in - 'match-value' must be a valid Regular Expression. - - - - - - - - - - The XPath expression to evaluate. - - - - - - - - Reference to an XPath expression instance to evaluate. - - - - - - - - - - - - String value to be matched against the XPath evaluation result. If this is not provided, - then the XPath evaluation MUST produce a boolean result directly. - - - - - - - Type of match to apply between the XPath evaluation result and the 'match-value'. - Default is "exact". - - - - - - - - - - - - - - - - - - - - - - - representing channel names. Typically such a list - will contain a single channel name. However, based - on the result of an XPath Expression the XPath router - can also take on the characteristics of the - Recipient List Router if the XPath Expression - returns more than one value, thus resulting in - the List containing more than one channel - name. - - In that case the Message will be sent to all channels - in the list. - ]]> - - - - - - - - - - - - - - - - - Defines an XPath splitter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines an XML validating filter. - - - - - - - - - Reference to a custom 'org.springframework.xml.validation.XmlValidator' strategy - - - - - - - - - - - - - - - - - - - - - - - - - - Base type for XML filters. - - - - - - - - - - - - - - - - - - - Message Channel where you want accepted messages to be sent. - - - - - - - - - - - - Message Channel where you want rejected messages to be sent. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 58c6ebff3a..942e816398 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-3.0.xsd"/> @@ -237,6 +237,21 @@ + + + + + + + + + + + + @@ -658,39 +673,6 @@ - - - - Defines an XPath selector. - NOTE: this element is deprecated as of 2.1. Please use <xpath-filter> instead. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -820,7 +802,7 @@ - + @@ -832,7 +814,7 @@ - + @@ -849,7 +831,7 @@ - + @@ -858,7 +840,7 @@ - + diff --git a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-3.0.xsd b/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-3.0.xsd deleted file mode 100644 index 12fe6b3b5a..0000000000 --- a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-3.0.xsd +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - - - - - - Configures an XMPP connection that can in turn be referenced by other components - - - - - - - - The user name (e.g., someuser@gmail.com) that will be used by this connection object - - - - - - - The user's password - - - - - - - The host name to connect TO - - - - - - - The XMPP service name for this connection - - - - - - - The resource field specifies the XMPP resource you are using. The use of unique resources allows - you to connect to your XMPP server from multiple locations simultaneously. Resources might - - - - - - - The port on which the host is running - - - - - - - - - - - - - - - - - - - - - - - - - - - Configures an endpoint that will receive chat messages sent to a given account and then forward those messages to a MessageChannel. - - - - - - - - - Specifies if generated Message payload should consist of only - the text of the XMPP message or the entire XMPP (Smack API specific) message. Default is true. - - - - - - - - - - - - Outbound Channel Adapter that sends chat messages. - - - - - - - - - - - - - Configures an endpoint that will forward Presence state changes to a MessageChannel. - - - - - - - - - - - - - Configures an endpoint that will publish an updated {@link org.jivesoftware.smack.packet.Presence} state on your {@link XMPPConnection } object. - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to XMPP connection bean - - - - - - - Allows you to reference custom implementation of HeaderMapper. - - - - - - - - - - - - - - - - - - - - - - - - - Reference to XMPP connection bean - - - - - - - Specifies the order for invocation when this endpoint is connected as a - subscriber to a SubscribableChannel. - - - - - - - Allows you to reference custom implementation of HeaderMapper. - - - - - - - - - - - - - - - Defines a Transformer for adding XMPP headers. - - - - - - - - - The id of the user you sending a message to (e.g., user@gmail.com) - - - - - - - The conversation thread id used to corelate XMPP packets as - belonging to a particular conversation - - - - - - - - Specify the default boolean value for whether to overwrite existing header values. This will only take effect for - sub-elements that do not provide their own 'overwrite' attribute. If the 'default-overwrite' attribute is not - provided, then the specified header values will NOT overwrite any existing ones with the same header names. - - - - - - - - - - - - - - - - Value of this header inside of a Message - - - - - - - Reference to a bean that contains a method that will compute the header value - - - - - - - SpEL expression that will compute the header value - - - - - - - Boolean value to indicate whether this header value should overwrite an existing header value for the same name. - - - - - - - - - - - - - - - - - - - The receiving Message channel of this endpoint - - - - - - - - - - - - Identifies the Message channel where Message will be sent after it's being processed by this endpoint - - - - - - diff --git a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd b/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd index 483316d8d4..12fe6b3b5a 100644 --- a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd +++ b/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.1.xsd @@ -11,7 +11,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd"/> @@ -28,14 +28,6 @@ - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - Default is TRUE - - - @@ -60,7 +52,7 @@ - The resource field specifies the XMPP resource you are using. The use of unique resources allows + The resource field specifies the XMPP resource you are using. The use of unique resources allows you to connect to your XMPP server from multiple locations simultaneously. Resources might @@ -87,6 +79,13 @@ + + + + + @@ -102,7 +101,7 @@ - Specifies if generated Message payload should consist of only + Specifies if generated Message payload should consist of only the text of the XMPP message or the entire XMPP (Smack API specific) message. Default is true. @@ -150,36 +149,15 @@ - - + + - - - - - Lifecycle attribute signaling if this component should be started during Application Context startup. - - - - - - - - - - - - Identifies channel attached to this adapter. Depending on the type of the adapter - this channel could be the receiving channel (e.g., outbound-channel-adapter) or channel where - messages will be sent to by this adapter (e.g., inbound-channel-adapter). - - - + @@ -212,27 +190,13 @@ - + - - - - - - - - - - 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). - - - + @@ -291,7 +255,7 @@ - The conversation thread id used to corelate XMPP packets as + The conversation thread id used to corelate XMPP packets as belonging to a particular conversation @@ -354,7 +318,7 @@ - + @@ -366,7 +330,7 @@ - +