Commit Graph

60 Commits

Author SHA1 Message Date
Mark Fisher
bedc76b86f INT-607 2009-03-14 00:56:26 +00:00
Iwein Fuld
dac5c41712 trivial performance tweak 2009-02-23 19:36:35 +00:00
Iwein Fuld
a0da740a3d OPEN - issue INT-583: FileReadingMessageSource rescanning directory every pass
http://jira.springframework.org/browse/INT-583

Fixed issue, added flag to go back to old behavior. Refactored test to Mockito.
2009-02-23 16:19:36 +00:00
Iwein Fuld
b6e697103f IN PROGRESS - issue INT-569: FileWritingMessageHandler should perform a rename after copy
http://jira.springframework.org/browse/INT-569

Trivial fix should be good enough for the 1.0.x.
2009-02-13 19:03:57 +00:00
Iwein Fuld
a2b9ec18a0 polishing 2009-02-03 18:49:38 +00:00
Iwein Fuld
918ee6545f Improved tests, added checks on output directory 2009-02-03 14:11:45 +00:00
Iwein Fuld
0a9e806ebf missing comments+javadoc 2009-01-13 20:25:18 +00:00
Iwein Fuld
3c38bbfd79 OPEN - issue INT-518: inconsistent configuration opportunities in file:inbound-channel-adapter and file:outbound-channel-adapter directory attribute
http://jira.springframework.org/browse/INT-518

Added "file:" prepending default strategy to the FileOutboundChannelAdapterParser (and some trivial fixes)
2009-01-13 20:09:19 +00:00
Iwein Fuld
747050ab8c IN PROGRESS - issue INT-541: add optional Comparator argument to FileReadingMessageSource (to pass into the PriorityBlockingQueue constructor)
http://jira.springframework.org/browse/INT-541

Added constructor argument and test.
2009-01-09 14:49:14 +00:00
Iwein Fuld
b81edbddaf IN PROGRESS - issue INT-546: FileListFilters throw an IllegalArgumentException when the polled directory is empty
http://jira.springframework.org/browse/INT-546
2009-01-08 19:58:34 +00:00
Mark Fisher
5c0dd0001f Added tool annotations to the file schema (INT-114). 2008-12-17 00:35:18 +00:00
Mark Fisher
c4be28cbc7 INT-518 2008-12-16 23:30:26 +00:00
Mark Fisher
d67a59e3db Added namespace support for 'logging-channel-adapter' (INT-524). Moved default bean configuration into a BeanFactoryPostProcessor (INT-525). This also enables resolution of issue INT-520. 2008-12-16 19:50:07 +00:00
Mark Fisher
8e5dfbe3a4 INT-520 2008-12-15 22:12:35 +00:00
Mark Fisher
b1881f7b95 Added PayloadSerializingTransformer and PayloadDeserializingTransformer (INT-513). 2008-12-12 20:26:30 +00:00
Mark Fisher
228f3a4258 INT-515 2008-12-12 19:17:01 +00:00
Mark Fisher
d75e1d9093 Minimizing class loading in parsers and using the parser context error handling capabilities rather than throwing Exceptions or using assertions. This facilitates proper tooling support (INT-114). 2008-12-12 15:23:24 +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
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
ddc0302dec Removed MessageDeliveryAware since no component is calling the callback methods. Added INT-496 for version 1.0.1. 2008-11-26 02:23:44 +00:00
Mark Fisher
db756e2f44 MessageChannel type was ambiguous, since the 'errorChannel' is also present within the context. 2008-11-25 22:25:09 +00:00
Mark Fisher
2bcab9c2df Added a poller sub-element for the FileInboundChannelAdapterParserTests. 2008-11-25 04:05:57 +00:00
Iwein Fuld
304afa1e38 IN PROGRESS - issue INT-472: Concurrency issue in FileReadingMessageSource
http://jira.springframework.org/browse/INT-472

removed removeAll call to prevent iteration over the 'toBeDelivered' queue.
2008-11-16 10:34:37 +00:00
Mark Fisher
f5bbea66f9 INT-469 2008-11-13 01:35:17 +00:00
Mark Fisher
fea222b37f The <message-bus/> element is no longer necessary. It has been removed from the XSD (INT-462). The annotations are enabled by a separate element, and the application-event-multicaster element is also now separate. 2008-11-11 23:08:45 +00:00
Mark Fisher
7c28053b0f Added 'auto-startup' attribute to inbound File channel adapter. 2008-11-11 19:21:23 +00:00
Iwein Fuld
08eded0128 Renamed PollableFileSource tests according to earlier refactoring. Increased timout to 6 seconds, decreased repeats to 10 times. We don't want nightly failures. 2008-11-05 10:28:01 +00:00
Mark Fisher
b0f336cf6e Renamed PollableFileSource to FileReadingMessageSource. 2008-11-03 15:37:03 +00:00
Mark Fisher
515ed698a6 Renamed SubscribingConsumerEndpoint to EventDrivenConsumer. 2008-11-03 14:41:53 +00:00
Mark Fisher
39a8486ac8 Refactored MessageConsumer with onMessage to MessageHandler with handleMessage. 2008-11-03 14:17:53 +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
262bd8fd9c Moved MessageChannel into the new 'org.springframework.integration.core' package. 2008-10-15 03:19:28 +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
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
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