Commit Graph

2293 Commits

Author SHA1 Message Date
Iwein Fuld
d1eebf9371 INT-1339: removed mark message to keep MessageGroup interface immutable 2010-09-15 20:45:04 +02:00
Oleg Zhurakousky
d40ce03e85 removed accidently typed in comment in MPI 2010-09-15 13:53:27 -04:00
Oleg Zhurakousky
b2533c0788 INT-1431, added SimpleMessageProducingHandlerMonitor to maintain semantics of some MessageHandlers also being MessageProducers 2010-09-15 13:50:16 -04:00
Oleg Zhurakousky
2e18ed6b11 INT-1371, added test for advice chain within the chain with TX, made spring-tx an optional depenency in template.mf 2010-09-15 11:06:16 -04:00
Oleg Zhurakousky
65a2f2462a INT-1371, made spring-tx dependency optional 2010-09-15 10:26:07 -04:00
Mark Fisher
45d266972f INT-1193 Added namespace support for JSON transformers 2010-09-14 17:47:51 -07:00
Mark Fisher
46c52f1b81 INT-1026 Added initial implementation of JSON transformers. 2010-09-14 17:31:12 -07:00
Iwein Fuld
2d5a9dde49 INT-1339: Added support for partial completion for disordered sequences.
- Added markMessageFromGroup to MessageGroup interface
- made ResequencingMessageGroupProcessor return the partial sequence that was processed
- removed obsolete test
- refactored CorrelatingMessageHandler to deal with the partially processed sequence properly

Still it is needed to remove the release-strategy attribute from the namespace to avoid confusion.
2010-09-14 16:58:48 +02:00
Iwein Fuld
4c193a217c INT-1339: Added testcases enforcing the desired behavior 2010-09-14 16:58:48 +02:00
Dave Syer
6233647a54 INT-1437: push sequence details into message builder
INT-1420: add javadocs
2010-09-14 07:43:51 +01:00
Iwein Fuld
aae01dc3d5 Merge branch 'master' of git.springsource.org:spring-integration/spring-integration
Conflicts:
	spring-integration-core/src/main/java/org/springframework/integration/splitter/AbstractMessageSplitter.java
2010-09-13 22:12:35 +02:00
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
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
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
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