Mark Fisher
b9bb70b634
Added support for 'apply-sequence' on <publish-subscribe-channel/>. The BroadcastingDispatcher has the 'applySequence' property (INT-321).
2008-07-30 16:02:47 +00:00
Iwein Fuld
59a4696d81
polishing testcase
2008-07-30 15:09:45 +00:00
Iwein Fuld
1c55cd53f6
simplified FtpSourceTests (removed checkOrder)
2008-07-30 11:59:48 +00:00
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
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
Iwein Fuld
3382d0dc92
FtpSource refactoring: Message<File> -> Message<List<File>>
2008-07-29 20:54:42 +00:00
Mark Fisher
71dd2f2e80
Removed support for <handler-endpoint/> (replaced by <service-activator/>).
2008-07-19 03:23:23 +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
07b2179baa
Added support for interceptors on MessageEndpoints.
2008-06-30 22:26:04 +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
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
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
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
Ben Hale
6696064dd0
Updated the names of the projects
2008-05-20 21:41:01 +00:00