Commit Graph

53 Commits

Author SHA1 Message Date
Mark Fisher
2afcf4c490 MessageBus is now an interface. The DefaultMessageBus class is the implementation. 2008-07-06 22:09:07 +00:00
Mark Fisher
bfd3d5392b Using direct-channel for input and split. 2008-07-06 20:56:55 +00:00
Mark Fisher
5dc6488de0 The <aggregator/> element now creates a HandlerEndpoint instance. It now requires "input-channel" and "output-channel" (and it no longer accepts "default-reply-channel"). It also no longer accepts a <completion-strategy/> sub-element. Instead, for a pojo-based adapter, add the "completion-strategy-method" attribute along with the "completion-strategy" reference (INT-285). 2008-07-06 20:35:36 +00:00
Mark Fisher
b7f31fcbf0 The <router/> element now creates its own endpoint (i.e. it is no longer necessary to create a <handler-endpoint/> as well) (INT-284). 2008-07-06 18:08:31 +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
5d25b93461 ChannelFactory now accepts the channel name (INT-280). 2008-07-05 22:59:25 +00:00
Mark Fisher
248209bf00 Annotation-based aggregator methods now use the output channel specified in a class-level @MessageEndpoint annotation. The 'defaultReplyChannel' property is no longer available on the @Aggregator annotation itself (INT-274). 2008-07-05 21:57:25 +00:00
Mark Fisher
5a40f17826 Both "source-endpoint" and "target-endpoint" elements are now configured as <channel-adapter/>. That element requires exactly one of "source" or "target" and optionally accepts a "method" attribute for creating either a MethodInvokingSource or a MethodInvokingTarget (INT-277). 2008-07-05 20:02:12 +00:00
Mark Fisher
6cb6347b82 Endpoint now throws MessageRejectedException when a MessageSelector rejects a Message. 2008-07-05 18:39:11 +00:00
Mark Fisher
f6de774110 Now invokes the transformer in 'preSend' instead of 'postSend'. 2008-07-05 16:56:05 +00:00
Jonas Partner
e1dca0ff9f ChannelInterceptor which allows transformation on send or receive from a channel 2008-07-05 13:42:32 +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
25bcd05293 Added tests for SimpleMessagingGateway. 2008-07-03 17:47:07 +00:00
Mark Fisher
7d8a6c0f84 Removed unnecessary lifecycle calls. 2008-07-03 16:26:49 +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
Jonas Partner
7cefe22b96 changed MethodInvoking Soure and Targt to take a string via a a property methodName (fix for INT-272) 2008-07-02 19:29:25 +00:00
Mark Fisher
ab858ee247 Refactored MessagingTaskScheduler to support cancellation and renamed 'TaskScheduler'. 2008-07-02 18:42:33 +00:00
Mark Fisher
85133ae370 Added tests for transaction propagation. 2008-07-02 01:04:25 +00:00
Mark Fisher
570cee8f9b Refactoring lifecycle code for endpoint hierarchy. 2008-07-01 23:01:42 +00:00
Mark Fisher
9dad71117b Added TransactionInterceptorTests. 2008-07-01 22:04:17 +00:00
Mark Fisher
f3f7daa201 Replaced ConcurrentTarget and the <concurrency/> element with ConcurrencyInterceptor. 2008-07-01 19:38:55 +00:00
Mark Fisher
117973082e Renamed 'advice-chain' element to 'interceptors'. 2008-07-01 14:01:37 +00:00
Mark Fisher
486df85a68 Added namespace support for Endpoint interceptors including TransactionInterceptor (INT-85). 2008-07-01 13:59:02 +00:00
Mark Fisher
908966d975 Renamed Target to MessageTarget. 2008-06-30 23:23:04 +00:00
Mark Fisher
504b101213 Increased timeout for test method. 2008-06-30 23:05:58 +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
00436b9071 Added namespace support for creating a MessageSelectorChain (INT-227). 2008-06-24 21:11:30 +00:00
Mark Fisher
e24fe02cf0 Added MessageStoringInterceptor (INT-264). 2008-06-24 15:26:24 +00:00
Marius Bogoevici
490a3d9951 Adds support for an <interceptor/> sub-element of <message-bus/> 2008-06-22 17:36:45 +00:00
Jonas Partner
f3d2c23069 increased timeout on failing tests 2008-06-20 15:16:19 +00:00
Marius Bogoevici
deff988c74 Increased timeouts. 2008-06-20 04:39:29 +00:00
Marius Bogoevici
3f584ea2b7 Adds a MessageBusInterceptor 2008-06-17 04:52:23 +00:00
Marius Bogoevici
4e523b00ba Adding a specific test demonstrating the usage of <message-bus channel-factory="..."/> and <channel-factory .../> 2008-06-16 14:13:41 +00:00
Mark Fisher
722b9c4f1c Added initial support for the MessageTransformer strategy and the @Transformer method-level annotation. Also added the PayloadTransformerAdapter implementation (INT-6). 2008-06-05 04:48:03 +00:00
Marius Bogoevici
0f64b81180 Fixes INT-24 (resequencer) by adding a <resequencer/> namespace element. 2008-06-04 02:34:14 +00:00
Marius Bogoevici
eaeaa14a41 Partial fix for INT-24 (add resequencer). A namespace element needs also to be created. 2008-06-03 03:42:57 +00:00
Mark Fisher
c28a4bc448 Intercepting toString method invocation for gateway proxy (related to INT-239). 2008-06-02 17:41:48 +00:00
Marius Bogoevici
af259f40f9 fixes INT-236 - aggregation continues after completion 2008-06-02 04:00:44 +00:00
Mark Fisher
05524a330a Refactored MessageEndpointAnnotationPostProcessor to MessagingAnnotationPostProcessor which delegates to HandlerAnnotationPostProcessor, SourceAnnotationPostProcessor, and TargetAnnotationPostProcessor (work related to INT-194 and INT-195). 2008-05-30 22:18:07 +00:00
Marius Bogoevici
2498df7f50 Increased the timeout 2008-05-24 16:20:34 +00:00
Marius Bogoevici
04ae83e562 Increased the timeout 2008-05-24 16:06:04 +00:00
Mark Fisher
465c610045 Moved DirectChannelParserTests from 'channel/config' to 'dispatcher' since DirectChannelParser is in 'dispatcher'. 2008-05-22 02:02:42 +00:00
Mark Fisher
e7daeaf247 Moved DirectChannel from 'channel' to 'dispatcher', DirectChannelFactory from 'channel/factory' to 'dispatcher', and DirectChannelParser from 'channel/config' to 'config' to avoid tangles. 2008-05-22 01:56:32 +00:00
Mark Fisher
4995cdb5de Moved DefaultChannelFactoryBean from 'channel/factory' to 'bus' and moved DefaultChannelParser from 'channel/config' to 'config' to avoid tangles. 2008-05-22 01:39:59 +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
6763fcd755 Updated intervals for timeout tests. 2008-05-21 23:49:12 +00:00