Gary Russell
7dabf749c6
INT-3374 Fix Package Tangle; Part I
...
JIRA: https://jira.spring.io/browse/INT-3374
`DefaultDatatypeChannelMessageConverter`
Move `getConversionService()` from `IntegrationContextUtils`
to `IntegrationUtils` in `support.utils`.
2014-04-15 13:33:24 -04: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
Artem Bilan
97c270c0e2
INT-3330 EnableIntegrationMBeanExport Annotation
...
JIRA: https://jira.spring.io/browse/INT-3330
INT-3330: Enable SpEL evaluation
INT-3330: Polishing for `MBeanExporterHelper`
INT-3330: Fix `errorChannel` early access
INT-3330: Polishing according PR comments
Polishing - copyrights, author, docs
2014-03-27 12:53:20 -04:00
Artem Bilan
8429424d46
INT-3317: Remove comparator from resequencer
...
JIRA: https://jira.spring.io/browse/INT-3317
In addition add `AbstractCorrelatingMessageHandler.discardChannelName` for convenience with JavaConfig
INT-3317: Add `AbstractCorrMH.outputChannelName`
INT-3317: Fix further `BF` population
Also add `MessageFilter.discardChannelName`
Move `XPathExpressionEvaluatingHeaderValueMessageProcessor` to the `xml.transformer.support` package
Additional polishing
Polishing
PR comments.
2014-03-12 11:25:17 -04:00
Artem Bilan
7adc9537b6
INT-3314: Fix BeanFactory Population for SAH
...
JIRA: https://jira.springsource.org/browse/INT-3314
Add to `ServiceActivatingHandler` `beanFactory` population code for the `MessageProcessor` delegate
INT-3314: Populate `BF` to `HValueMProcessor`s
Make `XPathExpressionEvaluatingHeaderValueMessageProcessor` as `public`
INT-3314: Populate `BF` to `HE.messageProcessor`
INT-3314: Add `BF` `NPE` protection
INT-3314 XPath Header Enricher Test
Add a test that verifies the `BeanFactoryTypeConverter` is used
(convert to a TimeZone object).
2014-03-10 12:01:53 -04:00
Artem Bilan
ea080e8a9b
INT-3284: Add 'spring.factories' Infrastructure
...
JIRA: https://jira.springsource.org/browse/INT-3284
* Introduce `IntegrationConfigurationBeanFactoryPostProcessor`, `IntegrationConfigurationInitializer`
* Apply `IntegrationConfigurationInitializer` and 'spring.factories' for HTTP and Security modules
INT-3284: Address PR's comments
JIRA: https://jira.springsource.org/browse/INT-3287
* Fix package tangle (INT-3287)
* Apply `IntegrationConfigurationInitializer` for `MBeanExporterHelper`
* Previously, there was a separate `ChannelSecurityInterceptorBeanPostProcessor`
for each `ChannelSecurityInterceptor` whereas now, there is one `ChannelSecurityInterceptorBeanPostProcessor`
that processes all interceptors
INT-3284 Refactoring around config package tangle
2014-02-06 11:58:23 -05:00
Gary Russell
5cb9f05a40
INT-3271 Revert MessageHandlingException Ctor Use
...
When `MHE` was moved to spring-messaging, 2 constructors were
dropped. INT-3246 worked around it but it had undesirable
side-effects. Constructors have been added back in
spring-messaging so this commit reverts to using those
constructors.
JIRA: https://jira.springsource.org/browse/INT-3271
2014-01-24 10:58:31 +02:00
Artem Bilan
16c7ac6134
INT-2688 Add header-type to xpath-header-enricher
...
JIRA: https://jira.springsource.org/browse/INT-2688
JIRA: https://jira.springsource.org/browse/INT-3237
Doc Polishing.
2014-01-21 12:07:48 -05: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
Artem Bilan
66efb34342
INT-3257 Make AggXmlMValidationEx more convenient
...
JIRA: https://jira.springsource.org/browse/INT-3257
2014-01-07 09:37:35 -05:00
Artem Bilan
acf2ad2229
INT-3246: MessageHandlingException Refactoring
...
JIRA: https://jira.springsource.org/browse/INT-3246
INT-3246: Add description to usage of MHException
Deprecate `MessageRejectedException` constructor
INT-3246: Remove `MessageHandlingException` class
2014-01-03 16:19:01 -05: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
2baea786b1
Merge remote-tracking branch 'upstream/master' into 4.0.0-WIP
...
Conflicts:
build.gradle
gradle.properties
spring-integration-core/src/main/java/org/springframework/integration/config/RouterFactoryBean.java
spring-integration-core/src/test/java/org/springframework/integration/channel/config/DispatchingChannelParserTests.java
spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayProxyFactoryBeanTests.java
spring-integration-core/src/test/java/org/springframework/integration/router/config/PayloadTypeRouterParserTests.java
spring-integration-core/src/test/java/org/springframework/integration/transformer/MessageTransformingChannelInterceptorTests.java
spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/ConnectionFactoryShutDownTests.java
spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/TcpNioConnectionReadTests.java
spring-integration-ip/src/test/java/org/springframework/integration/ip/udp/DatagramPacketSendingHandlerTests.java
spring-integration-ip/src/test/java/org/springframework/integration/ip/udp/MultiClientTests.java
spring-integration-ip/src/test/java/org/springframework/integration/ip/udp/UdpChannelAdapterTests.java
spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/StoredProcMessageHandler.java
spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/StoredProcOutboundGateway.java
spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/StoredProcPollingChannelAdapter.java
spring-integration-xmpp/src/main/java/org/springframework/integration/xmpp/core/AbstractXmppConnectionAwareEndpoint.java
Resolved.
2013-12-16 11:02:40 -05:00
Artem Bilan
c2004f1ab3
INT-3228: Remove Previous versions' Deprecations
...
JIRA: https://jira.springsource.org/browse/INT-3228
Remove elements that were deprecated in earlier
versions; see the migration guide for more information
https://github.com/spring-projects/spring-integration/wiki/Spring-Integration-2.2-to-3.0-Migration-Guide
INT-3228: Revert FileTransferMH#setTempDirectory
2013-12-10 09:21:04 -05:00
Gary Russell
feec3eaf84
Merge remote-tracking branch 'upstream/master' into 4.0.0-WIP
...
Conflicts:
build.gradle
spring-integration-amqp/src/main/java/org/springframework/integration/amqp/channel/AbstractSubscribableAmqpChannel.java
spring-integration-core/src/main/java/org/springframework/integration/channel/ExecutorChannel.java
spring-integration-event/src/main/java/org/springframework/integration/event/inbound/ApplicationEventListeningMessageProducer.java
spring-integration-file/src/test/java/org/springframework/integration/file/recursive/FileInboundChannelAdapterWithRecursiveDirectoryTests.java
spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection/TcpConnectionEventListeningMessageProducer.java
spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/StoredProcOutboundGatewayWithNamespaceIntegrationTests.java
spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/config/JdbcOutboundGatewayParserTests.java
spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/config/StoredProcInvalidConfigsTests.java
spring-integration-jms/src/main/java/org/springframework/integration/jms/SubscribableJmsChannel.java
spring-integration-jpa/src/test/java/org/springframework/integration/jpa/outbound/JpaOutboundGatewayIntegrationTests.java
spring-integration-redis/src/main/java/org/springframework/integration/redis/channel/SubscribableRedisChannel.java
spring-integration-security/src/test/java/org/springframework/integration/security/SecurityTestUtils.java
spring-integration-xml/src/main/java/org/springframework/integration/xml/selector/XmlValidatingMessageSelector.java
Resolved.
2013-12-06 14:23:23 -05:00
Gary Russell
5f555e31b3
INT-3218 Spring 4 Compatibility
...
Use `Arrays.asList()` instead of `Collections.arrayToList()` in
places where a generic type needs to be supplied by the caller.
This maintains compile-time compatibility with both Spring 3 and 4,
where Spring 4 added the generic type to the utility class.
The four occurrences where this was needed are not impacted
by the fact that `Arrays.asList()` returns an unmodifiable list.
2013-11-26 17:32:20 -05:00
Gary Russell
4a3ba5abd0
INT-3217 Update Default Spring to 3.2.5
...
JIRA: https://jira.springsource.org/browse/INT-3217
INT-3217 Polishing
PR Comments
Also fixes some other warnings (mainly unused imports).
2013-11-26 19:27:58 +02:00
Gary Russell
6fd8d1dba7
Update to Spring 4 Build Snapshot
...
- IdGenerator package change
- Generics added to CollectionUtils.arrayToList()
2013-11-26 09:28:41 -05:00
Gary Russell
48a005ec2a
Use SI BeanFactoryChannelResolver
...
Resolve channel names in the HeaderChannelRegistry.
Add back MessagingTemplate (subclass of GenericMessagingTemplate).
2013-11-25 18:43:16 -05:00
Gary Russell
a24b9ffa22
Merge remote-tracking branch 'upstream/master' into 4.0.0-WIP
...
Conflicts:
spring-integration-core/src/main/java/org/springframework/integration/gateway/MessagingGatewaySupport.java
spring-integration-core/src/main/java/org/springframework/integration/support/channel/BeanFactoryChannelResolver.java
spring-integration-core/src/main/java/org/springframework/integration/util/MessagingMethodInvokerHelper.java
spring-integration-core/src/test/java/org/springframework/integration/config/AggregatorParserTests.java
spring-integration-core/src/test/java/org/springframework/integration/config/annotation/AggregatorAnnotationTests.java
spring-integration-core/src/test/java/org/springframework/integration/config/xml/ControlBusTests.java
spring-integration-file/src/main/java/org/springframework/integration/file/DefaultFileNameGenerator.java
spring-integration-file/src/main/java/org/springframework/integration/file/remote/handler/FileTransferringMessageHandler.java
spring-integration-file/src/test/java/org/springframework/integration/file/remote/gateway/RemoteFileOutboundGatewayTests.java
spring-integration-ftp/src/test/java/org/springframework/integration/ftp/config/FtpOutboundGatewayParserTests.java
spring-integration-ftp/src/test/java/org/springframework/integration/ftp/inbound/FtpInboundRemoteFileSystemSynchronizerTests.java
spring-integration-ftp/src/test/java/org/springframework/integration/ftp/outbound/FtpServerOutboundTests.java
spring-integration-groovy/src/main/java/org/springframework/integration/groovy/GroovyScriptExecutingMessageProcessor.java
spring-integration-http/src/test/java/org/springframework/integration/http/outbound/UriVariableExpressionTests.java
spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/HelloWorldInterceptor.java
spring-integration-jpa/src/test/java/org/springframework/integration/jpa/outbound/JpaOutboundGatewayIntegrationTests.java
spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/store/MongoDbMessageGroupStoreTests.java
spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/store/MongoDbMessageStoreTests.java
spring-integration-redis/src/test/java/org/springframework/integration/redis/config/RedisOutboundChannelAdapterParserTests.java
spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/SftpOutboundGatewayParserTests.java
spring-integration-sftp/src/test/java/org/springframework/integration/sftp/inbound/SftpInboundRemoteFileSystemSynchronizerTests.java
spring-integration-sftp/src/test/java/org/springframework/integration/sftp/outbound/SftpServerOutboundTests.java
Resolved.
2013-11-25 17:59:51 -05:00
Artem Bilan
88de8117aa
INT-3140: Add #xpath() SpEL Function Support
...
JIRA: https://jira.springsource.org/browse/INT-3140
* Introduce `XPathUtils`
* Add `#xpath()` tests
* Add documentation
INT-3140: Polishing according PR comments
INT-3140 Polishing
- Doc and javadoc polishing
- Fix some compiler warnings (not all xpath)
2013-11-15 15:54:14 -05:00
Gary Russell
7dcd2b5fe9
Remove SI GenericMessage
...
- Deprecate for now to ease XD migration.
2013-10-24 09:46:30 -04:00
Gary Russell
b31018945d
Initial Changes for SPR 4.0.0.RC1
...
- MessageConverter
2013-10-24 09:38:34 -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
Gary Russell
5617d2e2d8
INT-2768 Polishing - Docs, White Space
...
Add what's new; fix white space in test case.
2013-09-25 17:43:33 -04:00
Artem Bilan
2f8053f585
INT-2768: Add BeanClassLoaderAware
2013-09-25 17:25:20 -04:00
mbazos
3daa690426
INT-2768 Add XSLT Transformer Factory Class Name
...
Add the ability to inject the class name of the xslt transformer
implementation.
https://jira.springsource.org/browse/INT-2768
-add @author to java docs
-updat copywrite year to current year
add new test and check for class name that it exists.
-fix xslt payload transformer and test for unknown class name, will
now default to the jre default transformer.
2013-09-25 17:23:29 -04:00
Artem Bilan
7517963be2
INT-3027: Headers Enrichment for <enricher>
...
* Add `<header>` sub-element to `<enricher>`
* Refactoring of `EnricherParser`
* Add Headers Enrichment logic to `ContentEnricher`
* Add tests
* What's new and Content Enricher's `<header>` note
JIRA: https://jira.springsource.org/browse/INT-3027
INT-3027: Addressing PR comments
INT-3027: add NPE asserts to map properties
INT-3027: add overwrite & type to enricher header
Move `HeaderValueMessageProcessor` hierarchy to 'transformer.support' package
INT-3027: Make header's overwrite=true by default
Doc Polishing
2013-09-24 12:55:06 -04:00
Gary Russell
7f008b58c2
INT-1639 Externalize SpEL Evaluation Context
...
Allow modification of context property accessors and
functions.
Polishing
- Fix tests to ensure the EvaluationContextFactoryBean is
available when necessary.
Polishing - Use Utility for ALL EvaluationContexts
Add Test Showing Custom Function
See SpelTransformerIntegrationTests-context.xml
Polishing
Polishing -fix Remote Sync
Polishing - Emit WARN if No BeanFactory
Polishing - Do Not Override ConversionService
Kludge to Prevent Warning When No BeanFactory
Expressions for method invoking in the MessagingMethodInvokerHelper
don't need a BeanFactory - suppress the warning.
Polishing - PR Comments - Invert Boolean
2013-08-25 20:01:14 -04:00
Artem Bilan
41fe514469
INT-3067 Xslt method=text StringResult coercion
...
Previously there was a need to add `result-type="StringResult"`
to <int-xml:xslt-transformer> for xslt output `method='text'`
in case payload was non-standard type (e.g. `File`), if we wanted to get
result as text.
* Add coercion to `StringResult` code, if `Transformer`'s property `method` is 'text' and there is no explicit `resultFactory` provided.
* Add documentation to reference manual
JIRA: https://jira.springsource.org/browse/INT-3067
2013-08-17 13:17:08 -04:00
Gunnar Hillert
05062aa0b2
INT-2964 Various JavaDoc Fixes
...
INT-2964 - JavaDoc: <emphasis> should be <em>
INT-2964 - JavaDoc: <p/> should be <p>
INT-2964 - JavaDoc polishing
* <li></li> should be wrapped in <ul></ul>
* wrap code snippets in {@code myCode()}
* change <code>false</false> to <code>false</code>
INT-2964 - Polish - Fix more JavaDoc errors
* Mockito-all dependency causes JavaDoc error. Change dependency to Mockito-Core.
2013-04-15 17:11:38 -04:00
Gunnar Hillert
0271acaf4c
INT-2916 - Upgrade to JUnit 4.11 in support of JDK7
...
For reference see: https://jira.springsource.org/browse/INT-2916
Changes:
* INT-2919 - Upgrade Spring Data Gemfire to 1.2.2.RELEASE
* Exclude Hamcrest transitive dependency from JUnit (as already explicitly declared)
* Set sourceCompatibility in build.gradle to 1.6
* Set targetCompatibility in build.gradle to 1.6
* Upgrade Hamcrest to 1.3 and fix deprications
- Corematcher is(*class) change to is(instanceOf(*class))
- Change org.junit.internal.matchers.TypeSafeMatcher to org.hamcrest.TypeSafeMatcher
- Change import org.junit.matchers.JUnitMatchers.containsString to org.hamcrest.CoreMatchers.containsString
- Change import org.junit.matchers.JUnitMatchers.both to org.hamcrest.CoreMatchers.both
- Change import org.junit.matchers.JUnitMatchers.containsString to org.hamcrest.CoreMatchers.containsString
* Fix JUnit deprecations
- changed junit.framework.Assert to org.junit.Assert
* Add few missing licenses headers to tests
* Marked several test classes with: @DirtiesContext(classMode=ClassMode.AFTER_EACH_TEST_METHOD)
- SplitterIntegrationTests
- GatewayInvokingMessageHandlerTests
- FileToChannelIntegrationTests
- FileInboundChannelAdapterWithRecursiveDirectoryTests
- JdbcMessageStoreChannelTests
- ChatMessageInboundChannelAdapterParserTests
* 3 Tests ignored (Still needs to be addressed):
- testOperationOnPrototypeBean
- testFailOperationWithCustomScope
- testOperationOfControlBus
* Update SQL script (test-failure):
- spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/config/outboundSchema.sql
- add drop table statements
- add ignore-failures="DROPS" to "jdbcOutboundChannelAdapterCommonConfig.xml"
INT-2916 - Code Review Changes
INT-2916 - Fix ignored Tests
Fix 3 previously ignored tests in *GroovyControlBusTests*:
* testOperationOnPrototypeBean
* testFailOperationWithCustomScope
* testOperationOfControlBus
INT-2916 - CI Build Testing
INT-2963 - Remove JDK7 Compilation Warnings
* Upgrade Mockito to 1.9.5
* Fix failing SubscribableJmsChannelTests
INT-2916 - Standardize Hamcrest assertions
Ensure Hamcrest assertions are standardized to: is(instanceOf(...))
2013-04-04 13:40:46 -04:00
Gunnar Hillert
26e41c8858
INT-2960 - Remove deprecated 'xpath-selector'
...
For reference see: https://jira.springsource.org/browse/INT-2960
* Remove 'xpath-selector' from XML Schema
* Remove parser class
* Remove tests
* Remove respective reference documentation
2013-03-14 15:48:20 -04:00
Soby Chacko
d43bbc8eda
INT-2531: Remove deprecations in XML Adapter after upgrade to Spring 3.1.1
...
* BeanDefinitionParserDelegate constructor now prefers an Environment. Circumvent this
preference by directly getting BeanDefinitionParserDelegate from the associated ParserContext
2013-03-14 13:47:06 -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
Gunnar Hillert
7055845424
INT-2218 - Chain Parser Validation Improvements
...
Components within Chain: Add parser validation
For reference see: https://jira.springsource.org/browse/INT-2218
INT-2218 - Code review changes
INT-2218 - Fix HttpOutboundGatewayParserTests
INT-2218 - Remove input-channel validation
Was already covered by PR #592
2012-09-21 12:22:52 +01:00
Gunnar Hillert
57bc67b8fb
INT-2689 - SI builds without warnings (Except Spring Integration HTTP)
...
* Ensure that no deprecation warnings occur
* Spring Integration builds with all tests successfully for Spring 3.1.2.RELEASE and 3.0.7.RELEASE (Except Spring Integration HTTP)
For reference see: https://jira.springsource.org/browse/INT-2689
INT-2694 - Fix Http Test Failures with Spring 3.0
As part of INT-2689, fix Http Test Failures in the Spring Integration Http Module when using Spring 3.0.7.RELEASE
For reference see: https://jira.springsource.org/browse/INT-2694
2012-08-01 13:09:51 -04:00
Gunnar Hillert
2877776823
INT-2473 - Update Doc for Xslt Transformers
...
INT-2473 Document XSD for xslt-transformer
* convert spaces to tabs in XsltPayloadTransformerParser
* Add JavaDoc to ResultTransformer
INT-2473 - Code/Doc Review
* Add documentation for *SourceFactories*
* Add links
* Rephrase section on *ResultTransformers*
Minor polish
2012-07-06 15:57:30 -04:00
Artem Bilan
25a2efe59c
INT-2607: refactor 'resolveId' with pC.isNested()
...
* add delegation to `BeanDefinitionReaderUtils.generateBeanName(definition, parserContext.getRegistry(), parserContext.isNested())`
in the `AbstractBeanDefinitionParser#resolveId()` implementations when it is necessary.
* remove redundant `shouldGenerateId()` & `shouldGenerateIdAsFallback()` when they don't make sense.
* additional simple polishing in the affected classes.
* remove TODO & forced 'id' attribute from JpaOutboundGatewayTests-context.xml to check that this solution works as was booked.
JIRA: https://jira.springsource.org/browse/INT-2607
2012-06-21 14:30:32 -04:00
Gunnar Hillert
a4a27e941f
INT-2290 - Document Top Schema Elements in XML Module
...
* Make sure all top-level XML Elements have documentation
* Convert space to tabs
2012-06-21 13:45:49 -04: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
Gunnar Hillert
bd3a93d601
INT-2371 - add package-info.java files - XML
...
See: https://jira.springsource.org/browse/INT-2371
INT-2370 - add package-info.java files - JDBC
Reference: https://jira.springsource.org/browse/INT-2370
Add package-info.java files - Twitter
For reference: https://jira.springsource.org/browse/INT-2383
INT-2386 - add package-info.java files - XMPP
For reference: https://jira.springsource.org/browse/INT-2386
INT-2384 - add package-info.java files - WS
Reference: https://jira.springsource.org/browse/INT-2384
INT-2382 - add package-info.java files - Test
For reference: https://jira.springsource.org/browse/INT-2382
2012-01-05 16:17:18 -05:00
Oleg Zhurakousky
0a8b348c98
INT-2299
...
put back 'channel-resolver' attribute with deprecation warnings
INT-2299 polishing
INT-2299 added XPATH test
2011-12-15 17:09:52 -05:00
Mark Fisher
73c9876aca
remove channel-resolver attribute
...
remove ChannelResolver awareness from router parsers and FactoryBean
refactor 'channelIdentifierMap' -> 'channelMappings' and other clarity enhancements
trim array tokens
added AbstractMappingMessageRouter
2011-10-21 16:12:00 -04:00
Gunnar Hillert
18aceb73fc
INT-2191 - XPath Expression Namespace Parser: Improve Validation
2011-10-20 17:01:16 -04:00
Mark Fisher
9819eb3b07
polishing
2011-10-20 10:56:44 -04:00
Gunnar Hillert
34a9703c7a
INT-2189 - Made expression attribute required
...
Made expression attribute required for xpath-expression element
2011-10-20 10:50:07 -04:00
Mark Fisher
2a33aaee5f
versionless schemas for xml module
2011-10-10 14:02:52 -04:00
Mark Fisher
c9a34f5d7b
add support for 'converter' on <xpath-router>
...
also improved the xsd doc and the reference manual
2011-10-04 15:35:43 -04:00