Commit Graph

226 Commits

Author SHA1 Message Date
Mark Fisher
1cfe32cd21 Moved the MessageMapper strategy interface from the 'gateway' package to the 'message' package. 2008-09-27 15:22:28 +00:00
Mark Fisher
9773908155 Refactored MessageMappingParameterResolver to MethodParameterMessageMapper, an implementation of the MessageMapper interface. 2008-09-27 15:18:28 +00:00
Mark Fisher
9ee921ed7c Removed the PollableSource interface, and migrated the 'receive()' method to MessageSource. 2008-09-26 16:31:26 +00:00
Mark Fisher
40938a36f3 MessageMapper is parameterized. 2008-09-25 21:31:27 +00:00
Mark Fisher
b0a00c7c0d Refactored SimpleMessagingGateway to include a base AbstractMessagingGateway with abstract methods for mapping messages to and from Objects. SimpleMessagingGateway delegates to a MessageMapper instance or uses DefaultMessageMapper. 2008-09-25 21:18:01 +00:00
Mark Fisher
8b24cd7d6b MessageMapper now defines toMessage() and fromMessage() methods, and the MessageCreator has been removed. 2008-09-25 18:27:52 +00:00
Mark Fisher
91c094a174 Added namespace support for the <filter/> element. 2008-09-25 00:20:36 +00:00
Mark Fisher
784c732389 Added MethodInvokingSelector. 2008-09-24 23:44:33 +00:00
Mark Fisher
2feb20e022 MessageMappingMethodInvoker now uses Assert instead of throwing ConfigurationException if the method does not accept any arguments. 2008-09-24 23:37:21 +00:00
Mark Fisher
b0fc5da6a2 The <poller/> element now accepts the "interval" attribute for an IntervalTrigger instead of "period". 2008-09-24 19:40:38 +00:00
Mark Fisher
ee7a8d0725 Replacing Schedule with Trigger. 2008-09-24 18:29:23 +00:00
Mark Fisher
05cfa42426 Added context.stop() calls at end of test methods. 2008-09-24 17:29:27 +00:00
Mark Fisher
9e1e1199ee Refactored TaskScheduler to use the new Trigger interface. Also added the SimpleTaskScheduler implementation. 2008-09-24 16:29:14 +00:00
Mark Fisher
de10530387 Moved MessageChannelTemplate and AsyncMessageChannelTemplate to the 'channel' package (was in 'message'). 2008-09-24 13:50:31 +00:00
Mark Fisher
4664ef5f81 The <inbound-channel-adapter/> and <outbound-channel-adapter/> elements now expect the "ref" attribute (instead of "source" for inbound and "target" for outbound). 2008-09-24 01:54:11 +00:00
Mark Fisher
6655511d3d Refactored the ChannelAdapterParser to MethodInvokingInboundChannelAdapterParser. MethodInvokingOutboundChannelAdapterParser had already been committed. The namespace now defines "inbound-channel-adapter" and "outbound-channel-adapter" elements instead of using "channel-adapter" for both. 2008-09-24 01:42:28 +00:00
Mark Fisher
db33965e77 Added namespace support for the <transformer/> element (INT-342). 2008-09-23 22:36:01 +00:00
Mark Fisher
37840238d9 Cleaning out 'handler' pacakge within src/test. 2008-09-23 20:20:23 +00:00
Mark Fisher
8b59050571 Moved MethodInvokingConsumer from 'handler' to 'message', and replaced MessageFilter in 'handler' with FilterEndpoint in the new 'filter' package. 2008-09-23 20:07:04 +00:00
Mark Fisher
b4ab2d5365 Moved ReplyMessageCorrelator from the 'handler' package to the 'gateway' package (it is only used by SimpleMessagingGateway). 2008-09-22 22:52:23 +00:00
Mark Fisher
01e80f94ba Removed MethodArgumentMessageMapper. 2008-09-22 22:41:46 +00:00
Mark Fisher
b630f4a072 Refactored MethodArgumentMessageMapperTests to MessageMappingParameterResolverTests. 2008-09-22 22:38:49 +00:00
Mark Fisher
f07c7fc2fd Removed MessageHandlerRejectedExecutionException as it is no longer used, and moved MessageListMethodAdapter to the 'aggregator' package since that is the only place it is used (and it may be refactored away). 2008-09-22 22:28:18 +00:00
Mark Fisher
ee058d2696 Removed remaining references to 'spring-integration-core-1.0.xsd'. 2008-09-22 16:52:43 +00:00
Mark Fisher
e00cd62997 The "core" schema is now 'spring-integration-1.0.xsd' instead of 'spring-integration-core-1.0.xsd'. The adapters module no longer provides the combined schema, since the adapter modules have been separated - each with its own schema, namespace handler, and parsers. 2008-09-22 16:41:24 +00:00
Mark Fisher
2d66b2b67d Refactored MethodInvokingTarget to MethodInvokingConsumer including changes to OutboundChannelAdapter. 2008-09-19 19:55:47 +00:00
Mark Fisher
e0318d6132 Renamed AbstractInOutEndpoint to AbstractMessageHandlingEndpoint to be consistent with AbstractMessageProducingEndpoint and AbstractMessageConsumingEndpoint. 2008-09-19 12:00:42 +00:00
Mark Fisher
eb5884a7d6 Removed EndpointRegistry. DefaultMessageBus now delegates to the ApplicationContext for all endpoint lookups, and the annotation-based post-processing registers singletons with the context rather than going through the DefaultMessageBus. 2008-09-18 22:42:08 +00:00
Mark Fisher
8f9c709f25 Renamed InboundChannelAdapter to SourcePollingChannelAdapter since other event-driven inbound Channel Adapters may extend AbstractMessageProducingEndpoint directly. 2008-09-17 23:29:46 +00:00
Mark Fisher
baa1474ef9 InboundChannelAdapter now extends AbstractMessageProducingEndpoint. 2008-09-17 23:10:16 +00:00
Mark Fisher
6e56e8acbe Renamed MessageBuilder.fromPayload() to MessageBuilder.withPayload(). 2008-09-17 22:57:58 +00:00
Marius Bogoevici
3fb198f928 Adding an endpoint test for null-returning Aggregators 2008-09-17 04:33:15 +00:00
Marius Bogoevici
445a7e4e03 In completion to INT-369, adding test cases for null-returning and void-returning Aggregator methods. 2008-09-17 02:50:26 +00:00
Mark Fisher
82574606e1 Added 'default-output-channel' attribute to the <router/> element (INT-367). 2008-09-11 17:04:11 +00:00
Mark Fisher
e17bb4f11a Removed RetrievalBlockingMessageStore. 2008-09-11 14:32:50 +00:00
Mark Fisher
dfd6d42346 ReplyMessageCorrelator no longer delegates to a MessageStore. Instead, it simply passes to the Message's 'returnAddress' header (INT-366). 2008-09-11 14:22:07 +00:00
Mark Fisher
2a2d076b36 Renamed MessageExchangeTemplate to MessageChannelTemplate. 2008-09-09 10:36:29 +00:00
Mark Fisher
04bb57f58d MessageExchangeTemplate uses channels in all operations (rather than PollableSource) and no longer provides a receiveAndForward method. 2008-09-09 09:00:44 +00:00
Mark Fisher
bd7c74b69c Renamed SubscribableSource to Subscribable, and it no longer extends MessageSource. 2008-09-07 21:20:00 +00:00
Mark Fisher
35e744e60a Added AbstractMessageConsumingEndpoint. MessageDispatchers now expect MessageConsumer instances as subscribers, and the MessageEndpoint no longer has a send() method or a getSource() method. All consumer endpoints now use 'inputChannel' as the property (instead of source). The MessageBus is less involved in endpoint activation now, since endpoints that need to poll a channel can create, configure, and schedule their own poller. 2008-09-07 21:04:50 +00:00
Mark Fisher
15f9875b5b Refactored PollingDispatcher into separate ChannelPoller and SourcePoller implementations with an AbstractPoller base class. 2008-09-07 15:23:17 +00:00
Mark Fisher
673d7d250b MessageEndpoint no longer extends the MessageTarget interface. 2008-09-07 01:48:34 +00:00
Mark Fisher
4eaec4ce68 Removed AbstractMessageHandler and DefaultMessageHandler. 2008-09-05 21:43:58 +00:00
Mark Fisher
e75fbeef76 MessageFilter is now an endpoint. 2008-09-05 21:04:01 +00:00
Mark Fisher
b2db1c0b16 Replaced the 'target' attribute with 'channel' on the <wire-tap/> element. 2008-09-05 17:44:08 +00:00
Mark Fisher
17b2f8e6f0 Removed unused test class. 2008-09-05 17:00:17 +00:00
Mark Fisher
2c44cc35cb Removed BlockingTarget, and removed unnecessary waits from ResequencerEndpointTests. 2008-09-05 16:55:13 +00:00
Mark Fisher
a75f6554f9 WireTapTests uses a normal QueueChannel instead of a TestChannel. 2008-09-05 16:43:25 +00:00
Mark Fisher
b47d81ff16 MessageChannels no longer implement MessageTarget, and MessageEndpoints that send a reply have a setOutputChannel() method instead of setTarget(). 2008-09-05 16:36:13 +00:00
Mark Fisher
5daefc91de TestHandler objects no longer implement MessageHandler. 2008-09-05 02:56:41 +00:00