Commit Graph

26 Commits

Author SHA1 Message Date
Iwein Fuld
d2645224d6 OPEN - issue INT-396: Update documentation on file reading
http://jira.springframework.org/browse/INT-396
2008-10-06 19:36:16 +00:00
Mark Fisher
27e288be08 Refactored existing Message-consuming endpoints to only implement MessageConsumer (not MessageEndpoint). Now, either a PollingConsumerEndpoint or SubscribingConsumerEndpoint delegates to the MessageConsumer thereby separating the Lifecycle responsibilities and configuration settings (trigger, transactions, etc) since they are different for polling vs. subscribing and not relevant for simply consuming Messages. Essentially all MessageConsumers are now "event-driven" since a "polling consumer" is actually handled by the PollingConsumerEndpoint class. The next refactoring step involves renaming several components to clarify this endpoint vs. consumer distinction. 2008-10-06 17:24:46 +00:00
Mark Fisher
039679b173 Using Asserts with IllegalArgumentException/IllegalStateException instead of ConfigurationException. 2008-09-29 15:06:27 +00:00
Mark Fisher
73bf0a0a20 Increased test timeout. 2008-09-28 22:28:16 +00:00
Mark Fisher
f2b7353165 Added namespace support for FileToStringTransformer and FileToByteArrayTransformer. 2008-09-26 18:27:22 +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
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
fdb704e086 DefaultFileNameGenerator now checks if the Message payload is a File. If so, and no 'filename' header has been set, it will reuse the same file name. 2008-09-22 04:48:02 +00:00
Mark Fisher
2aebfbd6ed Added FileOutboundChannelAdapterParserTests. 2008-09-22 04:20:54 +00:00
Mark Fisher
23f0c21694 Added namespace support for the "file:outbound-channel-adapter" with FileOutboundChannelAdapterParser. 2008-09-22 04:00:17 +00:00
Mark Fisher
7690e45134 Added FileWritingMessageConsumer. 2008-09-22 03:47:10 +00:00
Mark Fisher
50aaad1f47 Adding filename header value in AbstractFilePayloadTransformer. 2008-09-22 03:44:24 +00:00
Mark Fisher
dc6f8a3c8a Added FileNameGenerator strategy and DefaultFileNameGenerator implementation. 2008-09-22 03:43:26 +00:00
Mark Fisher
8ea683b715 Added PatternMatchingFileListFilter and namespace support for the "filename-pattern" attribute. AbstractFilePayloadTransformer now sets the "filename" Message header. Renamed the filters to include FileListFilter (rather than just FileFilter) to avoid confusion with the FileFilter interface. 2008-09-22 00:16:13 +00:00
Mark Fisher
897b1b4929 Added 'charset' property to the FileToStringTransformer. 2008-09-21 22:16:31 +00:00
Mark Fisher
da55fc3bd1 Added FileToStringTransformer and FileToByteArrayTransformer. 2008-09-21 20:22:23 +00:00
Mark Fisher
e5f471191f Modified copied comments in XSD and other minor formatting. 2008-09-21 19:42:37 +00:00
Iwein Fuld
9f5e625d3b OPEN - issue INT-364: add namespace support to file project
http://jira.springframework.org/browse/INT-364
Added basic namespace support and parser test. Made inputDirectory a Resource instead of a File
2008-09-21 18:32:44 +00:00
Iwein Fuld
a4daf1c0f7 Added noOp check to QueuedFtpClientPool
removed tracing from PollableFileSource
2008-09-14 12:31:16 +00:00
Iwein Fuld
78d349df75 Cosmetic / javadoc on FileListFilters 2008-09-11 17:01:38 +00:00
Iwein Fuld
280da19191 Replaced FileFilter usage with FileListFilter 2008-09-11 16:25:05 +00:00
Iwein Fuld
0f9dc8c750 Complete - task 6: Create PollableFileSource
Last review done by Mark and Arjen, modification time concern pushed out.
Added parameter to MessageDeliveryAware
2008-09-11 13:40:12 +00:00
Iwein Fuld
ccf691c168 renamed variable 2008-09-04 18:10:10 +00:00
Iwein Fuld
69c4441dde Create PollableFileSource
This version waits until the next whole second before picking up files. This behavior should be made optional later.
2008-09-04 17:29:54 +00:00
Mark Fisher
b97b19527e Committing the PollableFileSource in the new "org.springframework.integration.file" module. 2008-09-04 16:43:57 +00:00
Mark Fisher
98da2d0c37 Adding new module for File adapters 2008-09-04 16:24:23 +00:00