Commit Graph

1466 Commits

Author SHA1 Message Date
Dave Syer
e0dcf08b7e INT-1518: Provide crutch for broken RDBMS (DB2, Derby etc.)
- Externalize storeLock and LockInterceptor utility
- Add tests showing usage of tx interceptor
2010-10-17 16:54:38 -07:00
Mark Fisher
05de3b44c4 added test for header sub-elements with a method-invoking inbound-channel-adapter 2010-10-17 18:52:33 -04:00
Mark Fisher
e1b5088bc1 INT-1531 making getEvaluationContext() protected on AbstractExpressionEvaluator 2010-10-17 16:21:25 -04:00
Mark Fisher
df6d360441 INT-1000 polishing JsonInboundMessageMapper 2010-10-17 16:03:09 -04:00
Mark Fisher
52a1ba50df INT-1001 polishing JsonOutboundMessageMapper 2010-10-17 15:50:40 -04:00
Iwein Fuld
d0a00c68fd INT-1500: add apply-sequence flag to splitter. 2010-10-17 20:00:34 +02:00
Mark Fisher
70bf4fb7fa INT-1494 replaced 'scheduled-producer' with 'inbound-channel-adapter' 2010-10-17 12:08:45 -04:00
Mark Fisher
a6769f6fef INT-1494 added test for header expressions 2010-10-17 11:12:15 -04:00
Mark Fisher
0b6c04c0ea INT-1494 MethodInvokingMessageSource now extends AbstractMessageSource (will support header expressions) 2010-10-17 11:08:12 -04:00
Mark Fisher
bf9c8a15f0 INT-1494 first step: scheduled-producer now creates an instance of SourcePollingChannelAdapter 2010-10-17 10:35:49 -04:00
Mark Fisher
75527483f8 INT-1513 default send timeout for all handlers that extend AbstractReplyProducingMessageHandler is now that of the underlying MessagingTemplate (-1, indefinite). It can of course be changed via setSendTimeout(long). 2010-10-16 15:43:32 -04:00
Oleg Zhurakousky
3c5218ec67 INT-786 initial cleanup, removed MetaPersister in favor of injecting a Map which could be anything (e.g., cache etc.) 2010-10-16 08:03:00 -04:00
Mark Fisher
33888a1faf INT-1489 added Orderable interface so that setOrder() can be invoked without downcasting to a concrete type 2010-10-15 18:02:40 -04:00
Mark Fisher
d1dd9862a0 INT-1489 refactored SplitterFactoryBean to accommodate AOP proxies, and replaced an instanceof check for a concrete class to one for the MessageProducer interface 2010-10-15 17:53:01 -04:00
Mark Fisher
4bb5443a83 INT-1489 removed unnecessary instanceof checks in RouterFactoryBean 2010-10-15 16:57:45 -04:00
Mark Fisher
2910a9510c removing obsolete TODO from XSD 2010-10-15 12:15:08 -04:00
Iwein Fuld
e378af9006 INT-1339: Ensure sequences with gaps work in integrated scenario. Improve logging around correlated messages. 2010-10-15 17:50:50 +02:00
Iwein Fuld
0ddc1fe667 INT-1525: Add treatment for releasePartialSequences to ResequencerParser and CorrelatingMessageHandler 2010-10-15 17:50:34 +02:00
Mark Fisher
d68c9ba12b INT-1121 The 'messageStore' bean name is now the default reference for Claim Check transformers 2010-10-15 10:39:22 -04:00
Mark Fisher
ec8f3486a1 INT-1524 MessageHistory is now serializable 2010-10-15 08:24:26 -04:00
Oleg Zhurakousky
bbc9185991 INT-1399, modified calls to ConversionService to be in compliance with API changes in Spring 3.0.5 (obviously these changes are good for 3.0.3) 2010-10-15 06:59:36 -04:00
Oleg Zhurakousky
654ded6898 INT-957, polishing, also going back to throwing MessageRejectionException from XmlValidatingMessageSelector 2010-10-14 18:26:06 -04:00
Oleg Zhurakousky
fc51593001 INT-1519, INT-957, INT-1515, Added support for propagating XML Validation exceptions with MessageRejectedException, added support for 'xml-validator' attribute, change XmlValidatingMessageSelector to be bootstrapped with either Resource/Schema or XmlValidator 2010-10-14 14:12:54 -04:00
Oleg Zhurakousky
697a939370 INT-1377 merged AbstractRouterParser with AbstractChannelNameResolvingRouterParser, removed AbstractChannelNameResolvingRouterParser, now AbstractRouterParser is the base class for all routers 2010-10-14 07:04:10 -04:00
Oleg Zhurakousky
1d0b773f2b INT-1517, combined Single and Multi channel XPath routers, modified XPathRouterParser to inherit form the base parser for all routers, combine single/multiple xpath router tests into one 2010-10-14 06:45:22 -04:00
Oleg Zhurakousky
d58dd2fe25 INT-1377, polishing 2010-10-13 21:25:24 -04:00
Mark Fisher
fead4270cf INT-1382 updated XSD to support 'expression' sub-elements for header-enricher 2010-10-13 16:45:38 -04:00
Mark Fisher
7b70e3dcfe INT-1382 added support for expression sub-elements for header-enricher 2010-10-13 16:22:33 -04:00
Oleg Zhurakousky
5b6a96c34f INT-1377, polishing, added test for expression based router dynamics 2010-10-13 15:14:33 -04:00
Oleg Zhurakousky
713baedf43 INT-1377, Added test: a) to validate that call to determineTargetChannel always return no more then 1 channel for PTR, b) to make sure that if mapping changes the appropriate channel is selected 3) to make sure if mapping was removed messages are forwarded to defaultChannel or exception is thrown if defaultChannel is not provided and resolutionRequired is set to 'true', d) MessagingTemplate although defaults to BFCR can still rely on Custom CR Added, the same custom CR was tested for Routers 2010-10-13 13:23:39 -04:00
Mark Fisher
6a5efcc7b8 INT-1382 added tests for DynamicExpression-based transformer, and the default bean name for the ExpressionSource instance is now defined in the XSD as 'expressionSource' 2010-10-13 13:16:33 -04:00
Oleg Zhurakousky
ecc8b23cf1 INT-1377, merged AbstractSingleChannelNameRouter with AbstractMessageRouter, fixed corresponding tests, removed dependencies on it across the workspace 2010-10-13 11:30:09 -04:00
Dave Syer
f69a178c1f JMX: remove duplicate annotations 2010-10-13 08:17:29 -07:00
Oleg Zhurakousky
9f8b4d93a5 INT-1377, deleted AbstractSingleChannelRouter and the corresponding tests 2010-10-13 10:53:43 -04:00
Oleg Zhurakousky
1f367bc5ee Merge branch 'master' of git.springsource.org:spring-integration/spring-integration 2010-10-13 10:23:34 -04:00
Oleg Zhurakousky
92bce40378 INT-1377, modified tests, parsers and other components to ensure that BeanFactoryChannelResolver is the default one created internally by any router endpoint based on it being BeanFactoryAware 2010-10-13 10:23:15 -04:00
Mark Fisher
a1e73b6ee8 INT-1382 added tests for Splitter with DynamicExpression 2010-10-13 10:23:03 -04:00
Mark Fisher
b2698bf65f INT-1382 added support for 'expression' sub-elements for router element 2010-10-13 09:08:33 -04:00
Oleg Zhurakousky
c7fab44e0c INT-1441 reverted back to calling canConvert(), but added check to see if source is empty Collection and target is a Collection and simply returning back what was passed for conversion since empty Collection could be cast to any other typed Collection, added test 2010-10-13 08:13:02 -04:00
Oleg Zhurakousky
dbf76ee73a INT-1377 - first round of Router hierarchy refactoring to make them more dynamic, moved every router under ACNRMR (later ACNRMR will be merged with AMR), removed type preloading in PTR parser, fixed tests, removed MapBasedChannelResolver and related tests. fixed test for other components that were dependent on MapBasedChannelResolver 2010-10-13 07:08:07 -04:00
Mark Fisher
8737d46c6e INT-1382 added support for 'expression' sub-elements in the core schema 2010-10-12 19:12:37 -04:00
Oleg Zhurakousky
fee0aac0ed INT-1509, removed depndency on TaskExecutor in favor of Executor 2010-10-12 17:55:48 -04:00
Oleg Zhurakousky
967ea0b123 INT-1493, polished assertion to make sure that it asserts on atMost 1 invocation of the poller since there is still a natural race condition between stop() and poller loop 2010-10-12 08:57:39 -04:00
Oleg Zhurakousky
5f27825974 INT-1493 poslishing, added comment to SPCAFB about why 1 should be a default maxMessagesPerPoll, change assertion for BF in APE only when it is absolutely required 2010-10-12 08:19:14 -04:00
Oleg Zhurakousky
4263202e71 INT-1441 added null check for PropertyEditor and replaced canConvert with try/catch convert catching ConversionFailedException as per SPR-7548, no additional tests were added as this bug woudl affect the tests we already have 2010-10-12 06:54:21 -04:00
Oleg Zhurakousky
20eb2922ee INT-1493, ensured that default 'maxMessagesPerPoll' for SPCA is 1 and -1 for PC, added tests validating that both SPCA and PC stops 2010-10-12 05:42:10 -04:00
Mark Fisher
986d1ad1b2 INT-1382 added DynamicExpression, ExpressionSource strategy, and ResourceBundle-based implementation 2010-10-11 21:30:22 -04:00
Mark Fisher
f89862cf1d INT-1491 added filter name to rejection Exception description 2010-10-08 10:45:32 -04:00
Mark Fisher
72c372ee43 INT-1499 DelayHandler now implements MessageProducer 2010-10-08 10:31:17 -04:00
Dave Syer
07043a8875 INT-1489: inspect router to see if it is Advised
- Switch to proxy approach for handler monitor
- Add router mbean integration test
2010-10-05 14:22:49 -07:00