Mark Fisher
|
98fc463155
|
Refactored MethodParameterMessageMapper's 'resolveHeaderName()' method into the MethodParameterMetadata inner class as getHeaderName().
|
2008-09-28 13:46:39 +00:00 |
|
Iwein Fuld
|
414fa7645e
|
OPEN - issue INT-382: write integration test for Splitter
http://jira.springframework.org/browse/INT-382
|
2008-09-28 05:16:12 +00:00 |
|
Mark Fisher
|
2e175b638d
|
The @Headers annotation is now required (for clarity) when mapping from a Message to a parameter intending to receive MessageHeaders. If the expected payload type is a Map or Properties object, it can still be mapped to any non-annotated parameter of that same type.
|
2008-09-28 00:03:55 +00:00 |
|
Mark Fisher
|
cf57a20b33
|
Added validation and tests (exactly 1 Message or payload when mapping with toMessage(), etc).
|
2008-09-27 19:33:32 +00:00 |
|
Mark Fisher
|
e86b9eb6d8
|
Added the @Headers parameter-level annotation for mapping a java.util.Map (with String-typed keys) to/from the MessageHeaders in MethodParameterMessageMapper.
|
2008-09-27 18:50:35 +00:00 |
|
Mark Fisher
|
f643196b64
|
Added tests for the 'toMessage()' method of MethodParameterMessageMapper.
|
2008-09-27 16:11:41 +00:00 |
|
Mark Fisher
|
fd77d1a1d7
|
Started implementation of the 'toMessage()' functionality on MethodParameterMessageMapper (to be used by GatewayProxyFactoryBean after refactoring). Resolves parameters annotated with @Header and payload Objects.
|
2008-09-27 16:09:23 +00:00 |
|
Mark Fisher
|
1cfe32cd21
|
Moved the MessageMapper strategy interface from the 'gateway' package to the 'message' package.
|
2008-09-27 15:22:28 +00:00 |
|
Mark Fisher
|
9773908155
|
Refactored MessageMappingParameterResolver to MethodParameterMessageMapper, an implementation of the MessageMapper interface.
|
2008-09-27 15:18:28 +00:00 |
|
Mark Fisher
|
acd1527470
|
Refactored isEligibleForCopying() to isReadyOnly(). The check is now done in the setHeader() method instead of only when copying header values.
|
2008-09-27 00:44:44 +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
|
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 |
|