Commit Graph

745 Commits

Author SHA1 Message Date
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
Dave Syer
8cf6e474d2 INT-1452: fix names and counts attributes
Add global counts to mbean exporter
2010-10-05 14:12:53 -07:00
Dave Syer
3cfbbd9f79 Remove unnecessary instanceof check and @Suppress 2010-10-05 13:59:41 -07:00
Josh Long
75093c93b3 added a working feed adapter that also maintains state using the metadata persister mechanism. INT-786 2010-10-03 19:14:19 -07:00
Mark Fisher
4ae4b5d4d7 INT-1485 updated XSD schema to be more explicit about deprecated sub-elements on the poller 2010-09-28 17:58:06 -04:00
Mark Fisher
0548ec2756 formatting 2010-09-28 17:43:51 -04:00
Mark Fisher
473c53c235 removed explicit import requirement for AbstractPollingEndpoint 2010-09-28 17:25:15 -04:00
Mark Fisher
a14585c702 reintroduced assertion for commit count 2010-09-28 17:18:37 -04:00
Mark Fisher
43e25630fd Merge branch 'int1486' 2010-09-28 16:15:28 -04:00
Oleg Zhurakousky
d59b40ace7 INT-1451, INT-588 removed coomment based tx dependencies from the PollerParser, updated documentation with more details on Poller refactoring and other TX stuff to address 588 2010-09-28 15:57:22 -04:00
Mark Fisher
aba3b47060 INT-1486 refactored payload-serializing/deserializing-transformes for latest commons-serializer updates 2010-09-28 14:52:37 -04:00
Oleg Zhurakousky
9d6d433408 INT-1451 move added trasactional advice to the advice chain, made 'advice-chain' and 'transactional' mutually exclusive 2010-09-28 11:52:49 -04:00
Oleg Zhurakousky
b06fc5b15f INT-1483 modified PollerParser not to register TX Advisor with BF, but simply inject it into PolerMetadata as value instead of reference, added tests 2010-09-28 10:09:23 -04:00
Oleg Zhurakousky
32595009f2 INT-1451, formatting 2010-09-26 06:58:52 -04:00
Oleg Zhurakousky
2b2f06aafb INT-1451, removed 'implements InitBean' from APE as it already extends AE 2010-09-26 06:55:15 -04:00
Oleg Zhurakousky
804d3da932 INT-1451, more refactoring and polishing 2010-09-25 21:25:57 -04:00
Oleg Zhurakousky
5938cd9f52 INT-1451, more refactoring 2010-09-25 16:22:07 -04:00
Oleg Zhurakousky
47b1f7ae8e INT-1451, more refactoring 2010-09-25 16:16:34 -04:00
Oleg Zhurakousky
176115af57 INT-1451 refactoring part-2 2010-09-25 13:19:32 -04:00
Mark Fisher
26f4c341a7 removing cycle between context and util 2010-09-24 16:56:24 -04:00
Mark Fisher
c807307622 removing cycles in poller code 2010-09-24 16:34:42 -04:00
Oleg Zhurakousky
325f8cff71 INT-1475 polishing code 2010-09-23 21:36:28 -04:00