Mark Fisher
ffc6dd556d
INT-847 Upgrading to Spring 3.0 snapshot (CI-475 from 2009/11/25).
2009-11-26 05:35:38 +00:00
Mark Fisher
6f82886c35
committing spring.tooling files and icons
2009-11-25 21:50:11 +00:00
Mark Fisher
ad3e0b8428
INT-891 The Mail header-enricher now supports SpEL expressions within the "expression" attribute.
2009-11-25 21:14:26 +00:00
Mark Fisher
33f593cf27
INT-712 Headers defined by 'header-enricher' elements are now configured as sub-elements rather than attributes. This applies to the "core" as well as the JMS and Mail namespace support.
2009-11-03 00:14:28 +00:00
Mark Fisher
2064939c84
INT-845 added StartupMode enum since polling consumers must not start as eagerly as event-driven consumers subscribe to their input channels
2009-10-13 00:39:30 +00:00
Mark Fisher
d8e7f399e9
INT-794 The 'should-delete-messages' attribute is now required on the <imap-idle-channel-adapter/> element.
2009-09-04 19:59:15 +00:00
Mark Fisher
44b682b3ba
INT-760 MessageHeaders for Mail (to, cc, etc, as defined in MailHeaders) are now applied to MailMessage payload instances also (in addition to String or byte[] payloads). Previously they were ignored since it was assumed that a MailMessage would have been completely configured, but this seems more intuitive if someone does explicitly add a 'header-enricher' with settings that should add or override. Otherwise, the header-enricher would simply be left out of the configuration or message flow.
2009-09-04 19:54:26 +00:00
Mark Fisher
82e0fe1239
INT-771 removed explicit versions from XSD declarations in tests
2009-08-24 22:26:10 +00:00
Mark Fisher
a1b1b0d068
Added tests for mail header-enricher.
2009-08-20 22:15:36 +00:00
Mark Fisher
014cb25998
javadoc correction
2009-08-14 22:00:15 +00:00
Mark Fisher
3aaf039822
created 2.0 version of XSD
2009-08-14 21:49:23 +00:00
Mark Fisher
67b6ea048a
Refactored all task scheduling and poller triggering to use functionality now included in the Spring 3.0 core, and removed Spring Integration specific code that is now handled by that corresponding code in the core.
2009-08-04 01:25:53 +00:00
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