Commit Graph

1043 Commits

Author SHA1 Message Date
Mark Fisher
0e0c0f7673 INT-2122: removed intervalTriggerType and cronTriggerType from xsd 2011-09-29 11:34:28 -04:00
Mark Fisher
037e8aabc1 PollerParser correctly prevents multiple triggers 2011-09-27 16:52:00 -04:00
Oleg Zhurakousky
789c9d6da1 INT-1884 polished test that intermittently break CI
Increased the 'await' time in JdbcMessageStoreChannelIntegrationTests.testTransactionalSendAndReceive(), polished InnerDefinitionHandlerAwareEndpointParserTests.testAggregatorDefinitionSuccess to avoid NPE and increased its receive timeout as well
2011-09-23 11:04:53 -04:00
Mark Fisher
0439909b8a Add ReplyRequiredException 2011-09-23 10:16:00 -04:00
David Turanski
08f81ae51d Moved scripting support from core to scripting
spring-integration-test: Enhanced RequestResponseScenario test framework

 changed scripting namespace URIs to standard pattern
2011-09-23 09:07:42 -04:00
Mark Fisher
74628ccc5f No-arg gateway method can be a 'send' operation
- no-arg method will now be a send (instead of receive) if @Payload is present

  - added 'method' to the evaluation context variables with the String value of the invoked method's name

  - added test for new gateway no-arg method send option

  - enable 'payload-expression' in XML for no-arg methods

  - use per-method-invocation evaluation context for header expressions (provides 'args' and 'method' as context variables)
2011-09-20 13:15:44 -04:00
Mark Fisher
e4eee3bcf9 polishing 2011-09-20 12:06:14 -04:00
Gunnar Hillert
2c023f6fd1 Refactor/Standardize Router XSD Schema Attributes
- Add more documentation for schema elements in spring-integration-xml-2.1.xsd
  - Simplify Handling of Channel Resolution (Failures) for Routers
  - Fix PayloadTypeRouterTests
  - Update reference docs, XSD Schemas
  - Rename 'channel-resolution-required' to 'resolution-required'
  - Updated all tests accordingly
2011-09-20 11:08:43 -04:00
Mark Fisher
776159bfec polishing 2011-09-19 14:35:31 -04:00
Oleg Zhurakousky
779dc39673 improved documentation for 'send-partial-result-on-expiry' 2011-09-19 14:12:08 -04:00
Mark Fisher
fc7e090420 updated javadoc 2011-09-02 16:23:53 -04:00
Oleg Zhurakousky
2e6a25f7af INT-1968A fixed the broken test 2011-09-02 16:10:36 -04:00
Mark Fisher
b4c210691c polishing 2011-09-02 16:01:37 -04:00
Oleg Zhurakousky
1d9f0b24e5 ObjectToMapTransformer now handles BigDecimal
refactored it to delegate to Jackson mapper (much simpler)
  deleted unused classes
  changed the name of the attribute to 'shouldFlattenKeys'
  added support and tests for Collection of Collections
  fixed method signature, polishing
  fixed javadoc
  polishing, fixed spelling error, updated javadocs
2011-09-02 12:44:23 -04:00
Mark Fisher
4556a870f3 polishing 2011-09-02 11:37:12 -04:00
Mark Fisher
46925cf3e4 removed deprecated trigger sub-elements from core 2011-08-31 12:54:22 -04:00
Mark Fisher
7c5603fe83 INT-2092 update schema imports to use 2.1 version 2011-08-31 05:26:02 -04:00
Mark Fisher
bdc5dd9f85 added check for IllegalStateException on unexpected exception thrown from method invcation 2011-08-24 21:03:18 -04:00
Mark Fisher
f81c9e1d7b walks the cause hierarchy again
this will accommodate InvocationTargetException and more
2011-08-24 20:25:04 -04:00
Mark Fisher
e954e58e93 Gateway now rethrows unwrapped RuntimeExceptions 2011-08-24 20:25:04 -04:00
Oleg Zhurakousky
65b50ba002 INT-2011 fixed ReseqencerParserTests that was broken due to the change in method names in MaxValueReleaseStrategy 2011-08-24 16:13:12 -04:00
Oleg Zhurakousky
cd87a1a167 INT-2011 fixed MessagingMethodInvokerHelper.HandlerMethod.dummyMessages to be of type Collection<Message<?>> instead of List<Message<?>> 2011-08-24 15:47:31 -04:00
David Turanski
7921d3f7e6 INT-2068 fixed shouldSkipNulls logic 2011-08-21 11:05:54 -04:00
Mark Fisher
fa502a735b reverting use of new DefaultConversionService()
new DefaultConversionService() -> ConversionServiceFactory.createDefaultConversionService();
2011-08-19 15:40:30 -04:00
Mark Fisher
46e80d790e Add 'loggerName' property.
1. LoggingHandler now has a loggerName property
2. The <logging-channel-adapter> now has a 'logger-name' attribute

Issue: INT-1947
2011-08-13 14:05:54 -04:00
Oleg Zhurakousky
521a602dad INT-2040 changed signature of MessageStore.getMessageCount() to return long. Changed affected implementations 2011-08-11 13:07:41 -04:00
Oleg Zhurakousky
7b0cd7329b INT-2041 added MessageStoreException 2011-08-09 11:56:36 -04:00
Oleg Zhurakousky
b9121de1e8 INT-2039 removed more references to deprecated Spring classes. 2011-08-09 07:06:12 -04:00
Oleg Zhurakousky
6ecf0ec1e6 INT-2039 removed references to deprecated Spring classes. Modified code where needed 2011-08-09 00:19:42 -04:00
Oleg Zhurakousky
935cd01d07 INT-1512 changed the type of ID attribute to be xsd:string in all related 2.1 schema files 2011-08-08 23:34:12 -04:00
Oleg Zhurakousky
d38a56922f INT-2000 removed invalid test. Although it could have been fixed with adding a converter to BeanFactoryTypeConverter the actual scenario is invalid and unrealistic 2011-08-08 18:04:13 -04:00
Mark Fisher
71f6a7278b updated MessageBuilder.copyHeadersIfAbsent with a wildcard for the Map value to be more flexible and consistent with copyHeaders 2011-08-05 14:41:46 -04:00
Mark Fisher
3e71b5a83b INT-2004 added 2.1 versions of all XML schemas and adjusted spring.schemas files accordingly 2011-08-05 11:07:20 -04:00
David Turanski
9f415cc6ab INT-1576,INT-1579,INT-2025: added spring-integration-scripting and fixed HeaderEnricher issue 2011-08-03 15:16:19 +05:30
David Turanski
207f043587 INT-1576,INT-1579,INT-2025: added spring-integration-scripting and fixed HeaderEnricher issue 2011-08-03 15:16:19 +05:30
Mark Fisher
eb661d336c INT-1969 simplified PayloadTypeRouter code 2011-07-18 16:14:34 -04:00
Mark Fisher
7c9359e65f INT-1969 fixed some ambiguity tests 2011-07-18 15:50:43 -04:00
Oleg Zhurakousky
dda08a1b58 INT-1969 added even more tests for ambiguity checks 2011-07-18 14:04:21 -04:00
Oleg Zhurakousky
92f563f5e1 INT-1969 added more tests to validate several ambiguity scenarios for the PayloadTypeRouter 2011-07-18 13:58:26 -04:00
Oleg Zhurakousky
22bb8350b0 INT-1969 polished the code, modified exception message to include ambiguities 2011-07-18 12:58:47 -04:00
Mark Fisher
c92d877c24 INT-1969 ensuring that interface weight results are always odd to offset with even class results. Also fixed typo: 'matchedIntefaces' 2011-07-18 09:41:47 -04:00
Oleg Zhurakousky
f31aff1c27 INT-1969 polished PayloadTypeRouter support for determining the weight of sub-classes 2011-07-15 23:25:24 -04:00
Oleg Zhurakousky
4929fff7e5 INT-1978 added more tests for PayloadTypeRouter 2011-07-15 13:26:14 -04:00
Mark Fisher
7e4e58cddb INT-1969 adding type-difference-weight algorithm for more nuanced decision making with regard to class and/or interface hierarchies for the PayloadTypeRouter 2011-07-15 13:07:12 -04:00
Mark Fisher
cc56864c48 removing warnings 2011-07-15 11:48:08 -04:00
Mark Fisher
c856be6bcc formatting and removing unused method arg 2011-07-14 16:45:26 -04:00
Mark Fisher
2d72c278f9 polishing 2011-07-14 13:59:48 -04:00
Mark Fisher
ce3c538fb5 polishing 2011-07-14 13:49:10 -04:00
Mark Fisher
bd5bb7a101 removed System.out.println 2011-07-14 12:52:02 -04:00
Mark Fisher
1743347025 minor typo in xsd 2011-07-13 14:22:17 -04:00