Mark Fisher
fdfb537a16
INT-727, INT-728 Refactored parsers so that default beans (errorChannel, nullChannel, and taskScheduler) will always be configured - even when not using the core namespace. Also added support for the 'auto-startup' attribute on several adapters.
2009-07-16 18:04:40 +00:00
Mark Fisher
e6bb8f10ab
INT-701 Added support for the 'auto-startup' attribute on the 'imap-idle-channel-adapter' element.
2009-07-02 23:03:52 +00:00
Mark Fisher
098693ad2e
INT-695 Moved all schemas to src/main/resources
2009-06-30 18:48:40 +00:00
Mark Fisher
07709995d2
INT-631 Added MailReceiverFactoryBean.
2009-06-17 18:04:02 +00:00
Mark Fisher
1f6a909b92
INT-631 The imap-idle-channel-adapter's "store-uri" is now validated in the ImapMailReceiver constructor rather than during parsing. Therefore, it is now possible to use property placeholders.
2009-06-17 16:01:44 +00:00
Mark Fisher
4db0a449b2
INT-637
2009-06-15 18:57:52 +00:00
Mark Fisher
7fccd5f8f8
INT-545
2009-02-26 18:56:10 +00:00
Iwein Fuld
81c8051b44
OPEN - issue INT-540: AbstractMailReceiver needs to have authenticator property
...
http://jira.springframework.org/browse/INT-540
added javaMailAuthenticator property. If not set passing a null Authenticator to getInstance(props, auth) will have the exact same behavior as before.
2009-01-26 18:56:28 +00:00
Mark Fisher
3f6c07e15c
INT-535
2008-12-22 21:42:46 +00:00
Mark Fisher
1778e4e324
INT-526
2008-12-17 04:36:25 +00:00
Mark Fisher
8f5c84d1fb
Added tool annotations to the mail schema (INT-114). Also, renamed the 'javamail-properties' attribute to 'java-mail-properties' for the outbound-channel-adapter (to be consistent with the inbound channel adapters).
2008-12-17 01:47:16 +00:00
Mark Fisher
9463290328
Transformer parsers now implement getTransformerClassName() to return a String instead of returning Class instances with getTransformerClass(). This avoids the loading of Classes that may lead to dependencies not available for the tools (INT-114).
2008-12-10 23:47:05 +00:00
Mark Fisher
1755dfd676
Mail transformers may now be used within a 'chain' (INT-498).
2008-12-10 17:59:08 +00:00
Mark Fisher
bc4a20f6c5
All pre-defined internal header names are now valid Java identifiers. Dot delimiters have been replaced by underscores, and hyphenated names are now camelCase. The SimpleHeaderEnricherParser uses Conventions.attributeToPropertyName(). The attributes are now legal for passing as JMS properties (INT-511).
2008-12-09 21:32:29 +00:00
Mark Fisher
204deb4163
Added default poller.
2008-11-25 04:13:47 +00:00
Mark Fisher
f5bbea66f9
INT-469
2008-11-13 01:35:17 +00:00
Mark Fisher
f54b27bd7b
INT-302
2008-11-12 17:39:52 +00:00
Mark Fisher
f4ccde6257
Message Endpoints and the SimpleTaskScheduler now manage their own lifecycles. The ApplicationContextMessageBus is no longer necessary (part of INT-462). The MessagePublishingErrorHandler now detects the default error channel within the beanFactory if necessary (INT-464).
2008-11-11 20:11:21 +00:00
Mark Fisher
ba251bffa9
Added 'auto-startup' attribute to channel adapter elements.
2008-11-11 19:05:23 +00:00
Mark Fisher
39a8486ac8
Refactored MessageConsumer with onMessage to MessageHandler with handleMessage.
2008-11-03 14:17:53 +00:00
Mark Fisher
90dcb7e88b
Renamed AbstractMessageProducingEndpoint to MessageProducerSupport.
2008-11-03 11:52:30 +00:00
Mark Fisher
731b238f1c
Configuring the AbstractMailReceiver's maxFetchSize property to match the poller's max-messages-per-poll value if available. Otherwise, setting to 1 to avoid lost mails (since pre-fetched mail messages would be added to the mailQueue and deleted from the server).
2008-10-30 21:23:13 +00:00
Mark Fisher
16e20517ef
ImapIdleChannelAdapter and MailReceivingMessageSource both now require a MessageReceiver instance as the constructor argument rather than accepting a URI, creating a MessageReceiver, and then passing properties to that receiver. Also, the 'mail:inbound-channel-adapter' element now supports the 'java-mail-properties' attribute.
2008-10-30 21:04:30 +00:00
Mark Fisher
9fd6b4d073
Moved MailTransportUtils.
2008-10-30 20:16:51 +00:00
Mark Fisher
5b06076d1e
Removed unnecessary folder closing call.
2008-10-30 20:10:32 +00:00
Mark Fisher
3817fa2598
Refactored inbound mail channel adapters. Refactored the classes from the 'monitor' package to include a MailReceiver strategy interface with POP3 and IMAP implementations. Added a polling inbound channel adapter that polls a MailReceivingMessageSource which in turn delegates to one of the MailReceiver implementations. Also, added the ImapIdleChannelAdapter for asynchronous callbacks rather than polling (INT-444).
2008-10-30 19:52:47 +00:00
Mark Fisher
b10afab6f4
Connection starts if not already running in the receive() call.
2008-10-28 17:42:22 +00:00
Mark Fisher
45f8d5a9ac
INT-441
2008-10-28 16:12:55 +00:00
Mark Fisher
ebcccdc5c9
Moved MessagingException into the new 'org.springframework.integration.core' package.
2008-10-15 03:28:50 +00:00
Mark Fisher
7da7c9e5a0
Moved MessageHeaders into the new 'org.springframework.integration.core' package.
2008-10-15 03:10:17 +00:00
Mark Fisher
08043b541d
Moved Message into the new 'org.springframework.integration.core' package.
2008-10-15 02:54:29 +00:00
Mark Fisher
b4c86f838e
Added support for the <poller/> sub-element within jms:outbound-channel-adapter, and added the "channel" attribute for the inbound console channel adapter.
2008-10-12 03:34:17 +00:00
Mark Fisher
24793ead19
Separated annotation post processors and bean definition parsers into 'annotation' and 'xml' sub-packages of the 'org.springframework.integration.config' package.
2008-10-10 18:55:24 +00:00
Mark Fisher
11e53cf7e7
Moved GatewayParser, AbstractTransformerParser, and SimpleHeaderEnricherParser into org.springframework.integration.config to avoid dependency cycles.
2008-10-10 17:11:18 +00:00
Mark Fisher
b68f7ca17a
Removing dependencies on ConfigurationException.
2008-10-10 00:57:05 +00:00
Mark Fisher
01c9efef66
AbstractEndpoint is no longer TaskScheduler aware. The ListeningMailSource now provides its own taskExecutor property and uses a SimpleAsyncTaskExecutor by default.
2008-10-10 00:28:40 +00:00
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