Commit Graph

546 Commits

Author SHA1 Message Date
Mark Fisher
6a0e72bd6b INT-901 Resolved issue with inadvertent reply splitting. This might not be the permanent solution (may refactor AbstractMessageSplitter to inherit directly from AbstractMessageHandler). 2009-12-02 13:42:23 +00:00
Mark Fisher
4a13e38fde INT-901 removed ReplyMessageHolder and refactored AbstractReplyProducingMessageHandler accordingly 2009-12-02 02:37:51 +00:00
Mark Fisher
911c48b372 Refactored MessageProcessingTransformer to an abstract base class with separate MethodInvokingTransformer and ExpressionEvaluatingTransformer sub-classes (now consistent with splitter, router, etc). 2009-11-30 18:29:34 +00:00
Iwein Fuld
94c9c4d4fe INT-330: BufferingMessageHandler -> CorrelatingMessageHandler and MessagesProcessor -> MessageGroupProcessor 2009-11-26 18:16:45 +00:00
Iwein Fuld
0ce4b2ebb7 INT-330: Added MethodInvokingMessagesProcessor 2009-11-26 17:42:22 +00:00
Mark Fisher
ffc6dd556d INT-847 Upgrading to Spring 3.0 snapshot (CI-475 from 2009/11/25). 2009-11-26 05:35:38 +00:00
Mark Fisher
335f394653 ReflectionUtils.invokeMethod(..) does not accept a null target for static methods in the 3.0 snapshot (currently CI-475). 2009-11-26 04:58:41 +00:00
Mark Fisher
ad0cea59a2 removing AbstractHeaderTransformer since it is no longer used 2009-11-25 21:39:30 +00:00
Mark Fisher
641675bbe4 INT-878 The sub-elements of <header-enricher/> now support a "type" attribute. 2009-11-25 19:28:55 +00:00
Mark Fisher
63b657b52a INT-880 Added SpEL support to <header-enricher/> by including an "expression" attribute on the <header/> sub-element (to be used in place of either "value" or "ref"). 2009-11-25 00:01:31 +00:00
Mark Fisher
33f593cf27 INT-712 Headers defined by 'header-enricher' elements are now configured as sub-elements rather than attributes. This applies to the "core" as well as the JMS and Mail namespace support. 2009-11-03 00:14:28 +00:00
Mark Fisher
543ec6f5f6 INT-565 removed @MessageMapping and added @Payload 2009-11-02 17:03:33 +00:00
Mark Fisher
af5d6e0e30 Added test for auto-generated input-channel. 2009-11-02 14:43:37 +00:00
Mark Fisher
625db5a0d0 Added test for nested properties in an EL expression within a @Header annotation on a method parameter. 2009-10-30 22:17:28 +00:00
Mark Fisher
5ebafd8df9 INT-866 added "method" variable to the SpEL context and also refactored ExpressionBinding and ExpressionSource (work in progress). 2009-10-30 18:39:47 +00:00
Oleg Zhurakousky
8d49507cb0 INT-809 Added namespace support for MessagePublishigInterceptor 2009-10-28 20:46:54 +00:00
Mark Fisher
2064939c84 INT-845 added StartupMode enum since polling consumers must not start as eagerly as event-driven consumers subscribe to their input channels 2009-10-13 00:39:30 +00:00
Mark Fisher
611b2fc325 Refactored PublisherAnnotationBeanPostProcessor to implement BeanClassLoaderAware and to use AopUtils.canApply() since the advisor is a pointcut-advisor. 2009-10-10 19:21:27 +00:00
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
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
2b3971f68a Moved tests for ArgumentArrayMessageMapper to the 'handler' package since that is where ArgumentArrayMessageMapper is defined (at least for now... might reconsider). 2009-09-29 19:36:11 +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
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
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
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
9759e0e7dc fixed concurrency problem in test 2009-09-21 14:23:49 +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
Iwein Fuld
235c0220f5 INT-647 removed duplicated TestUtils and fixed resulting errors. It would be good to start using JavaConfig finally 2009-09-18 16:12:17 +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
5876e99475 INT-645 2009-09-04 16:13:53 +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
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
481be2f822 INT-773 Added integration test (including config + parsing) for Spring EL-based Transformer. 2009-08-26 21:30:41 +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
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