Commit Graph

823 Commits

Author SHA1 Message Date
Mark Fisher
6983e4ee77 @MessageMapper now accepts a "value" instead of "expression". The ArgumentArrayMessageMapper now verifies that only one valid mapping annotation has been provided on a parameter (@MessageMapping, @Header, or @Headers), and it ignores any other annotations (rather than throwing an Exception). 2009-10-10 18:59:06 +00:00
Iwein Fuld
b5a56dbfe0 fixed code style violation (spaces to tabs) 2009-10-10 18:53:29 +00:00
Iwein Fuld
c38b0e1832 https://jira.springsource.org/browse/INT-838
Added channel to the message, added testcase for this branch.
2009-10-10 18:14:08 +00:00
Oleg Zhurakousky
1d57b284eb INT-814, INT-839 Added PublisherAnnotationBeanPostProcessor, added tests for documenting usage of @Publisher annotation and AOP-based MessagePublisherInterceptor 2009-10-09 00:04:31 +00:00
Oleg Zhurakousky
26587d83ad Polished up ArgumentArrayMessageMapper (related to INT-681) 2009-10-08 03:56:26 +00:00
Mark Fisher
c00e1f1c82 INT-825 the <chain> element now accepts an inner poller with a "ref" attribute 2009-10-06 23:03:41 +00:00
Oleg Zhurakousky
9ff51efa7e INT-681, INT-565, Added @MessageMapping annotation to map Message to methods via EL, refactored ArgumentArrayMessageMapper, modified and added tests 2009-10-05 04:24:46 +00:00
Mark Fisher
be88fdb942 INT-796 namespace handler now checks for DefaultConfiguringBeanFactoryPostProcessor bean in parent contexts as well 2009-10-02 21:52:07 +00:00
Iwein Fuld
7a0b2587bf INT-330: added a check for superseded messages (duplicating sequence number) 2009-09-30 21:11:10 +00:00
Mark Fisher
93ba43f253 MessageMappingMethodInvoker is now MethodInvokingMessageProcessor since it implements the MessageProcessor interface and is a parallel implementation to ExpressionEvaluatingMessageProcessor. 2009-09-30 11:32:07 +00:00
Mark Fisher
fb4f43177c MethodParameterMessageMapper/MethodArgumentMessageMapper is now ArgumentArrayMessageMapper. That name is a better match since it maps between Message and args[] (from args to message for gateway and from message to args for service-activator). 2009-09-29 19:26:07 +00:00
Mark Fisher
b9f42ebd84 INT-28 committing non-annotation based ExpressionSource implementation 2009-09-29 19:10:39 +00:00
Mark Fisher
88425dafc9 avoiding downcast 2009-09-29 19:09:05 +00:00
Mark Fisher
b882bcf79e INT-28 Return value is now the default for MessagePublishingInterceptor. 2009-09-29 19:02:33 +00:00
Mark Fisher
0e8aa07748 INT-681, INT-710 more refactoring of code for mapping between Messages and argument arrays 2009-09-29 17:29:52 +00:00
Mark Fisher
047b31d759 INT-681, INT-710 started to refactor message-mapping logic to support EL, etc. 2009-09-29 15:11:14 +00:00
Mark Fisher
2165fdbe1e removed reflection usage for handling Annotation array return value across 2.5 and 3.0 now that we require Spring 3.0 2009-09-29 14:42:35 +00:00
Oleg Zhurakousky
7d3666b93f INT-807, INT-707 - fixed broken build after Spring RC1 migration 2009-09-29 11:15:18 +00:00
Mark Fisher
92ac1b760a INT-807 upgraded to Spring 3.0.RC1 2009-09-29 04:22:30 +00:00
Oleg Zhurakousky
f2603a9559 INT-707 2009-09-29 01:19:36 +00:00
Oleg Zhurakousky
42a5155d50 Fixed INT-770 2009-09-28 02:48:02 +00:00
Iwein Fuld
f01125a516 INT-806: pulled up resolveReplyChannel and made it final 2009-09-26 18:41:17 +00:00
Iwein Fuld
7f41a1b89f INT-801: Fixed concurrency problems and faulty sequence check in the resequencer tests 2009-09-26 16:24:40 +00:00
Mark Fisher
5f32e5a1aa INT-797 Any method originally defined on Object is now excluded from the candidates for Message-handling. 2009-09-22 19:07:28 +00:00
Iwein Fuld
942579e8a7 INT-330: moved base components for new aggregation over to HEAD, also fixed .classpaths 2009-09-21 13:56:05 +00:00
Oleg Zhurakousky
28c57bac04 Fixed the broken build 2009-09-16 05:12:49 +00:00
Oleg Zhurakousky
2645180900 2009-09-16 04:26:55 +00:00
Mark Fisher
e07b3b031c INT-547 Adjusted the @since version for 1.0.4 since this fix is included there as well. 2009-09-04 18:05:32 +00:00
Mark Fisher
a274cea41b INT-547 The 'selector' element is now supported at top level. 2009-09-04 17:33:04 +00:00
Mark Fisher
8be2af40a5 INT-788 Fixed 'cron-trigger' parser. It now refers to the core Spring CronTrigger. 2009-09-03 15:34:49 +00:00
Mark Fisher
50fc478102 INT-721 PayloadTypeRouter now considers the weight of the match so that an exact match is no longer required. Now interface and superclass types can also be valid candidates. 2009-08-31 19:36:04 +00:00
Mark Fisher
c2d77a8c87 INT-777 Added support for EL-based filters. 2009-08-31 17:36:40 +00:00
Mark Fisher
8e35ba237d INT-775 Added SpEL-based Message Router and parser support for the "expression" attribute on the <router/> element. 2009-08-28 21:30:02 +00:00
Mark Fisher
d164e18ed7 INT-776 Renamed 'createHandler' method to 'createMethodInvokingHandler' for clarity and converted template methods to be package-protected. 2009-08-28 19:49:19 +00:00
Mark Fisher
d1352a03b8 INT-776 Refactored Transformer, Splitter, and Router parsers to avoid duplication while adding support for EL-based handlers. 2009-08-28 19:39:45 +00:00
Mark Fisher
56196bffe8 INT-774 Added EL-based Splitter 2009-08-28 17:58:32 +00:00
Mark Fisher
eff45847e9 INT-773 Renamed MethodInvokingTransformer to MessageProcessingTransformer now that it is more generic and delegates to a MessageProcessor. 2009-08-27 00:28:37 +00:00
Mark Fisher
dc026521d0 INT-773 Refactored MethodInvokingTransformer to have a single constructor expecting a MessageProcessor. All configuration of a MessageMappingMethodInvoker now happens externally (in the FactoryBean or annotation post-processor). 2009-08-26 23:23:31 +00:00
Mark Fisher
2e168c9984 INT-767, INT-773 Added ExpressionEvaluatingMessageProcessor implementation and added support for EL-based Transformer. 2009-08-26 21:17:35 +00:00
Mark Fisher
4db77d65c8 INT-28 Added support for headers based on the evaluation of EL expressions provided on the @Publisher annotation. 2009-08-25 22:35:01 +00:00
Mark Fisher
0afaa22344 INT-28 Customized the EL parser with 'CreateObjectIfAttemptToReferenceNull' and 'GrowListsOnIndexBeyondSize' configuration, and fixed index incrementing. 2009-08-25 21:28:40 +00:00
Mark Fisher
42a1cf0e13 INT-28 Initial commit of (new in 2.0) MessagePublishingInterceptor. An AOP interceptor that uses EL to construct a Message payload and then publishes it. 2009-08-25 19:26:37 +00:00
Mark Fisher
e0dfba2ae9 INT-765, INT-766 Added MessageProcessor interface. The MessageMappingMethodInvoking now implements that interface. 2009-08-21 22:32:02 +00:00
Oleg Zhurakousky
0aaa5f9915 INT-703 Added support for inner consumer definition (beans:bean) 2009-08-18 04:14:10 +00:00
Oleg Zhurakousky
4168b49e49 INT-754. Moved parseInnerHandlerDefinitionMethod(..) to IntegrationNamespaceUtils as static method 2009-08-18 04:05:08 +00:00
Mark Fisher
db150fc800 created 2.0 version of XSD 2009-08-14 21:36:05 +00:00
Mark Fisher
3cb811d028 Moved all locking for safe concurrent access into the OrderedAwareLinkedHashSet so that AbstractDispatcher does not have any concurrency concerns itself. 2009-08-05 14:28:21 +00:00
Mark Fisher
7de6b0202f releasing lock in finally blocks 2009-08-05 12:46:20 +00:00
Iwein Fuld
5d6e4fad9e RESOLVED - issue INT-748: AbstractDispatcher allows unsafe concurrent access to handlers list
http://jira.springframework.org/browse/INT-748
2009-08-05 09:18:09 +00:00
Mark Fisher
e881c124d7 removed IntervalTrigger, now replaced by PeriodicTrigger in the Spring 3.0 core 2009-08-05 02:51:18 +00:00