Commit Graph

10 Commits

Author SHA1 Message Date
Mark Fisher
c441b2254f Removed 'headerGenerator' property from MailOutboundChannelAdapterParser. 2008-09-26 18:45:07 +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
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
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
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
7f917b5dd8 Removed MessageTarget. All components that referenced targets (e.g. Outbound Channel Adapter implementations) now work with the MessageConsumer interface instead. 2008-09-22 19:02:43 +00:00
Mark Fisher
bf151ac50a MailTarget is now MailSendingMessageConsumer, and the "integration/mail" namespace now defines an "outbound-channel-adapter" element. 2008-09-22 18:51:34 +00:00
Mark Fisher
db7bc0b9ea Migrated Mail Channel Adapter code from 'org.springframework.integration.adapter' to the new 'org.springframework.integration.mail' module. 2008-09-22 15:16:47 +00:00
Mark Fisher
f8b3f99d19 Adding new 'org.springframework.integration.mail' module 2008-09-22 14:45:40 +00:00