From 77b31f58fd52e8f33b58006971458688fd94fecc Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Fri, 30 May 2014 21:03:12 +0300 Subject: [PATCH] INT-3418: xsd-4.0 -> 4.1 --- .../config/spring-integration-amqp-4.0.xsd | 835 ---- .../config/spring-integration-amqp-4.1.xsd | 58 +- .../config/xml/spring-integration-4.0.xsd | 4406 ----------------- .../config/xml/spring-integration-4.1.xsd | 458 +- .../config/spring-integration-event-4.0.xsd | 86 - .../config/spring-integration-event-4.1.xsd | 4 +- .../config/spring-integration-feed-4.0.xsd | 86 - .../config/spring-integration-feed-4.1.xsd | 2 +- .../config/spring-integration-file-4.0.xsd | 723 --- .../config/spring-integration-file-4.1.xsd | 4 +- .../ftp/config/spring-integration-ftp-4.0.xsd | 556 --- .../ftp/config/spring-integration-ftp-4.1.xsd | 8 +- .../xml/spring-integration-gemfire-4.0.xsd | 215 - .../xml/spring-integration-gemfire-4.1.xsd | 12 +- .../config/spring-integration-groovy-4.0.xsd | 73 - .../config/spring-integration-groovy-4.1.xsd | 6 +- .../config/spring-integration-http-4.0.xsd | 739 --- .../config/spring-integration-http-4.1.xsd | 14 +- .../ip/config/spring-integration-ip-4.0.xsd | 853 ---- .../ip/config/spring-integration-ip-4.1.xsd | 8 +- .../config/spring-integration-jdbc-4.0.xsd | 1345 ----- .../config/spring-integration-jdbc-4.1.xsd | 14 +- .../jms/config/spring-integration-jms-4.0.xsd | 1506 ------ .../jms/config/spring-integration-jms-4.1.xsd | 28 +- .../jmx/config/spring-integration-jmx-4.0.xsd | 333 -- .../jmx/config/spring-integration-jmx-4.1.xsd | 8 +- .../config/xml/spring-integration-jpa-4.0.xsd | 667 --- .../config/xml/spring-integration-jpa-4.1.xsd | 38 +- .../config/spring-integration-mail-4.0.xsd | 348 -- .../config/spring-integration-mail-4.1.xsd | 4 +- .../config/spring-integration-mongodb-4.0.xsd | 177 - .../config/spring-integration-mongodb-4.1.xsd | 4 +- ....0.xsd => spring-integration-mqtt-4.1.xsd} | 0 .../config/spring-integration-redis-4.0.xsd | 840 ---- .../config/spring-integration-redis-4.1.xsd | 276 +- .../rmi/config/spring-integration-rmi-4.0.xsd | 140 - .../rmi/config/spring-integration-rmi-4.1.xsd | 4 +- .../spring-integration-scripting-4.0.xsd | 43 - .../spring-integration-scripting-4.1.xsd | 2 +- .../spring-integration-scripting-core-4.0.xsd | 95 - .../spring-integration-scripting-core-4.1.xsd | 2 +- .../spring-integration-security-4.0.xsd | 54 - .../config/spring-integration-sftp-4.0.xsd | 562 --- .../config/spring-integration-sftp-4.1.xsd | 8 +- .../config/spring-integration-stream-4.0.xsd | 61 - .../config/spring-integration-stream-4.1.xsd | 2 +- .../config/spring-integration-syslog-4.0.xsd | 125 - .../config/spring-integration-syslog-4.1.xsd | 4 +- .../config/spring-integration-twitter-4.0.xsd | 309 -- .../config/spring-integration-twitter-4.1.xsd | 162 +- .../ws/config/spring-integration-ws-3.1.xsd | 471 -- ...-4.0.xsd => spring-integration-ws-4.1.xsd} | 0 .../xml/config/spring-integration-xml-4.0.xsd | 863 ---- .../xml/config/spring-integration-xml-4.1.xsd | 9 +- .../config/spring-integration-xmpp-4.0.xsd | 347 -- .../config/spring-integration-xmpp-4.1.xsd | 18 +- 56 files changed, 854 insertions(+), 17161 deletions(-) delete mode 100644 spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.0.xsd delete mode 100644 spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-4.0.xsd delete mode 100644 spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.0.xsd delete mode 100644 spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.0.xsd delete mode 100644 spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.0.xsd delete mode 100644 spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.0.xsd delete mode 100644 spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.0.xsd delete mode 100644 spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.0.xsd delete mode 100644 spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-4.0.xsd delete mode 100644 spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.0.xsd delete mode 100644 spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.0.xsd delete mode 100644 spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-4.0.xsd delete mode 100644 spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.0.xsd delete mode 100644 spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-4.0.xsd delete mode 100644 spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-4.0.xsd delete mode 100644 spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-4.0.xsd rename spring-integration-mqtt/src/main/resources/org/springframework/integration/mqtt/config/xml/{spring-integration-mqtt-4.0.xsd => spring-integration-mqtt-4.1.xsd} (100%) delete mode 100644 spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.0.xsd delete mode 100644 spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-4.0.xsd delete mode 100644 spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.0.xsd delete mode 100644 spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.0.xsd delete mode 100644 spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-4.0.xsd delete mode 100644 spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.0.xsd delete mode 100644 spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-4.0.xsd delete mode 100644 spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-4.0.xsd delete mode 100644 spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-4.0.xsd delete mode 100644 spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-3.1.xsd rename spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/{spring-integration-ws-4.0.xsd => spring-integration-ws-4.1.xsd} (100%) delete mode 100644 spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-4.0.xsd delete mode 100644 spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.0.xsd diff --git a/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.0.xsd b/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.0.xsd deleted file mode 100644 index 2fba35dc8e..0000000000 --- a/spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-4.0.xsd +++ /dev/null @@ -1,835 +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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The default delivery mode for messages; 'PERSISTENT' or 'NON_PERSISTENT'. Overridden if the 'header-mapper' - sets the delivery mode. The 'DefaultHeaderMapper' sets the value if the - Spring Integration message header 'amqp_deliveryMode' is present. If this attribute is not supplied and - the header mapper doesn't set it, the default depends on the underlying spring-amqp 'MessagePropertiesConverter' - used by the 'RabbitTemplate'. If that is not customized at all, the default is 'PERSISTENT'. - - - - - - - - - - - - - - - - - - - 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; default 'AUTO' - meaning the adapter automatically acknowledges the message(s) - according to the tx-size. - - - - - - - - - - - - - - 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 b50c01db43..2fba35dc8e 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-4.0.xsd"/> @@ -261,6 +261,17 @@ ]]> + + + + + @@ -377,7 +388,7 @@ - + @@ -453,8 +464,8 @@ standard headers to also be mapped. @@ -464,8 +475,29 @@ property set to TRUE. + + + + The default delivery mode for messages; 'PERSISTENT' or 'NON_PERSISTENT'. Overridden if the 'header-mapper' + sets the delivery mode. The 'DefaultHeaderMapper' sets the value if the + Spring Integration message header 'amqp_deliveryMode' is present. If this attribute is not supplied and + the header mapper doesn't set it, the default depends on the underlying spring-amqp 'MessagePropertiesConverter' + used by the 'RabbitTemplate'. If that is not customized at all, the default is 'PERSISTENT'. + + + + + + + + + + + + + @@ -652,15 +684,13 @@ standard headers to also be mapped. - Acknowledge Mode for the MessageListenerContainer. + Acknowledge Mode for the MessageListenerContainer; default 'AUTO' + meaning the adapter automatically acknowledges the message(s) + according to the tx-size. - - - - - + @@ -794,4 +824,12 @@ standard headers to also be mapped. + + + + + + + + diff --git a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-4.0.xsd b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-4.0.xsd deleted file mode 100644 index 0937f0d642..0000000000 --- a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-4.0.xsd +++ /dev/null @@ -1,4406 +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. - - - - - - - - - - - - - - - - - - - A reference to a bean that implements 'org.springframework.integration.store.PriorityCapableChannelMessageStore'. - A message store that supports priority in a manner defined by the store. When set, the underlying - channel will be a 'QueueChannel` that delegates to a `MessageGroupQueue' backed by the store. - Not allowed if 'comparator' is set. - - - - - - - - - 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'. - - - - - - - - - - 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). - - - - - - ). - ]]> - - - - - - - - - - - - - - - - [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. - - - - - - - - - - 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. - - - - - - - - - - - - - - - - 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 a value for the 'expirationDate' header (java.lang.Long). - - - - - - - Shortcut to specify a value for the 'priority' header. - - - - - - - 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. - - - - - - - - - - - - The type of the JSON transformation result. 'STRING' and 'NODE' values are allowed. - If 'NODE', the JSON result tree depends on the provided implementation of - 'org.springframework.integration.support.json.JsonObjectMapper' (e.g. JsonNode for - Jackson). The default value is 'STRING'. - - - - - - - - - - - - - - - - - - - - - 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) - - - - - - A timeout in milliseconds to force the MessageGroup complete, - when the 'ReleaseStrategy' does not 'release' the group when the current Message arrives. - If 'group-timeout' is not provided or is less than '0' the MessageGroup won't be scheduled - to be forced complete. - The action taken when the group is forced complete depends on the - 'send-partial-result-on-expiry' attribute. - Mutually exclusive with the 'group-timeout-expression' attribute. - - - - - - - A SpEL expression to evaluate a 'group-timeout' with the MessageGroup as the #root evaluation - context object for scheduling the MessageGroup forced completion, - when the 'ReleaseStrategy' does not 'release' the group when the current Message arrives. - If 'group-timeout-expression' evaluates to 'null' or less than '0', - the MessageGroup won't be scheduled to be forced complete. - The action taken when the group is forced complete depends on the - 'send-partial-result-on-expiry' attribute. - Mutually exclusive with the 'group-timeout' attribute. - - - - - - - - - - - - Provide a reference to the TaskScheduler instance to schedule 'forceComplete' on - the MessageGroup - when no new message arrives for the MessageGroup within the - 'group-timeout' or 'group-timeout-expression'. If it isn't - provided, the default scheduler 'taskScheduler', - registered in the ApplicationContext {ThreadPoolTaskScheduler} will be - used. This attribute only applies if 'group-timeout' or - 'group-timeout-expression' is specified. - - - - - - - - - - - - A reference to a 'org.springframework.integration.support.locks.LockRegistry' bean - to obtain 'java.util.concurrent.locks.Lock' by 'groupId'. Used for concurrent operations on - MessageGroups. By default an internal 'DefaultLockRegistry' is used. - - - - - - - - - - - - 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. - - - - - - - - - - - - - - - - - - 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 interceptors (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 2a5e09e21d..0937f0d642 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 @@ -181,6 +181,17 @@ + + + + + @@ -263,11 +274,26 @@ + + + + + + + + + A reference to a bean that implements 'org.springframework.integration.store.PriorityCapableChannelMessageStore'. + A message store that supports priority in a manner defined by the store. When set, the underlying + channel will be a 'QueueChannel` that delegates to a `MessageGroupQueue' backed by the store. + Not allowed if 'comparator' is set. + + + @@ -308,28 +334,7 @@ - - - - - [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. - - - - + @@ -378,6 +383,31 @@ + + + + + + [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. + + + + + + @@ -498,6 +528,29 @@ + + + + + + + + + + + + @@ -628,7 +681,7 @@ @@ -969,14 +1022,7 @@ ]]> - - - - - - - - + @@ -1283,18 +1329,11 @@ - - - - The fully qualified class name of the header value's expected type. - - - - + @@ -1444,6 +1483,14 @@ ]]> + + + + + @@ -1708,10 +1755,7 @@ ]]> - - - - + @@ -1750,6 +1794,13 @@ + + + + + + + @@ -1769,17 +1820,21 @@ ]]> - - - - - - + + + + + + + + + + @@ -1873,38 +1928,16 @@ - Shortcut to specify value for 'expirationDate' header (java.lang.Long) + Shortcut to specify a value for the 'expirationDate' header (java.lang.Long). - + - Shortcut to specify value for 'priority' header when using PriorityChannel + Shortcut to specify a value for the 'priority' header. - - - - - 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. - - - - - - - @@ -2270,17 +2303,37 @@ This Jackson 1 ObjectMapper backward compatibility is deprecated and will be removed in the Spring Integration 3.1 or above. - + + + + + The type of the JSON transformation result. 'STRING' and 'NODE' values are allowed. + If 'NODE', the JSON result tree depends on the provided implementation of + 'org.springframework.integration.support.json.JsonObjectMapper' (e.g. JsonNode for + Jackson). The default value is 'STRING'. + + + + + + + + + + + + + + @@ -2317,12 +2370,11 @@ This Jackson 1 ObjectMapper backward compatibility is deprecated and will be removed in the Spring Integration 3.1 or above. - + @@ -2553,7 +2605,7 @@ - + A SpEL expression to evaluate against a root object that is the Collection of messages within the message group (e.g, size() > 6) + + + + A timeout in milliseconds to force the MessageGroup complete, + when the 'ReleaseStrategy' does not 'release' the group when the current Message arrives. + If 'group-timeout' is not provided or is less than '0' the MessageGroup won't be scheduled + to be forced complete. + The action taken when the group is forced complete depends on the + 'send-partial-result-on-expiry' attribute. + Mutually exclusive with the 'group-timeout-expression' attribute. + + + + + + + A SpEL expression to evaluate a 'group-timeout' with the MessageGroup as the #root evaluation + context object for scheduling the MessageGroup forced completion, + when the 'ReleaseStrategy' does not 'release' the group when the current Message arrives. + If 'group-timeout-expression' evaluates to 'null' or less than '0', + the MessageGroup won't be scheduled to be forced complete. + The action taken when the group is forced complete depends on the + 'send-partial-result-on-expiry' attribute. + Mutually exclusive with the 'group-timeout' attribute. + + + + + + + + + + + + Provide a reference to the TaskScheduler instance to schedule 'forceComplete' on + the MessageGroup + when no new message arrives for the MessageGroup within the + 'group-timeout' or 'group-timeout-expression'. If it isn't + provided, the default scheduler 'taskScheduler', + registered in the ApplicationContext {ThreadPoolTaskScheduler} will be + used. This attribute only applies if 'group-timeout' or + 'group-timeout-expression' is specified. + + + + + + + + + + + + A reference to a 'org.springframework.integration.support.locks.LockRegistry' bean + to obtain 'java.util.concurrent.locks.Lock' by 'groupId'. Used for concurrent operations on + MessageGroups. By default an internal 'DefaultLockRegistry' is used. + + + @@ -3474,20 +3586,6 @@ - - - - Comparator for messages used to sort the sequence when released. Defaults to comparing - the - sequence number header. - - - - - - - - @@ -3601,15 +3699,7 @@ ]]> - - - - - - - - - + @@ -3619,13 +3709,7 @@ ]]> - - - - - - - + @@ -3657,6 +3741,28 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -3696,13 +3802,35 @@ + + + + + + + + + + + + + + + + + + + + + + - + @@ -3876,7 +4004,7 @@ [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 + Negative value (e.g., -2) will signify BEFORE existing interceptors (if any). Positive value (e.g., 2) will signify AFTER existing interceptors (if any) @@ -4008,6 +4136,16 @@ The list of component name patterns you want to track (e.g., tracked-components + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4169,4 +4392,15 @@ default is 0. Values can be negative. See SmartLifeCycle. + + + + + + + + + + + diff --git a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.0.xsd b/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.0.xsd deleted file mode 100644 index cc42258eb6..0000000000 --- a/spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-4.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 dceb5c3789..cc42258eb6 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-4.0.xsd" /> - + diff --git a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.0.xsd b/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.0.xsd deleted file mode 100644 index 0a03e954df..0000000000 --- a/spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-4.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 954fe1c681..0a03e954df 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-4.0.xsd" /> diff --git a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.0.xsd b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.0.xsd deleted file mode 100644 index 21bc31d199..0000000000 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-4.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 1f684b9d11..21bc31d199 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-4.0.xsd"/> - + diff --git a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.0.xsd b/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.0.xsd deleted file mode 100644 index 25dc7e44eb..0000000000 --- a/spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-4.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 0f992592df..25dc7e44eb 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 @@ -10,9 +10,9 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd" /> + schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-4.0.xsd" /> @@ -24,7 +24,7 @@ - + @@ -204,7 +204,7 @@ - + diff --git a/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.0.xsd b/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.0.xsd deleted file mode 100644 index e09f207d0d..0000000000 --- a/spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-4.0.xsd +++ /dev/null @@ -1,215 +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 5275e684f7..e09f207d0d 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 @@ -110,12 +110,15 @@ ]]> - + - + + + + @@ -141,7 +144,7 @@ - + @@ -202,7 +205,8 @@ diff --git a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.0.xsd b/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.0.xsd deleted file mode 100644 index c91038cabd..0000000000 --- a/spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-4.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 53f394a43b..c91038cabd 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"> - + @@ -52,7 +52,7 @@ - + diff --git a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-4.0.xsd b/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-4.0.xsd deleted file mode 100644 index 46a29c940e..0000000000 --- a/spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-4.0.xsd +++ /dev/null @@ -1,739 +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 b7a73719ac..46a29c940e 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 @@ -8,7 +8,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd" /> - + @@ -326,7 +326,8 @@ - + + @@ -352,7 +353,7 @@ - + @@ -360,7 +361,8 @@ - + + diff --git a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.0.xsd b/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.0.xsd deleted file mode 100644 index e9f9d0119c..0000000000 --- a/spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-4.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 7e1af5f45f..e9f9d0119c 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 @@ -9,7 +9,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd" /> - @@ -182,7 +182,7 @@ - @@ -322,7 +322,7 @@ - diff --git a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.0.xsd b/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.0.xsd deleted file mode 100644 index 719fcfab03..0000000000 --- a/spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-4.0.xsd +++ /dev/null @@ -1,1345 +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. - Note: if you use the framework's 'ExpressionEvaluatingSqlParameterSourceFactory' - to create a SpEL-based parameter source, be sure to use the 'createParameterSourceNoCache' - method so that the expression will be re-evaluated on each poll. See the reference - documentation for more information. - - - - - - - - - - - - - - - - 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 772943a5b4..719fcfab03 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 @@ - + @@ -226,7 +230,7 @@ - + @@ -313,7 +317,7 @@ - + @@ -610,7 +614,7 @@ - + @@ -746,7 +750,7 @@ - + diff --git a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-4.0.xsd b/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-4.0.xsd deleted file mode 100644 index de57ec762e..0000000000 --- a/spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-4.0.xsd +++ /dev/null @@ -1,1506 +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 7663d10173..de57ec762e 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-4.0.xsd"/> + + + + + @@ -730,7 +738,7 @@ - + - + @@ -1178,6 +1186,16 @@ ]]> + + + + + diff --git a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.0.xsd b/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.0.xsd deleted file mode 100644 index 6691dc9225..0000000000 --- a/spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-4.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 28dc8ecf52..6691dc9225 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 @@ - + - + @@ -99,7 +99,7 @@ - + @@ -137,7 +137,7 @@ - + diff --git a/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-4.0.xsd b/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-4.0.xsd deleted file mode 100644 index 8507c91236..0000000000 --- a/spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-4.0.xsd +++ /dev/null @@ -1,667 +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 - - - - - - - A SpEL expression to determine the 'primaryKey' value for - 'EntityManager.find(Class entityClass, Object primaryKey)' using - the request Message as the root object of evaluation context. - The 'entityClass' argument is determined from the 'entity-class' attribute, - if present, otherwise the 'payload' class is used. All other attributes - (except 'delete-after-poll' and 'flush-after-delete') are disallowed - when specifying an 'id-expression'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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'. - - - - - - - - - - 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' attribute. - - - - - - - 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 e8f2a2e4bd..8507c91236 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-4.0.xsd" /> - + @@ -188,7 +188,7 @@ - + @@ -220,7 +220,7 @@ - + @@ -245,6 +245,19 @@ + + + + A SpEL expression to determine the 'primaryKey' value for + 'EntityManager.find(Class entityClass, Object primaryKey)' using + the request Message as the root object of evaluation context. + The 'entityClass' argument is determined from the 'entity-class' attribute, + if present, otherwise the 'payload' class is used. All other attributes + (except 'delete-after-poll' and 'flush-after-delete') are disallowed + when specifying an 'id-expression'. + + + @@ -447,20 +460,13 @@ - - - - [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. + exclusive with 'max-results-expression' attribute. @@ -474,7 +480,7 @@ - + - + Once entities have been retrieved from the database, shall @@ -513,7 +519,7 @@ - + If you want to automatically remove retrieved entities from @@ -528,7 +534,7 @@ - + Specifies whether EntityManager.flush() should be called after performing 'deletes' for retrieved entities. diff --git a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-4.0.xsd b/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-4.0.xsd deleted file mode 100644 index e7d19fc3b2..0000000000 --- a/spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-4.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 b2c1baf690..e7d19fc3b2 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-4.0.xsd"/> - + diff --git a/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-4.0.xsd b/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-4.0.xsd deleted file mode 100644 index 90726a84f2..0000000000 --- a/spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-4.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 0917faa5b3..90726a84f2 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-4.0.xsd" /> - + diff --git a/spring-integration-mqtt/src/main/resources/org/springframework/integration/mqtt/config/xml/spring-integration-mqtt-4.0.xsd b/spring-integration-mqtt/src/main/resources/org/springframework/integration/mqtt/config/xml/spring-integration-mqtt-4.1.xsd similarity index 100% rename from spring-integration-mqtt/src/main/resources/org/springframework/integration/mqtt/config/xml/spring-integration-mqtt-4.0.xsd rename to spring-integration-mqtt/src/main/resources/org/springframework/integration/mqtt/config/xml/spring-integration-mqtt-4.1.xsd diff --git a/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.0.xsd b/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.0.xsd deleted file mode 100644 index cdd383d0eb..0000000000 --- a/spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-4.0.xsd +++ /dev/null @@ -1,840 +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 - - - - - - - - - - - - - - - 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'. - - - - - - - - - - - - Defines an outbound Redis Command Sending Gateway. - - - - - - - - - - - - Reference to a RedisConnectionFactory. If none is provided, the default - bean name for the reference will be "redisConnectionFactory". - Mutually exclusive with 'redis-template' attribute. - - - - - - - - - - - - RedisTemplate to be used with this gateway. - Mutually exclusive with 'connection-factory' attribute. - - - - - - - - - - - - - - - - - - - - - Specify whether this outbound gateway must return a non-null value. This value is - 'false' by default, otherwise a ReplyRequiredException will be thrown when - the underlying service returns a null value. - - - - - - - - - - - - - - - - - - - - - - - - - - - Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer. - Used to serialize each command argument to byte[] if necessary. - - - - - - - - - - - SpEL expression that returns the command key. Default is the 'redis_command' message header. - The command must not be evaluated to 'null'. - - - - - - - Comma-separated SpEL expressions that will be evaluated as command arguments. - Mutually exclusive with the 'arguments-strategy' attribute. If 'use-command-variable' is - specified to 'true', the '#cmd' variable will be presented within evaluation context. - Argument expressions may evaluate to 'null', to support a variable number of arguments. - - - - - - - Specifies, if the evaluated Redis command string will be made available - as the '#cmd' variable in the SpEL evaluation context in the - org.springframework.integration.redis.outbound.ExpressionArgumentsStrategy - when 'argument-expressions' is - configured, otherwise this attribute is ignored. - - - - - - - - Reference to an instance of org.springframework.integration.redis.outbound.ArgumentsStrategy. - Mutually exclusive with the 'argument-expressions' attribute. By default the 'payload' is used - as the command argument(s). To disable any strategy (no arguments) this attribute should be - configured as an empty string. - - - - - - - - - - - - - - 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 141e6eaac2..cdd383d0eb 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,7 +8,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd" /> - - - - - [DEFAULT] Redis List - - - - - - - Redis Set - - - - - - - Redis Sorted Set - - - - - - - Redis Map - - - - - - - Redis Properties - - - - + @@ -499,6 +463,163 @@ + + + + Defines an outbound Redis Command Sending Gateway. + + + + + + + + + + + + Reference to a RedisConnectionFactory. If none is provided, the default + bean name for the reference will be "redisConnectionFactory". + Mutually exclusive with 'redis-template' attribute. + + + + + + + + + + + + RedisTemplate to be used with this gateway. + Mutually exclusive with 'connection-factory' attribute. + + + + + + + + + + + + + + + + + + + + + Specify whether this outbound gateway must return a non-null value. This value is + 'false' by default, otherwise a ReplyRequiredException will be thrown when + the underlying service returns a null value. + + + + + + + + + + + + + + + + + + + + + + + + + + + Reference to an instance of org.springframework.data.redis.serializer.RedisSerializer. + Used to serialize each command argument to byte[] if necessary. + + + + + + + + + + + SpEL expression that returns the command key. Default is the 'redis_command' message header. + The command must not be evaluated to 'null'. + + + + + + + Comma-separated SpEL expressions that will be evaluated as command arguments. + Mutually exclusive with the 'arguments-strategy' attribute. If 'use-command-variable' is + specified to 'true', the '#cmd' variable will be presented within evaluation context. + Argument expressions may evaluate to 'null', to support a variable number of arguments. + + + + + + + Specifies, if the evaluated Redis command string will be made available + as the '#cmd' variable in the SpEL evaluation context in the + org.springframework.integration.redis.outbound.ExpressionArgumentsStrategy + when 'argument-expressions' is + configured, otherwise this attribute is ignored. + + + + + + + + Reference to an instance of org.springframework.integration.redis.outbound.ArgumentsStrategy. + Mutually exclusive with the 'argument-expressions' attribute. By default the 'payload' is used + as the command argument(s). To disable any strategy (no arguments) this attribute should be + configured as an empty string. + + + + + + + + + + @@ -671,44 +792,49 @@ - - - - - [DEFAULT] Redis List - - - - - - - Redis Set - - - - - - - Redis Sorted Set - - - - - - - Redis Map - - - - - - - Redis Properties - - - - + + + + + + + + [DEFAULT] Redis List + + + + + + + Redis Set + + + + + + + Redis Sorted Set + + + + + + + Redis Map + + + + + + + Redis Properties + + + + + + diff --git a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-4.0.xsd b/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-4.0.xsd deleted file mode 100644 index a0b2114a4f..0000000000 --- a/spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-4.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 d33610c0a9..a0b2114a4f 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-4.0.xsd"/> - + diff --git a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.0.xsd b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.0.xsd deleted file mode 100644 index dc1bdbe640..0000000000 --- a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-4.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 d07dd7e107..dc1bdbe640 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-4.0.xsd" /> diff --git a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.0.xsd b/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.0.xsd deleted file mode 100644 index c94baee611..0000000000 --- a/spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-4.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 f92337b667..c94baee611 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,7 +8,7 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd" /> diff --git a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-4.0.xsd b/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-4.0.xsd deleted file mode 100644 index f0ce6af405..0000000000 --- a/spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-4.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-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.0.xsd b/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.0.xsd deleted file mode 100644 index 118b7bcca5..0000000000 --- a/spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-4.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 6003d92ff3..118b7bcca5 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 @@ -10,9 +10,9 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd" /> + schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-4.0.xsd" /> @@ -24,7 +24,7 @@ - + @@ -204,7 +204,7 @@ - + diff --git a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-4.0.xsd b/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-4.0.xsd deleted file mode 100644 index 5f4879c3a0..0000000000 --- a/spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-4.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 888c135a3e..5f4879c3a0 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-4.0.xsd"/> - - - - - - - - - - - - - - - - - - - - - - - - - - An explicit tcp connection factory; requires protocol="tcp" and - incompatible with the 'port' attribute. - Use this if you want to set advanced configuration options on the - factory. The default factory uses - NIO. - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - The protocol used to listen for syslog packets, 'udp' or 'tcp'. - Default - is 'udp'. - - - - - - - The port on which this adapter listens for syslog packets. Default is - 514. This is - standard for UDP, but no standard is esablished for TCP - in many cases - 514 is - used for TCP, but 514 is actually allocated to another protocol. - - - - - - - - - - - - A converter used to map the UDP/TCP message to a Spring Integration - message. - Default is DefaultSyslogMessageConverter. - - - - - - - A timeout (milliseconds) when sending messages to 'channel' or - 'error-channel'. Only - applies if the send might block - such as when sending to a bounded - QueueChannel that - is currently full. Default is infinity. - - - - - - - - diff --git a/spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-4.1.xsd b/spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-4.1.xsd index 30ce3263d9..cbc4f31222 100644 --- a/spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-4.1.xsd +++ b/spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-4.1.xsd @@ -10,9 +10,9 @@ + schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd" /> + schemaLocation="http://www.springframework.org/schema/integration/ip/spring-integration-ip-4.0.xsd" /> - - - - - - - - - - - - Configures an inbound channel adapter that consumes your friends' timeline updates - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - - - - - Configures an inbound channel adapter that consumes mentions of your handle - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - - - - - - Configures an inbound channel adapter that consumes search results for a given query - from Twitter and sends Messages whose payloads are Tweet objects. - - - - - - - - - Twitter search query (e.g, #springintegration). - For more info on Twitter queries please refer to this site: http://search.twitter.com/operators) - - - - - - - - - - - - Configures an inbound channel adapter that consumes direct messages from Twitter - and sends Messages whose payloads are DirectMessage objects. - - - - - - - - - - - - - - - Configures an outbound channel adapter that sends Direct Messages to a Twitter user as - specified in the header whose name is defined by the TwitterHeaders.DM_TARGET_USER_ID constant. - - - - - - - - - - - - - - - - Configures an outbound channel adapter that posts a status update to the authorized user's timeline. - - - - - - - - - A SpEL expression that evaluates to tweetData; the evaluation result type can be - an 'org.springframework.social.twitter.api.TweetData', a 'String' or - 'org.springframework.social.twitter.api.Tweet'. - Default: "payload". - - - - - - - - - - - - - - - - - - - - The bean id of this gateway; the MessageHandler is also registered with this id - plus a suffix '.handler'. - - - - - - - A SpEL expression that evaluates to search arguments; the evaluation result type can be - an 'org.springframework.social.twitter.api.SearchParameters', a 'String', in - which case the default page size of 20 is used, or the expression can evaluate to - a list of search - arguments, for example: "{payload, headers.pageSize, headers.sinceId, headers.maxId}". - Default: "payload". - - - - - - - - - - - - Identifies the request channel attached to this gateway. - - - - - - - - - - - - Identifies the reply channel attached to this - gateway. - - - - - - - - - - - - - - - - - - - - - - - - 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. - - - - - - - - - - - - Limits the number of tweets retrieved on each poll; default: 20. - - - - - - - - - - - - - - - - - - - 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 c98713f305..e810d9989b 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-4.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 942e816398..57ca763388 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-4.0.xsd"/> @@ -441,6 +441,13 @@ + + + + + diff --git a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.0.xsd b/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.0.xsd deleted file mode 100644 index 9bd304b8e4..0000000000 --- a/spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-4.0.xsd +++ /dev/null @@ -1,347 +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 12fe6b3b5a..9bd304b8e4 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-4.0.xsd"/> @@ -72,11 +72,7 @@ ]]> - - - - - + @@ -89,6 +85,14 @@ + + + + + + + + @@ -194,7 +198,7 @@ - +