Gary Russell
04a42f54be
Rename Schemas to 5.0
...
Fix Schema Imports
spring.schemas
2016-08-18 14:40:38 -04:00
Gary Russell
05cc7be644
checkstyle WhiteAround
...
WhiteAroundCheck script
2016-04-05 13:50:11 -04:00
Gary Russell
842aded9a4
checkstyle MutableException
...
checkstyle EmptyBlock
checkstyle fixRightCurly Script
checkstyle EmptyStatement
checkstyle RightCurly
checkstyle TailingWhite
checkstyle NeedBraces
Fix the line separator in the `fixRightCurly.gradle`
2016-04-05 13:10:33 -04:00
Artem Bilan
2b0598291c
RequireThis rule and fixThis Gradle task
...
* `gradlew clean check -x test --parallel --continue` - to collect reports
* `gradlew fixThis --parallel` - to fix all possible vulnerabilities. With `-Dfile.encoding=UTF-8` on Windows
Since the `RequireThisCheck` doesn't see parents for anonymous classes (e.g. `Runnable` callback), its report doesn't contains the outer class name with `this.`,
therefore we still have to fix those cases manually.
Thanks to the wrong `replacer` just with `this.` we have uncompilable code enough easy to find problems.
Not so easy to fix for good readability though...
* Upgrade to Grade 2.12
* Upgrade to SonarQube native plugin
The fix contains at about 300 files. So, will be done on merge.
Fix `fixThis.gradle` according PR comments
Apply `fixThis` and also `fixModifiers` for test classes.
Fix some `this.` inner issues manually.
Make code polishing for long lines after `fixThis`
Fix conflicts and vulnerabilities after the rebase
2016-03-22 20:18:27 -04:00
Artem Bilan
66cd92a6e7
INT-3964: More @EnableIntegration Documentation
...
JIRA: https://jira.spring.io/browse/INT-3964
Doc Polish
XSD: document classes for element implementations
Fix Redis XSD typo for CDATA
2016-03-22 10:41:07 -04:00
Gary Russell
051b393ed0
Prepare Master for 4.3
...
Reference to 4.3
Refactor `what's new` for 4.3
2015-11-17 12:12:49 -05:00
Gary Russell
15eb01169d
INT-3581: Support selector-expression on WireTap
...
JIRA: https://jira.spring.io/browse/INT-3581
Move schemas to 4.2.
Add `selector-expression` to `<wire-tap/>`.
INT-3781: Fix What's New
Bump Namespace Version to 4.2
2015-01-13 15:32:06 -05:00
Artem Bilan
58932dc31f
INT-3426: Add <r-h-a-c> for all outbound-c-a
...
JIRA: https://jira.spring.io/browse/INT-3426
Provide other fixes for XSD. E.g. not all adapter have had `<poller>`
2014-07-02 16:02:55 +03:00
Artem Bilan
f5145f531b
INT-3418: Final Phase: Cleanup
...
INT-3418: use versioned XSDs for XSD import
2014-06-09 10:08:30 -04:00
Artem Bilan
77b31f58fd
INT-3418: xsd-4.0 -> 4.1
2014-06-05 13:34:52 +03:00
Artem Bilan
c0ab912c49
INT-3418: xsd-3.0 -> 4.0
2014-06-05 13:34:41 +03:00
Artem Bilan
9e5e7514e0
INT-3418: xsd-2.2 -> 3.0
2014-06-05 13:34:30 +03:00
Artem Bilan
9bd441c8d0
INT-3418: xsd-2.1 -> 2.2
2014-06-05 13:34:19 +03:00
Artem Bilan
af1cd16027
INT-3418: xsd-2.0 -> 2.1
2014-06-05 13:33:57 +03:00
Artem Bilan
fa33f8f21d
INT-3418: xsd-1.0 -> 2.0
2014-06-05 13:33:40 +03:00
Artem Bilan
cedbf6edc2
INT-3418: Prepare 4.1 VERSION
...
JIRA: https://jira.spring.io/browse/INT-3418
* Create 4.1 XSD
* Clean up Docs for 4.1
* Prepare WebSocket module
* Add Reactor dependency
* Remove Eclipse and SNV artifacts
Phase #1 : prepare
Conflicts:
gradle.properties
2014-05-30 21:14:21 +03:00
Gary Russell
a7489909d7
INT-2738 Add Missing getComponentType() Methods
...
JIRA: https://jira.spring.io/browse/INT-2738
Add a `getComponentType()` method for all handlers,
message producers, and message sources that implement
`NamedComponent` (see `SPCA.getComponentType()`).
Add rome as an optional dependency - STS complained
because AtomFeedHttpMessageConverter has a dependency
on it.
2014-04-14 16:45:47 +03:00
Gary Russell
c45b708341
INT-3262 JDK8 Javadoc Commit
...
Increase receive timeout for `Jsr223TransformerTests#testInt3162ScriptExecutorThreadSafety`.
JIRA: https://jira.springsource.org/browse/INT-3262
JIRA: https://jira.springsource.org/browse/INT-3263
2014-01-15 19:16:37 +02:00
Gary Russell
e8843f3358
INT-3208 Create 4.0 Schemas
...
Update the spring.schemas files.
Update the version in the abstract namespace parser.
JIRA: https://jira.springsource.org/browse/INT-3208
The following is a diff showing changes between the 3.0 and 4.0 schemas...
./spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-3.0.xsd
12c12
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-3.0.xsd
./spring-integration-event/src/main/resources/org/springframework/integration/event/config/spring-integration-event-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-feed/src/main/resources/org/springframework/integration/feed/config/spring-integration-feed-3.0.xsd
12c12
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
15c15
< schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-4.0.xsd " />
./spring-integration-gemfire/src/main/resources/org/springframework/integration/gemfire/config/xml/spring-integration-gemfire-3.0.xsd
./spring-integration-groovy/src/main/resources/org/springframework/integration/groovy/config/spring-integration-groovy-3.0.xsd
10c10
< schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-3.0.xsd "
---
> schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-4.0.xsd "
13c13
< <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-http/src/main/resources/org/springframework/integration/http/config/spring-integration-http-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-ip/src/main/resources/org/springframework/integration/ip/config/spring-integration-ip-3.0.xsd
12c12
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/config/spring-integration-jdbc-3.0.xsd
9c9
< <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-jms/src/main/resources/org/springframework/integration/jms/config/spring-integration-jms-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-3.0.xsd
9c9
< <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> <xsd:import namespace="http://www.springframework.org/schema/integration " schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-jpa/src/main/resources/org/springframework/integration/jpa/config/xml/spring-integration-jpa-3.0.xsd
12c12
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-mongodb/src/main/resources/org/springframework/integration/mongodb/config/spring-integration-mongodb-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-redis/src/main/resources/org/springframework/integration/redis/config/spring-integration-redis-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-rmi/src/main/resources/org/springframework/integration/rmi/config/spring-integration-rmi-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-3.0.xsd
8c8
< schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/scripting/spring-integration-scripting-core-4.0.xsd " />
./spring-integration-scripting/src/main/resources/org/springframework/integration/scripting/config/spring-integration-scripting-core-3.0.xsd
11c11
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
./spring-integration-security/src/main/resources/org/springframework/integration/security/config/spring-integration-security-3.0.xsd
./spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
15c15
< schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/file/spring-integration-file-4.0.xsd " />
./spring-integration-stream/src/main/resources/org/springframework/integration/stream/config/spring-integration-stream-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-syslog/src/main/resources/org/springframework/integration/syslog/config/spring-integration-syslog-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd " />
15c15
< schemaLocation="http://www.springframework.org/schema/integration/ip/spring-integration-ip-3.0.xsd " />
---
> schemaLocation="http://www.springframework.org/schema/integration/ip/spring-integration-ip-4.0.xsd " />
./spring-integration-twitter/src/main/resources/org/springframework/integration/twitter/config/spring-integration-twitter-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-ws/src/main/resources/org/springframework/integration/ws/config/spring-integration-ws-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-xml/src/main/resources/org/springframework/integration/xml/config/spring-integration-xml-3.0.xsd
13c13
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
./spring-integration-xmpp/src/main/resources/org/springframework/integration/xmpp/config/spring-integration-xmpp-3.0.xsd
14c14
< schemaLocation="http://www.springframework.org/schema/integration/spring-integration-3.0.xsd "/>
---
> schemaLocation="http://www.springframework.org/schema/integration/spring-integration-4.0.xsd "/>
2013-12-16 13:04:18 -05:00
Gary Russell
7dcd2b5fe9
Remove SI GenericMessage
...
- Deprecate for now to ease XD migration.
2013-10-24 09:46:30 -04:00
Andy Wilkinson
28ab8394de
Build on top of Spring 4's new messaging types
...
This commit updates Spring Integration to depend upon Spring 4, making
use of the message types that have moved from Spring Integration into
Spring's new spring-messaging module.
The default message converter no longer supports conversion of a
message that is null, throwing an IllegalArgumentException if an
attempt is made to convert null. Furthermore, GenericMessagingTemplate
does not support sending null, again throwing an
IllegalArgumentException. Previously, MessagingTemplate had no-oped an
attempt to send null.
ConcurrentAggregatorTests and AggregatorTests both had a single test
that was specifically testing the behaviour of an aggregator that
returns null for its message. These tests have been removed.
CorrelatingMessageHandlerTests have been updated to specify some
additional behaviour for its mocks so that null messages are not
returned.
These are the only functional changes that have been made. All other
changes are simply for moving to the repackaged and/or renamed types.
In the move to being part of core Spring, a number of constants and
header accessor methods have moved from MessageHeaders to
MessageHeaderAccessor. This commit continues this pattern for
the enterprise integration headers that are specific to Spring
Integration. A new class, EiMessageHeaderAccessor, has been created.
This class provides constants and methods for working with SI-specific
headers. The main code and tests have been updated to use this new
class.
2013-10-08 16:42:22 -04:00
Artem Bilan
f3d3f4ee4b
INT-2998: Channel Adapters' Lifecycle Refactoring
...
* Add XSD attributeGroup `smartLifeCycleAttributeGroup`
* Use it for all adapters tags
* Refactoring `AbstractChannelAdapterParser` hierarchy
* Refactoring some `MessageHandler`'s that should not have `autoStartup` & `phase`.
It is the responsibility of `AbstrctEndpoint`
* Polishing some tests according new logic
JIRA: https://jira.springsource.org/browse/INT-2998
INT-2998: Polishing
Polishing
- Reformat schemas where indentation changed
- Add SLC to the UDP inbound adapter
2013-09-23 17:58:58 -04:00
Gary Russell
451beb424a
INT-2873 Create 3.0 Schemas
...
Copy schemas, cleanup whitespace, update spring.schemas files,
update version in AbstractIntegrationNamespaceHandler.
For each schema compared the 2.2 version with the 3.0 version
(diff -w), ensuring the only difference is the import of
3.0 schemas (where appropriate) instead of 2.2.
2013-01-25 16:12:00 -05:00
Gary Russell
95cd202be6
INT-2536 Create 2.2 Schemas
...
Add 2.2 versions of module schemas.
JMX is already covered by an existing pull request.
INT-2536 Schema Check
Bump version for schema check in
AbstractIntegrationNamespaceHandler.
INT-2536 Remove Schema Versions
Some test config files had 2.1 versioned schemas.
2012-05-04 10:04:01 -04:00
Gary Russell
f76f63f23a
NT-2400 Fix tool:expected-type Classes
...
* MessageChannel was moved from core to the base package.
* ChannelResolver moved from core to support.
* TcpConnectionInterceptorFactoryChain was incorrect.
2012-01-13 13:21:41 -05:00
Gary Russell
89cdef7a90
INT-2373 package-info JMX
...
INT-2374 package-info Mail
INT-2375 package-info MongoDB
INT-2376 package-info Redis
INT-2377 package-info RMI
INT-2379 package-info Security
INT-2381 package-info Stream
2012-01-05 15:29:48 -05:00
Mark Fisher
7c5603fe83
INT-2092 update schema imports to use 2.1 version
2011-08-31 05:26:02 -04:00
Mark Fisher
3e71b5a83b
INT-2004 added 2.1 versions of all XML schemas and adjusted spring.schemas files accordingly
2011-08-05 11:07:20 -04:00
Gary Russell
832b3433ee
INT-1848 Add order Attribute (stream)
2011-04-30 10:56:44 -04:00
Mark Fisher
6c2c34543b
polishing
2010-11-03 17:22:13 -04:00
Mark Fisher
1e9c3c6a8d
INT-1528 IntegrationNamespaceUtils.parseInnerHandlerDefinition(..) no longer registers the inner bean definition. Relatedly, all polling inbound adapter parsers now return BeanMetadataElement rather than a pre-registered bean's name (flexibility: RuntimeBeanReference, BeanDefintion, etc.)
2010-10-28 15:32:20 -04:00
Oleg Zhurakousky
b6e058c59b
INT-1263, added more changes and tests related valdating MessageHistory in every module
2010-09-22 18:44:51 -04:00
Oleg Zhurakousky
353b61160f
INT-1263, refactored MessageHandlers in several modules to subclass from AbstractMessageHandler to support MessageHistory
2010-08-31 22:56:05 +00:00
Mark Fisher
3b15a0dd38
INT-1390 moved MessageBuilder into the 'support' package, moved GenericMessage and ErrorMessage into the 'message' package
2010-08-31 02:51:27 +00:00
Mark Fisher
432a8ec381
INT-1389 removed all dependencies on StringMessage from unit tests in spring-integration-ip and spring-integration-stream
2010-08-30 18:48:54 +00:00
Mark Fisher
3f00c75740
INT-1129 moved StringMessage from 'message' to 'core' (we might remove it before 2.0...)
2010-07-28 15:22:33 +00:00
Mark Fisher
c69c29d2e1
INT-1129 moved MessageSource interface to 'core' package
2010-07-28 15:16:15 +00:00
Mark Fisher
80a22b8a2c
INT-1129 moved most of the MessagingException hierarchy to the root package (org.springframework.integration)
2010-07-28 15:10:42 +00:00
Mark Fisher
4de9a23357
INT-1129 moved Message and MessageHeaders from 'core' to the root (org.springframework.integration)
2010-07-28 15:05:50 +00:00
Mark Fisher
94938a2746
INT-1129 moved MessageHandler from 'message' to 'core'
2010-07-28 14:54:09 +00:00
Mark Fisher
008cac18f5
INT-1129 moved GenericMessage, ErrorMessage, and MessageDeliveryException from 'message' to 'core'
2010-07-28 14:42:02 +00:00
David Syer
829d6efc08
Fix compiler warnings and move docbook build to a profile
2010-07-27 12:54:18 +00:00
Chris Beams
c08a7a657e
renamed modules org.springframework.integration.* -> spring-integration-*
...
@Ignore'd SimpleTcpNetOutboundGatewayTests#testOutboundClose() to avoid failure; this failure is correlated to the module name change, but hard to understand how it would be caused by it
2010-05-25 13:21:25 +00:00