Commit Graph

22 Commits

Author SHA1 Message Date
Mark Fisher
ad4d94560b CronTrigger expressions may now contain any amount of whitespace between fields. Also, removed inaccessible core TestUtils dependency from the mail module. 2008-10-09 13:57:43 +00:00
Mark Fisher
49361dba5c The TaskScheduler for the MessageBus is now created in MessageBusParser if no explicit reference has been provided via the "task-executor" attribute of the <message-bus/> element. The configuration of an asynchronous ApplicationEventMulticaster has also been pushed to the parser rather than being contained within the MessageBus implementation. 2008-10-09 13:45:07 +00:00
Mark Fisher
1c9e7af1da Simplified PREFIX for MailHeaders. 2008-09-26 23:36:23 +00:00
Mark Fisher
235c7ee385 Added MailToStringTransformerParser. 2008-09-26 23:17:08 +00:00
Mark Fisher
13f7003a4e Added AbstractMailMessageTransformer. 2008-09-26 23:16:24 +00:00
Mark Fisher
d5d227bcc5 Added MailToStringTransformer. 2008-09-26 23:12:48 +00:00
Mark Fisher
485a5aa071 Defined the <mail-to-string-transformer/> element. 2008-09-26 23:11:17 +00:00
Mark Fisher
e1a4ad1a8f Added support for the <header-enricher/> element in the 'mail' namespace. 2008-09-26 21:13:15 +00:00
Mark Fisher
70bb85f7a1 MailOutboundChannelAdapterParser now configures the "port" and "javamail-properties" on the MailSender if defined. 2008-09-26 21:12:27 +00:00
Mark Fisher
34979a6927 MailSendingMessageConsumer now fails with an IllegalStateException if no value is available for MailHeaders.TO. The array-based header values (e.g. to, cc, bcc) are now converted from comma-delimited Strings if necessary. 2008-09-26 21:08:57 +00:00
Mark Fisher
e6c41360db Added 'port' and 'javamail-properties' attributes for the 'outbound-channel-adapter' element. 2008-09-26 21:07:21 +00:00
Mark Fisher
ccd3a2f831 Header names are lowercase. Nicer when using header-enricher in xml. 2008-09-26 20:58:59 +00:00
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