Commit Graph

1006 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
89c06965f0 INT-746: improved javadoc. 2009-12-29 12:23:40 +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
f65e47b41d INT-944 MethodInvokingMessageProcessor now handles Mockito mocks properly. 2009-12-24 14:23:55 +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
c313efda0a INT-875 2009-12-24 13:09:56 +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
5cabd501aa INT-937 added brackets in toString 2009-12-24 00:38:11 +00:00
Mark Fisher
fd107168df INT-937 added toString implementation to MethodInvokingMessageProcessor 2009-12-24 00:35:17 +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
Mark Fisher
5a6aea6b9d INT-847 Upgraded to Spring 3.0.0.RELEASE 2009-12-16 17:30:42 +00:00
Iwein Fuld
647c825cad INT-821: implemented namespace support for file locking 2009-12-14 21:11:58 +00:00
Mark Fisher
277ffcca60 modified custom (temporary) canConvert() method for Map/Properties from String in preparation for Spring 3.0 final 2009-12-14 16:28:21 +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
3bc36dd96b javadoc 2009-12-11 16:59:38 +00:00
Mark Fisher
c639753dd9 INT-903 2009-12-10 23:36:59 +00:00
Mark Fisher
b47c48c9c9 INT-901 Removed shouldSplitMessages() method and factored out a protected handleResult() method instead. 2009-12-10 22:53:53 +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
97f9b8e618 internal refactoring 2009-12-09 16:55:34 +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
53beb01ae7 INT-909 Added 'extractPayload' property (might rename) to the XmlPayloadMarshallingTransformer. The default is TRUE, but setting it to FALSE enables marshalling of the entire Message rather than just the payload. 2009-12-07 14:33:32 +00:00
Mark Fisher
39c19c8c4a INT-903 AbstractPayloadTransformer now treats return values of type Message as the result rather than considering that the payload of a new Message. 2009-12-07 11:41:35 +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
df39fcd14e using Assert 2009-12-06 23:59:32 +00:00
Mark Fisher
36f6ec07d6 formatting 2009-12-06 23:58:07 +00:00
Mark Fisher
99b8bd7f16 formatting 2009-12-02 19:26:21 +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
40f80d96cb AbstractMessagingGateway now uses a BridgeHandler for reply correlation instead of an anonymous handler implementation. 2009-12-01 23:16:01 +00:00
Mark Fisher
62542400f4 INT-900 changed internal/reserved header prefix from "springintegration_" to "$" 2009-12-01 20:43:09 +00:00
Mark Fisher
691ab73c46 INT-894 now enforcing that only one parameter per-method has the @Payload annotation or NO annotation (indicating either a Message or payload as the default). Also now throwing an Exception if any expression value is provided inside the @Payload annotation. 2009-12-01 17:18:17 +00:00
Mark Fisher
4a47d37e12 INT-894, INT-895 Gateway proxy interface method parameters may now be annotated with @Payload. 2009-11-30 22:45:46 +00:00
Mark Fisher
1d1789c250 removed null returns from number and date converters 2009-11-30 18:44:17 +00:00