Iwein Fuld
95e1230238
QUALITY: Reorder code in AbstractMessageSplitter
2010-09-13 22:06:56 +02:00
Oleg Zhurakousky
f964f74f4e
INT-1448, INT-1442 accepted changes by Iwein, added small refactoring to AbstractMessageSplitter, added support for 'requires-reply' attribute, added test cases'
2010-09-13 15:57:57 -04:00
Mark Fisher
f454378013
INT-1412 added async send methods to AsyncMessagingOperations and AsyncMessagingTemplate
2010-09-13 13:10:53 -04:00
Iwein Fuld
014ba8d8f2
INT-1442: Added check for empty collection to AbstractMessageSplitter.
...
- also introduced testcase based on suggestion from Jettro (see issue)
- leaving a TODO for the awkwardly placed return statement (AbstractMessageSplitter needs more rigorous cleanup which I'll tackle separately)
2010-09-13 14:54:31 +02:00
Iwein Fuld
0c247c3a84
INT-1443: Reduce complexity and remove duplication in CorrelatingMessageBarrier
...
- factored out completeGroup and expireGroup methods
- cleaned up imports
- some formatting
- added javadoc to CorrelationStrategy
Note on the CorrelationStrategy changes:
According to Postel's law it is right for the CorrelatingMessageHandler to do a null check for the result of the CorrelationStrategy, but it is also a good idea to throw a more meaningful exception from the strategy itself. We cannot enforce this in the contract without inconveniencing the users, so we don't.
2010-09-12 12:55:45 +02:00
Iwein Fuld
97ca31d68d
INT-988 Added ignored test case. To reproduce bug:
...
- remove @Ignore
- put breakpoint in PropertyOrFieldReference (line 167)
- step through
2010-09-10 13:47:28 +02:00
Dave Syer
9d22d8abce
INT-1347: move sequence details to MessageBuilder so they can be shared by router and splitter
2010-09-10 10:44:25 +01:00
ozhurakousky
7df4425c41
INT-1427, made dependency on 'org.springframework.commons' optional 'resolution:=optional'
2010-09-06 20:39:07 -04:00
Chris Beams
5fd539ca5b
Fix manifests missing spring-commons imports (INT-1427)
2010-09-06 22:03:48 +02:00
Chris Beams
2d88bdd2e8
Increment versions to 2.0.0.BUILD-SNAPSHOT
2010-09-03 20:12:54 +00:00
Chris Beams
f4efc62ca7
Increment versions to 2.0.0.M7
2010-09-03 18:23:12 +00:00
Oleg Zhurakousky
0f6466841d
INT-1421 - actually did fixed the bug in test
2010-09-03 16:50:05 +00:00
Oleg Zhurakousky
dbf66605d9
INT-1421 - fixed the bug in test
2010-09-03 16:41:46 +00:00
Oleg Zhurakousky
74c6ef95ec
INT-1421 - changed to use PatternMatchUtils
2010-09-03 16:26:11 +00:00
David Syer
53f975311a
INT-1265, INT-1266, INT-1267: create new mbean exporter and move monitoring to there
2010-09-03 12:02:54 +00:00
Mark Fisher
eb84de121f
INT-1305 Refactored CorrelatingMessageHandler to rely on MessagingTemplate rather than using ChannelResolver directly. More importantly, the MessageGroupProcessor now defines a simpler method: Object processMessageGroup(MessageGroup) which is consistent with the MessageProcessor method: Object processMessage(Message)
2010-09-03 05:40:09 +00:00
Mark Fisher
2f5dc0c202
INT-1306 renamed AbstractMessagingGateway to MessagingGatewaySupport
2010-09-03 04:02:49 +00:00
Mark Fisher
4677615b5a
moved MessagingTemplateTests into core package from channel (since MessagingTemplate itself has moved)
2010-09-03 03:02:58 +00:00
Mark Fisher
8a6ba97c1f
INT-943 added support for Future return types on Gateway interface methods
2010-09-03 03:00:09 +00:00
Mark Fisher
b816ac7d44
INT-1411 added tests for asyncConvertSendAndReceive operations with MessagePostProcessor
2010-09-03 00:48:19 +00:00
Mark Fisher
cd4bc04801
INT-1411 added tests for asyncReceiveAndConvert operations
2010-09-03 00:40:56 +00:00
Mark Fisher
9e4a84257b
INT-1411 added tests for asyncReceive operations
2010-09-03 00:37:43 +00:00
Mark Fisher
e600243ea8
INT-1411 added test for cancellation
2010-09-03 00:13:03 +00:00
Mark Fisher
c8b9c618d5
INT-1411 added convertSendAndReceive methods that accept MessagePostProcessors for the requests to AsyncMessagingTemplate and AsyncMessagingOperations
2010-09-02 23:39:01 +00:00
Mark Fisher
eb341b234a
INT-1411 added receive and receiveAndConvert methods to AsyncMessagingTemplate and AsyncMessagingOperations
2010-09-02 23:25:38 +00:00
Mark Fisher
da83e4c2e1
INT-1411 added tests for AsyncMessagingTemplate
2010-09-02 23:08:51 +00:00
Mark Fisher
245dc30c6f
INT-1411 Added AsyncMessagingTemplate, implementing AsyncMessagingOperations
2010-09-02 22:47:30 +00:00
Mark Fisher
01e3ae539b
INT-1410 SoucePollingChannelAdapter retrieves the componentType from its underlying MessageSource if that MessageSource is also a NamedComponent.
2010-09-02 20:40:20 +00:00
Mark Fisher
4948058482
INT-1410 SourcePollingChannelAdapter is now a TrackableComponent
2010-09-02 20:10:50 +00:00
Mark Fisher
f78794f900
INT-1409 added proper support for the 'send-timeout' attribute on <bridge>
2010-09-02 19:30:58 +00:00
Mark Fisher
dc5800ed0d
avoiding class dependencies in parser
2010-09-02 18:19:21 +00:00
Iwein Fuld
6eda3ec1d2
Prevented "Dispatcher has no subscribers" output in the build.
2010-09-02 18:04:33 +00:00
Iwein Fuld
23c96506ff
Renamed 'testChannel's to pinpoint no subscriber isssue
2010-09-02 18:04:30 +00:00
Mark Fisher
1142dab8f9
INT-1406 removed obsolete MethodInvoker code from org.springframework.integration.util
2010-09-02 17:27:37 +00:00
Mark Fisher
c313b8bd78
INT-1283 simplifying MethodInvokingMessageSource
2010-09-02 17:10:27 +00:00
Mark Fisher
f90fa24a04
javadoc
2010-09-02 16:03:20 +00:00
Mark Fisher
c1b90d8aa7
javadoc and formatting
2010-09-02 15:58:10 +00:00
Chris Beams
2c17719313
Introduce Maven release:update-versions plugin (INT-1320)
...
- Upgrade to version 2.0 of the maven-release-plugin in order to
get the new 'update-versions' goal, which allows for doing nothing
other than updating pom versions - no tagging, no checkins, etc.
- Accommodate idiosyncracies of the plugin. When running for the first
time, it became clear that update-versions not only updates versions
as advertised, but also formats certain elements of the pom.
Committing just those format changes now so that future actual version
updates will not have to deal with this uninvited 'help'.
- How to run the command:
mvn --batch-mode release:update-versions -DdevelopmentVersion=2.0.0.M7
This will edit the <version> elements in the poms of the projects listed
in the root pom's <modules> section.
2010-09-02 15:57:05 +00:00
Mark Fisher
a55ab3af05
INT-1401 renamed ExpressionSource to PublisherMetadataSource
2010-09-02 15:37:23 +00:00
Mark Fisher
8285e6b645
updated javadoc
2010-09-02 15:10:02 +00:00
Mark Fisher
e03d934b77
INT-1403 verifying a valid payload expression for void-returning methods with @Publisher
2010-09-02 14:54:07 +00:00
Mark Fisher
5c7f97f101
INT-1401 EvaluationContext variable names are now fixed (#return, #method, #args, and #exception)
2010-09-02 14:19:57 +00:00
Chris Beams
41e8194239
Revert update to 3.0.4 (INT-1293) due to SpEL issue (SPR-7519)
...
Upon updating to 3.0.4 the build fails with SpEL error code EL1004E when
executing test method shouldFindSimpleAggregatorMethodWithArray().
Reverting for now, but SPR-7519 has been created for tracking what
appears to be a minor SpEL regression.
- template.mf files now declare range [3.0.3, 4.0.0) for all Spring dependencies
- pom.xml files reverted to dependence on 3.0.3.RELEASE
2010-09-02 12:42:23 +00:00
Chris Beams
4ded74b317
Update pom and template.mf files Spring 3.0.4 (INT-1293)
2010-09-02 10:54:11 +00:00
Chris Beams
9e6e232837
Disconnect samples from parent pom (INT-1316)
2010-09-02 10:22:53 +00:00
Mark Fisher
a1a4a31a71
INT-1227 removed the protected, overridable shouldSplitIterableReply method in favor of a private, internal method in AbstractReplyProducingMessageHandler that simply checks if at least one item in the Iterable result is a Message or MessageBuilder instance.
2010-09-01 21:35:08 +00:00
Mark Fisher
dc86d88df4
INT-1129, INT-1263, INT-1306 removed SimpleMessagingGateway, refactored AbstractMessagingGateway to support GatewayProxyFactoryBean. AbstractMessagingGateway now uses HistoryWritingMessagePostProcessor.
2010-09-01 20:48:15 +00:00
Mark Fisher
a73810dbf9
INT-1263 added HistoryWritingMessagePostProcessor
2010-09-01 20:34:39 +00:00
Mark Fisher
e031723c21
added setter methods for InboundMessageMapper and OutboundMessageMapper on SimpleMessageConverter
2010-09-01 20:29:09 +00:00
Mark Fisher
5afe552d82
INT-1398 added MessagePostProcessor for use with MessagingTemplate convertAndSend methods as well as convertSendAndReceive methods
2010-09-01 20:17:46 +00:00