Commit Graph

42 Commits

Author SHA1 Message Date
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
Marius Bogoevici
2085270dc2 Solving INT-185, INT-207, INT 201 - refactoring FileSource and FileTarget, splitting AbstractFileMapper in MessageCreator and MessageMapper, adding namespace support for configurable MessageCreator in FileSource and filename generator in FileTarget. Backup directory is not supported anymore, instead FileSource will not delete files and will ignore files already processed. 2008-05-23 01:04:24 +00:00
Mark Fisher
cefb7d0ca8 Moved RequestReplyTemplate from 'channel' to 'gateway' package to remove tangle. 2008-05-22 01:27:58 +00:00
Mark Fisher
7f4cdc3e77 Removed 'Bundle-Version' from template.mf files. 2008-05-21 23:33:26 +00:00
Mark Fisher
8cc662e646 Added newly generated MANIFEST.MF (INT-217). 2008-05-21 23:01:22 +00:00
Mark Fisher
3d6bb6adc6 Configured optional resolution for some packages. 2008-05-21 21:48:30 +00:00
Mark Fisher
b3a0dc2646 Added initial version of template.mf files. 2008-05-21 21:32:47 +00:00
Mark Fisher
9504b2b6fe Moved spring.schemas and spring.handlers to "src/main/resources/META-INF" (INT-223). 2008-05-20 22:17:11 +00:00
Ben Hale
6696064dd0 Updated the names of the projects 2008-05-20 21:41:01 +00:00