Commit Graph

6614 Commits

Author SHA1 Message Date
Mark Fisher
8ea24913b5 Added SimpleHeaderEnricherParser. 2008-09-26 20:47:42 +00:00
Mark Fisher
a055f0d97d Added HeaderEnricher. 2008-09-26 20:42:25 +00:00
Mark Fisher
c441b2254f Removed 'headerGenerator' property from MailOutboundChannelAdapterParser. 2008-09-26 18:45:07 +00:00
Mark Fisher
f2b7353165 Added namespace support for FileToStringTransformer and FileToByteArrayTransformer. 2008-09-26 18:27:22 +00:00
Mark Fisher
959b906f4e AbstractTransformerParser now creates the actual endpoint rather than requiring a "ref" to an object that implements Transformer. Therefore the element being parsed must provide 'input-channel' and 'output-channel'. 2008-09-26 17:42:11 +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
78c49157bd Refactored inbound Mail adapters. Removed MailHeaderMapper and MessageConverter strategies. The Message payload will be a javax.mail.Message instance. Transformers will be used to convert the payload (e.g. Mail-to-String) and map header values. 2008-09-26 16:03:01 +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
6b659523b9 Moving 'org.springframework.integration.test' module to the sandbox until post 1.0 2008-09-25 20:52:15 +00:00
Mark Fisher
c0747a8bb9 Moving 'org.springframework.integration.test' module to the sandbox until post 1.0 2008-09-25 20:51:38 +00:00
Mark Fisher
1aff8abeee Removed MailHeaderGenerator. The MailSendingMessageConsumer handles the mapping of header values, but those values should be provided by a Transformer initially. 2008-09-25 20:36:00 +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
ec304b2c10 FtpSource no longer uses a MessageCreator. Instead, it uses MessageBuilder internally, and any Message customization can be applied with Transformers. 2008-09-25 15:39:14 +00:00
Mark Fisher
d30fe71dc2 MessagePublishingInterceptor uses MessageBuilder instead of MessageCreator. 2008-09-25 15:12:53 +00:00
Mark Fisher
51eb976236 Removed MailMessageMappers. MailMessageSendingConsumer now handles any MailMessage payload or byte array payload. For all other payload types, it calls 'toString' to generate the Mail text. 2008-09-25 14:40:48 +00:00
Marius Bogoevici
3e675ca2e5 Solves a race condition between start() on the class and run() on the internal SchedulerTask. 2008-09-25 04:56:26 +00:00
Mark Fisher
60e245f5a6 BroadcastingDispatcher tries to send to all consumers even if one "Selective Consumer" throws a MessageRejectedException (consistent with SimpleDispatcher's behavior). 2008-09-25 03:52:35 +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
b52a2bb551 Updated the Odd-Even demos to use the new 'inbound-channel-adapter' element with 'ref' and 'method' attributes instead of 'channel-adapter'. 2008-09-24 18:51:37 +00:00
Mark Fisher
506636caf0 The 'lifecycleLock' is now acquired within the isRunning() method. 2008-09-24 18:47:57 +00:00
Mark Fisher
d2bddbbbfa Removed Schedule, PollingSchedule, and CronSchedule. These have been replaced by Trigger, IntervalTrigger, and CronTrigger. 2008-09-24 18:36:36 +00:00
Mark Fisher
ee7a8d0725 Replacing Schedule with Trigger. 2008-09-24 18:29:23 +00:00
Mark Fisher
8b6f7be72c Removed empty test package 2008-09-24 17:35:16 +00:00
Mark Fisher
05cfa42426 Added context.stop() calls at end of test methods. 2008-09-24 17:29:27 +00:00
Mark Fisher
26834f88f8 Iteration on a SynchronizedSet must be manually synchronized (default mutex is the collection instance itself). 2008-09-24 17:28:47 +00:00
Mark Fisher
eee8352093 Removing empty 'spi' package 2008-09-24 16:44:41 +00:00
Mark Fisher
86986d5cfb Refactored cron-based "OddEvenDemo" sample for new TaskScheduler interface based on Trigger (and the CronTrigger in particular). 2008-09-24 16:35:18 +00:00
Mark Fisher
e0bb87bd2f Removed the 'org.springframework.integration.quartz' module 2008-09-24 16:31:20 +00:00
Mark Fisher
09b4c3c2d5 Removed the 'org.springframework.integration.quartz' module from the build 2008-09-24 16:30:40 +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
98b32a9516 Adding Trigger interface and the IntervalTrigger and CronTrigger implementations. 2008-09-24 14:59:32 +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
648ae40605 Modified channel-adapter configuration in tests. 2008-09-24 02:08:14 +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
bc91df7db6 AbstractOutboundChannelAdapterParser now correctly invokes the 'parseAndRegisterConsumer()' method. 2008-09-24 01:26:01 +00:00
Mark Fisher
ab7d7fa5f8 Refactored ByteStreamOutboundChannelAdapter to ByteStreamWritingMessageConsumer. 2008-09-24 00:11:22 +00:00
Mark Fisher
0ed3ba7657 Refactored CharacterStreamOutboundChannelAdapter to CharacterStreamWritingMessageConsumer and simplified the abstract method for AbstractOutboundChannelAdapter so that only a bean definition is returned (the base class now handles registration). 2008-09-24 00:00:55 +00:00
Mark Fisher
db33965e77 Added namespace support for the <transformer/> element (INT-342). 2008-09-23 22:36:01 +00:00
Mark Fisher
e1e3d21af7 Removing empty 'handler' packages 2008-09-23 22:19:21 +00:00
Mark Fisher
37840238d9 Cleaning out 'handler' pacakge within src/test. 2008-09-23 20:20:23 +00:00
Mark Fisher
699b3bec29 Committing modified ChannelAdapterAnnotationPostProcessor that missed the last commit. 2008-09-23 20:16:15 +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
ded2abc9b8 Removing empty 'handler.annotation' package. 2008-09-22 22:43:04 +00:00
Mark Fisher
01e80f94ba Removed MethodArgumentMessageMapper. 2008-09-22 22:41:46 +00:00