Commit Graph

7448 Commits

Author SHA1 Message Date
Mark Fisher
c2e6be171d SplitterMessageHandler replaces SplitterMessageHandlerAdapter. 2008-08-12 00:22:02 +00:00
Mark Fisher
c63f65f256 Preventing copy of ID or timestamp header attributes. 2008-08-12 00:01:20 +00:00
Mark Fisher
3d4f32de2d Added method validation and added check for Message-typed parameter. 2008-08-11 20:45:59 +00:00
Iwein Fuld
a42f02ec2f 2008-08-11 20:32:52 +00:00
Mark Fisher
df0653f8cd Added new SplitterMessageHandler and refactored SplitterParser to use that handler implementation. 2008-08-11 20:25:44 +00:00
Mark Fisher
215e10a6eb Added test timeouts for Message reception. 2008-08-11 20:16:55 +00:00
Mark Fisher
8732ac26b4 Updated service-activator to use new SimpleEndpoint and DefaultMessageHandler. Modified EndpointInterceptor for preHandle/aroundHandle/postHandle with access-to and return-values-for the request/reply Messages. 2008-08-11 19:39:42 +00:00
Iwein Fuld
c61ae015f4 added first attempt at FtpTarget, created FTPClientPool to move connection concerns to. 2008-08-11 18:45:29 +00:00
Mark Fisher
f2761d8c44 Removed the getMessageExchangeTemplate() method from the MessageEndpoint interface. 2008-08-11 15:41:09 +00:00
Mark Fisher
6f930ff27b Moved the ID from Message to MessageHeaders. 2008-08-11 15:30:37 +00:00
Mark Fisher
e6c63cfb0b SimpleEndpoint provides the ChannelRegistry reference to its handler if that handler implements ChannelRegistryAware. 2008-08-11 14:09:57 +00:00
Mark Fisher
a22ba13809 Removed local .classpath settings 2008-08-09 00:32:44 +00:00
Mark Fisher
9a1714fae4 Added new SimpleEndpoint implementation. This is the first step of a gradual migration process (i.e. it is not yet in use). Also added the MessageEndpointReplyException. 2008-08-09 00:26:41 +00:00
Mark Fisher
a7acc62371 Added CompositeMessage and added the 'nextTarget' header to MessageHeaders (and the corresponding methods in MessageBuilder). 2008-08-08 21:30:49 +00:00
Iwein Fuld
e88776463a tested and fixed onFailure for FtpSource 2008-08-08 14:56:51 +00:00
Jonas Partner
fbb5123e8e tests for StringSourceFactory 2008-08-07 15:04:33 +00:00
Jonas Partner
99d26a5b04 fix for INT-324 2008-08-07 14:48:32 +00:00
Mark Fisher
52f61b3d88 The PollingDispatcher's default receiveTimeout is now -1 for indefinite blocking. 2008-08-06 19:43:24 +00:00
Mark Fisher
528f5e6341 The @Polled annotation has been renamed @Poller (it no longer applies directly to a method). 2008-08-05 21:30:44 +00:00
Mark Fisher
1e82a8d568 Removed SourceEndpoint. Also, MessageExchangeTemplate now wraps any Exception thrown in source.receive() in a MessagingException. 2008-08-05 21:11:43 +00:00
Mark Fisher
8274dfc428 Removed the @MessageSource method-level annotation and added @Pollable as its replacement. Also added the @ChannelAdapter class-level annotation (refactoring to remove SourceEndpoint). 2008-08-05 20:02:52 +00:00
Mark Fisher
bbd7a12a4e MethodInvokingSource now returns null when the method invocation result is null. 2008-08-05 19:50:14 +00:00
Mark Fisher
0662b3edee Changed number of requests for multipleMessagesWithResponseCorrelator test. 2008-08-05 17:04:05 +00:00
Mark Fisher
82d353230b Increased test latch wait time. 2008-08-05 16:45:37 +00:00
Mark Fisher
a0b603b0fe The <poller/> element now accepts the "initial-delay" and "fixed-rate" (boolean) attributes (INT-326). 2008-08-05 16:37:32 +00:00
Mark Fisher
8e1c52b312 The MessageExchangeTemplate's receiveAndForward() method now throws the original Exception if it is a MessagingException. If it is not a MessagingException, then it will be wrapped within a new MessagingException (INT-325). 2008-08-05 15:31:22 +00:00
Jonas Partner
b68fa47fcc Added SubscribabelMailSource and namespace support for pollable and subscribable mail source 2008-08-05 13:47:39 +00:00
Mark Fisher
d929797867 Setting inputChannelName instead of source when <poller/> is not provided so that auto-create works (it does not apply with <poller/>). 2008-08-05 03:04:21 +00:00
Mark Fisher
de207c9bda PollingDispatchers are configured from the <poller/> element. The <schedule/> element has been removed. Instead the 'period' attribute is now available on <poller/>. 2008-08-05 02:52:52 +00:00
Mark Fisher
9f3e7d3d24 Removed EndpointTrigger, EndpointPoller, and EndpointVisitor. MessageBus now schedules PollingDispatchers for endpoints. 2008-08-05 01:59:35 +00:00
Mark Fisher
46b37df03d The MessageBus no longer calls registerChannels() from setApplicationContext(). Instead it maintains a reference to the applicationContext so that it can lookup channels on demand during startup. Then, the registerChannels() method is invoked after the ApplicationContext fires the ContextRefreshedEvent to register all channels that have not yet been registered. The AggregatorMessageHandlerCreator now performs type-safe retrieval from its attribute map. 2008-08-02 16:28:17 +00:00
Marius Bogoevici
e9050a8f82 Cosmetic changes 2008-08-02 15:32:06 +00:00
Mark Fisher
cfac014122 Updated channel-adapter configuration in quoteDemo and temperatureConversion.xml (WS demo) after the channel-adapter refactoring (The <channel-adapter/> element no longer accepts a "channel" reference. Instead, it creates a channel itself). 2008-08-02 00:19:42 +00:00
Mark Fisher
4ebfc051d5 Modified oddEvenDemo configuration to use a MethodInvokingSource bean definition. 2008-08-02 00:09:39 +00:00
Mark Fisher
66835cb5ff Removed SimpleTaskScheduler. 2008-08-01 23:52:16 +00:00
Marius Bogoevici
4b42ea9de4 First cut at refactoring TaskScheduler: adding SPI interface and ScheduledExecutorService-based implementation. 2008-08-01 23:33:04 +00:00
Mark Fisher
98633cec5d updated EndpointInterceptorParser.java 2008-08-01 23:13:20 +00:00
Mark Fisher
951226346a The <channel-adapter/> now actually creates a channel instance rather than requiring another distinct channel object. Instead of configuring the poller on the channel-adapter, it is currently to be configured on the consuming endpoint just as if the <channel-adapter/> were any other pollable channel (e.g. <queue-channel/>). 2008-08-01 23:11:56 +00:00
Iwein Fuld
48826ec26e put threaded tests and ThreadLocal buffering place for FtpSource, FileSource should work as before, but there are no test for it yet. 2008-08-01 18:55:56 +00:00
Iwein Fuld
6f48cb218c cleaned up comment 2008-08-01 18:03:36 +00:00
Jonas Partner
2b96c536d6 refacotred PollingMailSource and added SubscribableMailSource for use with IMAP idle 2008-08-01 17:29:32 +00:00
Mark Fisher
0c38b88ad3 EndpointPoller now uses the MessageEndpoint's MessageExchangeTemplate. This allows poller transactions to work as configured on the endpoint's <poller/> sub-element. 2008-08-01 12:23:05 +00:00
Mark Fisher
d8375cd3a6 The targetMock expectation now returns true instead of null in 'multipleTargetsPartialTimeout()' test (avoids delayed NPE). 2008-07-31 13:52:35 +00:00
Mark Fisher
3a99b96966 Removed ChannelPublisher. MessageExchangeTemplate is sufficient. 2008-07-30 23:32:27 +00:00
Mark Fisher
fa58dc9457 Split MessageSource types into 2 sub-interfaces: PollableSource and SubscribableSource. The MessageChannel hierarchy has also been revised accordingly. DirectChannel and PublishSubscribeChannel are now SubscribableSources, while the other queue-based channels are PollableSources. The PollableChannel interface extends BlockingSource which in turn is an extension of PollableSource that adds timeout-aware methods. 2008-07-30 20:48:00 +00:00
Iwein Fuld
759b5f6d0e cleaning up FtpSourceTests 2008-07-30 17:33:00 +00:00
Iwein Fuld
e61e105232 cleaning up FtpSourceTests 2008-07-30 17:22:07 +00:00
Mark Fisher
35b77dabaf Removed setName from the MessageEndpoint interface, and the annotation post-processors now return AbstractEndpoint instead of MessageEndpoint. 2008-07-30 16:45:00 +00:00
Mark Fisher
b9bb70b634 Added support for 'apply-sequence' on <publish-subscribe-channel/>. The BroadcastingDispatcher has the 'applySequence' property (INT-321). 2008-07-30 16:02:47 +00:00
Iwein Fuld
59a4696d81 polishing testcase 2008-07-30 15:09:45 +00:00