86 Commits

Author SHA1 Message Date
Mark Fisher
22193b378e INT-977 updated spring.schemas to include mappings for versionless schema URIs starting with Spring Integration version 1.0.4 2010-04-12 21:18:02 +00:00
Iwein Fuld
33459e619d INT-1067: backported fix for INT-950 2010-04-09 14:03:26 +00:00
Mark Fisher
cacf92f44a INT-740 Added FileWritingMessageHandlerFactoryBean 2009-07-18 19:26:47 +00:00
Mark Fisher
714595a6c1 INT-731 2009-07-18 18:35:42 +00:00
Iwein Fuld
30a6316887 IN PROGRESS - issue INT-731: file inbound channel parser adds file: prefix to property placeholders
http://jira.springframework.org/browse/INT-731

Ignored testcase
2009-07-18 17:45:39 +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
8f3a3db480 Rethrowing the original IOException. 2009-07-16 13:35:19 +00:00
Mark Fisher
f568344e59 Added fallback to URI when getting File from Resource. This avoids the IOException that can occur when calling resource.getFile() if that File does not yet exist (as occurs with OsgiBundleResource). 2009-07-16 13:26:30 +00:00
Mark Fisher
89b39de9bf INT-724, INT-725 Added an 'auto-create-directory' attribute to all File adapters with a default value of TRUE. Now, if the inbound or outbound directory does not yet exist, it may be created upon initialization. 2009-07-16 00:35:23 +00:00
Mark Fisher
5ce3c28717 INT-715, INT-719 DefaultFileNameGenerator now accepts a custom headerName. Also clarified javadoc. 2009-07-11 15:10:55 +00:00
Mark Fisher
1536b3c539 INT-705 Add support for 'order' on JMS 'outbound-channel-adapter' and 'outbound-gateway' elements. 2009-07-03 04:04:46 +00:00
Mark Fisher
6da3307943 INT-666 Added support for the 'outbound-gateway' element in the file namespace. 2009-07-01 00:51:05 +00:00
Mark Fisher
a09ee058ec INT-606 Added test for the 'delete-source-files' attribute. 2009-06-30 22:52:01 +00:00
Mark Fisher
3ea4a2c9d9 INT-606 Added support for the 'delete-source-files' attribute on the 'outbound-channel-adapter' in the file namespace. 2009-06-30 22:25:40 +00:00
Mark Fisher
5fe7ee6b6c INT-606, INT-666 Added a deleteSourceFiles property to FileWritingMessageHandler, and now FileWritingMessageHandler sends reply Messages with the new File as payload. The outbound-channel-adapter configures the nullChannel for the handler's outputChannel. 2009-06-30 21:48:43 +00:00
Mark Fisher
857d4aaf4f Committed tests for file-to-bytes and file-to-string transformers. 2009-06-30 19:15:11 +00:00
Mark Fisher
098693ad2e INT-695 Moved all schemas to src/main/resources 2009-06-30 18:48:40 +00:00
Mark Fisher
b98b5f15ac added a comment referring to the AcceptOnceFileListFilter javadoc 2009-06-30 17:19:13 +00:00
Mark Fisher
cad80a15b0 INT-664 Added a 'prevent-duplicates' flag to the file namespace's inbound-channel-adapter element. 2009-06-30 16:56:26 +00:00
Mark Fisher
a6454dcfaa INT-664 Added a FileListFilterFactoryBean to create the filter based on the combined settings of a custom filter reference, a filename pattern, and the boolean preventDuplicates flag. 2009-06-30 15:36:53 +00:00
Mark Fisher
6866661436 CompositeFileListFilter now uses a LinkedHashSet to maintain order. 2009-06-30 15:32:36 +00:00
Mark Fisher
66745112cf Added a null check on the result of inputDirectory.listFiles() since that can be null if the File is not a directory or an I/O error occurs. 2009-06-30 15:15:06 +00:00
Mark Fisher
10fa2c1a41 Added @Qualifiers since test channel is no longer the only PollableChannel within the context (the "nullChannel" is also present after INT-629). 2009-06-27 15:29:50 +00:00
Mark Fisher
cb7fd4e9b5 INT-686 2009-06-24 23:52:28 +00:00
Mark Fisher
47656aeffd INT-549 Added namespace support for the 'comparator' attribute on the File namespace's 'inbound-channel-adapter' element. 2009-06-19 21:20:52 +00:00
Mark Fisher
1ed45c6c9a INT-667 2009-06-15 13:27:20 +00:00
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