Commit Graph

58 Commits

Author SHA1 Message Date
Iwein Fuld
37ca37d2c4 improving FtpSource tests 2008-07-30 10:14:32 +00:00
Mark Fisher
a2d43b1d80 Fixed remoting gateway adapter tests by removing RequestReplyTemplate dependency (replaced with MessageExchangeTemplate). 2008-07-30 03:41:10 +00:00
Mark Fisher
4a808803b9 Updated .classpath file for java mail version 1.4.1. 2008-07-29 23:52:22 +00:00
Mark Fisher
d3ed4a937a Added parser tests for the new MessageListener container attributes on the <jms-gateway/> element (INT-313). 2008-07-29 23:29:38 +00:00
Mark Fisher
9a9e601451 Added the following MessageListener container configuration attributes to the jms-gateway element: concurrent-consumers, max-concurrent-consumers, max-messages-per-task, and idle-task-execution-limit (INT-313). 2008-07-29 23:08:50 +00:00
Iwein Fuld
3382d0dc92 FtpSource refactoring: Message<File> -> Message<List<File>> 2008-07-29 20:54:42 +00:00
Iwein Fuld
2f2c2fb44d added easymock.classextension dependency 2008-07-29 20:48:18 +00:00
Jonas Partner
df079b1206 specify version of com.sun.mail.imap in template.mf 2008-07-29 11:10:08 +00:00
Jonas Partner
bc53a4ed8e add in idle call 2008-07-29 11:04:03 +00:00
Jonas Partner
bb56220236 updated to use Java Mail 1.4.1 which has IMAP idle support 2008-07-29 10:55:17 +00:00
Jonas Partner
e6302ffff8 part of INT-261 adding polling support for IMAP and POP3 mailboxes based on the strategies implemented in Spring WS 2008-07-29 10:03:51 +00:00
Iwein Fuld
b23e9b43f2 added easymock dependency to org.springframework.integration.adapter 2008-07-25 08:58:20 +00:00
Mark Fisher
f69dc4572c Removed the 'messageCreator' instance (it exists in the parent class: AbstractDirectorySource) and the 'setMessageCreator' method (INT-312). 2008-07-23 12:18:26 +00:00
Mark Fisher
71dd2f2e80 Removed support for <handler-endpoint/> (replaced by <service-activator/>). 2008-07-19 03:23:23 +00:00
Mark Fisher
a3b1c59d10 JmsTarget and JmsSource now check if the provided messageConverter is already a HeaderMappingMessageConverter and if so do not wrap it again (INT-304). 2008-07-18 14:50:21 +00:00
Mark Fisher
2db30ae829 MessageBuilder's copyHeaders(..) method now accepts a Map<String, Object> so there is no need to create the MessageHeaders object. 2008-07-18 13:26:39 +00:00
Mark Fisher
2c95306f63 Added MessageHeaders and MessageBuilder. Messages are now immutable (including header maps). 2008-07-17 22:58:56 +00:00
Mark Fisher
0056edd10d Message timestamp is now a long (instead of java.util.Date). 2008-07-15 19:16:52 +00:00
Mark Fisher
b45514003c Implemented TriggerMessage with an EndpointPoller as its payload for convenience when triggering polling of an endpoint. 2008-07-14 23:11:54 +00:00
Mark Fisher
ca7dc3922e Endpoints now expose a setter for a Poller strategy and no longer implement Lifecycle. 2008-07-14 18:29:07 +00:00
Mark Fisher
2afcf4c490 MessageBus is now an interface. The DefaultMessageBus class is the implementation. 2008-07-06 22:09:07 +00:00
Mark Fisher
a83e39b6ce The <splitter/> element now creates its own endpoint (i.e. it is no longer necessary to create a <handler-endpoint/> as well) (INT-283). Also, the <handler-endpoint/>'s "handler" attribute has been replaced with "ref" to be more consistent with other spring configuration options (e.g. defining jms-listeners with the JMS namespace support). 2008-07-06 17:36:42 +00:00
Mark Fisher
1b90086e4e Endpoints now recognize an EndpointVisitor in the message payload. The EndpointPoller is now an implementation of EndpointVisitor (removed PollCommand). 2008-07-06 03:09:56 +00:00
Mark Fisher
06f4e1d011 Added support for a 'filename-pattern' attribute on <file-source/>. It creates a RegexPatternFilenameFilter instance and sets it on the FileSource (INT-252). 2008-07-05 23:49:23 +00:00
Mark Fisher
b2be3f4d58 Changed 'source-endpoint' to 'channel-adapter'. 2008-07-05 20:04:37 +00:00
Mark Fisher
71da892bcb Removed the Subscription class. 2008-07-04 22:39:18 +00:00
Mark Fisher
96b22fd01b Removing usage of the Subscription object, and resolved issue with 'auto-create' channels for SourceEndpoints (INT-235). 2008-07-04 21:31:25 +00:00
Mark Fisher
0aa00b969b Major refactoring of endpoint subscription, scheduling, and activation. This includes significant changes to the dispatcher implementations and the addition of endpoint "triggers" to drive polling and dispatching of messages. Also introduces an explicit PublishSubscribeChannel implementation and thereby removes support for the "publish-subscribe" attribute from channel elements in the namespace. 2008-07-04 18:48:33 +00:00
Mark Fisher
d998095421 Removed 'maxMessagesPerTask' and 'receiveTimeout' properties from DispatcherPolicy and added those same properties to PollingDispatcherTask. The MessageDispatcher interface now extends the MessageTarget interface. Therefore, the 'dispatch(Message)' method has been replaced with 'send(Message)'. 2008-07-02 22:56:00 +00:00
Mark Fisher
b39865606a Added calls to sourceEndpoint.afterPropertiesSet() in tests. 2008-07-01 23:31:33 +00:00
Mark Fisher
908966d975 Renamed Target to MessageTarget. 2008-06-30 23:23:04 +00:00
Mark Fisher
5235537c80 Renamed Source to MessageSource. 2008-06-30 22:57:23 +00:00
Mark Fisher
07b2179baa Added support for interceptors on MessageEndpoints. 2008-06-30 22:26:04 +00:00
Mark Fisher
fe6125db26 Changed inter-project dependency version ranges from "[1.0.0, 1.0.0]" to "[1.0.0, 1.0.1)" (INT-248). 2008-06-25 18:06:33 +00:00
Mark Fisher
f3d13ebf8f Added RegexPatternFilenameFilter (INT-252). 2008-06-09 18:11:00 +00:00
Marius Bogoevici
21b0ac9264 http://jira.springframework.org/browse/INT-251
FileSource now uses a Resource, which must point to a directory. 

For namespace support, in order to simplify configuration, if the value provided in the 'directory' attribute of <file-source/> not a URL nor a 'classpath:' value, the parser will force the 'file:' prefix by default.
2008-06-09 03:32:15 +00:00
Ben Hale
1db7d245eb Upgrade for spring-build. Removal of fixed manifests in lieu of bundlor templates 2008-06-04 10:05:57 +00:00
Mark Fisher
bfabc1a14b Added namespace support for 'file-filter' and 'filename-filter' properties of FileSource (INT-242). 2008-06-03 17:13:39 +00:00
Mark Fisher
9567dc513d JmsGateway now supports configuration of the 'transactionManager' to be set on the MessageListener container, and the <jms-gateway/> element now accepts a "transaction-manager" attribute for the bean reference (INT-237). 2008-06-02 19:24:00 +00:00
Mark Fisher
ccc3e06928 RmiTargetAdapter is now RmiHandler, and HttpInvokerTargetAdapter is now HttpInvokerHandler since they both enable request-reply behavior. In the spring-integration-adapters namespace, the corresponding XML elements have changed from "rmi-target" and "httpinvoker-target" to "rmi-handler" and "httpinvoker-handler". Rather than creating HandlerEndpoint instances, their parsers now create just the MessageHandler instances. Therefore, the results should be wired as references (via the "handler" attribute) within <handler-endpoint/> elements. 2008-05-28 00:03:13 +00:00
Mark Fisher
3c5d8f561e RmiSourceAdapter is now RmiGateway, and HttpInvokerSourceAdapter is now HttpInvokerGateway. Also, in the spring-integration-adapters namespace, the XML elements have changed from "rmi-source" and "httpinvoker-source" to "rmi-gateway" and "httpinvoker-gateway". 2008-05-27 22:22:53 +00:00
Mark Fisher
506a8d4f0d Minor formatting changes. 2008-05-25 02:35:25 +00:00
Mark Fisher
0ee470cd54 Fixed comment typo and removed unused imports. 2008-05-25 02:23:21 +00:00
Marius Bogoevici
3d00dd9930 Refactored FtpSource and FileSource so that they inherit from the same base class AbstractDirectorySource. FtpSource namespace support is modified, so that it supports the type/message-creator pair, with the same semantic as FileSource. Implemented a distinct behaviour with respect to deleting files via MessageCreator: FtpSource will delete the local copies after creating the files, whereas FileSource will not. 2008-05-24 15:34:54 +00:00
Marius Bogoevici
c2728c2f17 fixes INT-231 - FtpSource does not release connection 2008-05-23 13:36:45 +00:00
Mark Fisher
f2c4f25bf0 FtpSource now implements InitializingBean (INT-232). 2008-05-23 13:32:08 +00:00
Mark Fisher
b617f0b80a Final updates to MANIFEST.MF files after M4 changes. 2008-05-23 07:01:24 +00:00
Marius Bogoevici
564efa8444 typo fix 2008-05-23 03:29:19 +00:00
Mark Fisher
c2af16fc45 Minor comment updates. 2008-05-23 02:56:44 +00:00
Mark Fisher
79c3a06361 Removed unused imports. 2008-05-23 01:15:27 +00:00