Commit Graph

574 Commits

Author SHA1 Message Date
Iwein Fuld
058e555de9 INT-330: Added MessageGroup and refactored CorrelatingMessageHandler and MessageGroupProcessors. This is an intermediary commit. Still there are some options for simplification around the MessageGroupListener interface, as onMessageProcessed could likely be moved into the message group. 2009-12-29 18:19:35 +00:00
Iwein Fuld
0ad15c60cc POLISH: avoided some deprecation warnings, added some mock tests. 2009-12-28 19:07:30 +00:00
Mark Fisher
a8f3edd52a INT-911 created a separate XSD element for the 'gateway' used inside a chain, to avoid 'default' in the attribute names 2009-12-24 15:09:49 +00:00
Mark Fisher
b4bbf27432 INT-945 multiple @Payload annotations are now supported as long as no more than one of them provides no EL expression for qualified properties of the payload instance 2009-12-24 13:16:06 +00:00
Oleg Zhurakousky
572b7c0656 INT-911, Created MessageHandling infrastructure around Gateway so it could be included in the <chain> 2009-12-24 10:42:55 +00:00
Mark Fisher
afb53e166d INT-851 Added method name to the "name" property of the MessageHistory.Event for a gateway. 2009-12-24 02:37:54 +00:00
Mark Fisher
65102cc725 INT-578 RecipientListRouter now accepts a channel Map with MessageSelector keys (no namespace support yet). 2009-12-24 01:59:08 +00:00
Mark Fisher
f0ba127305 INT-931 header-enricher now supports method invocation 2009-12-23 21:49:54 +00:00
Mark Fisher
99a577372e Avoiding NPE when there is an ambiguous method and no method name has been provided. 2009-12-23 20:32:09 +00:00
Mark Fisher
be13958da4 INT-926 inner handler beans are now created with prototype scope to avoid shared singleton for multiple inheritors of same abstract parent (see tests in this commit for an example). 2009-12-23 06:56:42 +00:00
Mark Fisher
9bac64589d INT-779 The 'send-timeout' attribute is now available for all reply-producing handler types. 2009-12-23 03:46:18 +00:00
Mark Fisher
886e1dccb2 INT-828, INT-936 Created a FilteringReflectiveMethodResolver for use in the SpEL expression evaluation. 2009-12-23 02:09:50 +00:00
Mark Fisher
f84f71f261 formatting (after CR-9 review) 2009-12-22 21:44:51 +00:00
Mark Fisher
7c6e207adc INT-828, INT-829 Message mapping and method resolution are now both managed with SpEL support. INT-925 is resolved by this commit as well, since the EvaluationContext is reused for all invocations within a handler. This also appears to make the problem in INT-915 obsolete, and it lays the groundwork for INT-174 at the message-handling level. 2009-12-22 12:51:45 +00:00
Iwein Fuld
647c825cad INT-821: implemented namespace support for file locking 2009-12-14 21:11:58 +00:00
Iwein Fuld
55a9b13927 INT-833: Added basic support for extending the scanning mechanism 2009-12-12 19:53:45 +00:00
Mark Fisher
9e4e9ba7e7 added tests 2009-12-10 22:26:02 +00:00
Mark Fisher
34802e77fd INT-912 Channels with "datatype" now delegate to the "conversionService" bean if available. 2009-12-10 22:00:50 +00:00
Mark Fisher
a74090206f INT-914 DelayHandler now uses Spring's TaskScheduler rather than ScheduledExecutorService. 2009-12-10 03:48:21 +00:00
Mark Fisher
3ccd359b65 INT-CR-2 minor edits based on review feedback 2009-12-10 00:34:55 +00:00
Mark Fisher
538b13b757 INT-886 Failed dispatching due to "no subscribers" now provides a more meaningful exception message. 2009-12-10 00:13:48 +00:00
Mark Fisher
24201290e6 INT-87 initial commit of MessageHistory support (work in progress) 2009-12-09 21:43:50 +00:00
Mark Fisher
2205a60c1c INT-810 Removed "thread-pool-task-executor" element now that Spring 3.0's "task" namespace provides an "executor" element. 2009-12-09 18:31:06 +00:00
Mark Fisher
990610fdb6 INT-894 Added validation to avoid multiple conflicting annotations, and added GatewayProxyMessageMappingTests. 2009-12-08 20:43:25 +00:00
Mark Fisher
5961c8f3a8 removed unintended com.sun import 2009-12-08 15:03:40 +00:00
Mark Fisher
55f5e1aaf3 INT-906 Now retaining reply channel and error channel headers when invoking sendAndReceive() on the MessageChannelTemplate. 2009-12-07 00:11:26 +00:00
Mark Fisher
36f6ec07d6 formatting 2009-12-06 23:58:07 +00:00
Mark Fisher
f7bee0902b Renamed MessageStore's getAll(correlationKey) method to 'list(..)' 2009-12-02 18:25:38 +00:00
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