Mark Fisher
|
80935d3bd0
|
Removed support for 'auto-create-channels' on the MessageBus. All channels must be explicitly created and registered with the bus (INT-247).
|
2008-08-18 17:36:13 +00:00 |
|
Mark Fisher
|
0fcf546ad0
|
Added support for publishing arguments, exception, or return value from the MessagePublishingInterceptor and the @Publisher-aware version (INT-175).
|
2008-08-18 15:53:42 +00:00 |
|
Mark Fisher
|
9b85225675
|
Channel Adapters are now endpoints, but if no "channel" attribute if provided for a <channel-adapter/> element, a DirectChannel will be created automatically. The <poller/> sub-element now belongs within the <channel-adapter/> (not the consumer endpoint downstream). This enables support for multiple Channel Adapters to share a MessageChannel. Also, the @Poller annotation belongs at class-level along with @ChannelAdapter if a @Pollable method is being adapted via MethodInvokingSource.
|
2008-08-17 22:37:35 +00:00 |
|
Mark Fisher
|
34710691aa
|
Renamed MessageDispatcher's 'setTimeout' to 'setSendTimeout'. The more specific name is much clearer when the dispatcher is also being used for receive operations (e.g. PollingDispatcher).
|
2008-08-15 14:23:09 +00:00 |
|
Mark Fisher
|
73a848046a
|
Removed the name parameter from channelRegistry.registerChannel() since the MessageChannel interface already defines getName(). Removed the setName() method from the MessageChannel interface. Removed the 'error-channel' attribute from the <message-bus/> element and the setErrorChannel() method from MessageBus. The "errorChannel" name is now sufficient for configuration.
|
2008-08-14 19:00:44 +00:00 |
|
Mark Fisher
|
824fff8381
|
Moved PollingDispatcher back into the 'dispatcher' package now that the cycle (with 'channel' and 'scheduling') has been removed.
|
2008-08-14 15:53:21 +00:00 |
|
Mark Fisher
|
76762ed960
|
Moved DirectChannel and PublishSubscribeChannels to the 'channel' pacakge.
|
2008-08-14 15:40:13 +00:00 |
|
Mark Fisher
|
add3d6a121
|
Moved PollingDispatcher from the dispatcher package to the bus package. It depends on the scheduling and channel packages.
|
2008-08-14 15:28:27 +00:00 |
|
Mark Fisher
|
1cc799b438
|
AbstractDispatcher now uses a Set instead of List (INT-335).
|
2008-08-14 12:58:21 +00:00 |
|
Mark Fisher
|
3e15df93ed
|
MessageDispatcher now extends SubscribableSource. The 'addTarget' and 'removeTarget' methods have been replaced with 'subscribe' and 'unsubscribe' respectively.
|
2008-08-14 11:53:24 +00:00 |
|
Mark Fisher
|
234c87da1d
|
Removed AbstractMethodInvokingAdapter and AbstractMessageHandlerAdapter (has been replaced by the new AbstractMessageHandler). The MethodInvokingPayloadTransformer now uses a NameResolvingMethodInvoker.
|
2008-08-14 10:34:26 +00:00 |
|
Mark Fisher
|
0d49689821
|
Extracted message-to-args mapping logic from AbstractMessageHandler to MethodArgumentMessageMapper. Defined a separate abstract method in AbstractMessageHandler for post-processing a return value that is already a Message. DefaultMethodInvoker catches an IllegalArgumentException in case the Method instance no longer matches after a Proxy and "resets" the correct Method if it can be determined from the 'methodName' property. Replaced AnnotationMethodTransformerAdapter with TransformerMessageHandler.
|
2008-08-13 23:31:18 +00:00 |
|
Mark Fisher
|
9669467f98
|
Renamed SimpleEndpoint to DefaultEndpoint.
|
2008-08-13 16:31:45 +00:00 |
|
Mark Fisher
|
616eba8701
|
Added more tests.
|
2008-08-13 16:17:11 +00:00 |
|
Mark Fisher
|
e16dce8aba
|
Removed the HandlerEndpoint (now replaced by SimpleEndpoint).
|
2008-08-13 15:49:24 +00:00 |
|
Mark Fisher
|
a3f6254856
|
AbstractHandlerEndpointParser's default endpoint type is now SimpleEndpoint instead of HandlerEndpoint. The latter will be removed shortly.
|
2008-08-13 15:03:45 +00:00 |
|
Mark Fisher
|
5c9ac92f6b
|
Removed the registerHandler() method from MessageBus.
|
2008-08-13 01:16:32 +00:00 |
|
Mark Fisher
|
744db9e5a1
|
Added namespace support for the WireTap (INT-323).
|
2008-08-12 22:49:27 +00:00 |
|
Mark Fisher
|
1e8fa31e9d
|
WireTap now accepts any MessageTarget for sending intercepted Messages instead of requiring a MessageChannel.
|
2008-08-12 21:45:25 +00:00 |
|
Mark Fisher
|
ead292fd1f
|
The @MessageTarget annotation is now used with @ChannelAdapter (like @PollableSource) instead of @MessageEndpoint.
|
2008-08-12 20:49:55 +00:00 |
|
Mark Fisher
|
d0581e881f
|
EndpointInterceptor postHandle now accepts the replyMessage only. InterceptingMessageHandler has been renamed MessageHandlerDecorator. Either the decorator or the interceptor's aroundHandle method may be removed since they are redundant.
|
2008-08-12 17:32:51 +00:00 |
|
Mark Fisher
|
56f5a9374c
|
MethodInvokingTarget now extends AbstractMessageHandler instead of AbstractMessageHandlerAdapter. SplitterMessageHandlerCreator no longer requires configuration of the "outputChannel" property.
|
2008-08-12 11:30:18 +00:00 |
|
Mark Fisher
|
178c438159
|
Refactored RouterMessageHandlerAdapter (now RouterMessageHandler). Router endpoints are now SimpleEndpoint instances.
|
2008-08-12 03:44:23 +00:00 |
|
Mark Fisher
|
f91ec6f48f
|
Moved aggregator and splitter classes into separate packages (instead of 'router').
|
2008-08-12 00:59:15 +00:00 |
|
Mark Fisher
|
c2e6be171d
|
SplitterMessageHandler replaces SplitterMessageHandlerAdapter.
|
2008-08-12 00:22:02 +00:00 |
|
Mark Fisher
|
215e10a6eb
|
Added test timeouts for Message reception.
|
2008-08-11 20:16:55 +00:00 |
|
Mark Fisher
|
8732ac26b4
|
Updated service-activator to use new SimpleEndpoint and DefaultMessageHandler. Modified EndpointInterceptor for preHandle/aroundHandle/postHandle with access-to and return-values-for the request/reply Messages.
|
2008-08-11 19:39:42 +00:00 |
|
Mark Fisher
|
6f930ff27b
|
Moved the ID from Message to MessageHeaders.
|
2008-08-11 15:30:37 +00:00 |
|
Mark Fisher
|
52f61b3d88
|
The PollingDispatcher's default receiveTimeout is now -1 for indefinite blocking.
|
2008-08-06 19:43:24 +00:00 |
|
Mark Fisher
|
528f5e6341
|
The @Polled annotation has been renamed @Poller (it no longer applies directly to a method).
|
2008-08-05 21:30:44 +00:00 |
|
Mark Fisher
|
1e82a8d568
|
Removed SourceEndpoint. Also, MessageExchangeTemplate now wraps any Exception thrown in source.receive() in a MessagingException.
|
2008-08-05 21:11:43 +00:00 |
|
Mark Fisher
|
8274dfc428
|
Removed the @MessageSource method-level annotation and added @Pollable as its replacement. Also added the @ChannelAdapter class-level annotation (refactoring to remove SourceEndpoint).
|
2008-08-05 20:02:52 +00:00 |
|
Mark Fisher
|
0662b3edee
|
Changed number of requests for multipleMessagesWithResponseCorrelator test.
|
2008-08-05 17:04:05 +00:00 |
|
Mark Fisher
|
82d353230b
|
Increased test latch wait time.
|
2008-08-05 16:45:37 +00:00 |
|
Mark Fisher
|
de207c9bda
|
PollingDispatchers are configured from the <poller/> element. The <schedule/> element has been removed. Instead the 'period' attribute is now available on <poller/>.
|
2008-08-05 02:52:52 +00:00 |
|
Mark Fisher
|
9f3e7d3d24
|
Removed EndpointTrigger, EndpointPoller, and EndpointVisitor. MessageBus now schedules PollingDispatchers for endpoints.
|
2008-08-05 01:59:35 +00:00 |
|
Marius Bogoevici
|
4b42ea9de4
|
First cut at refactoring TaskScheduler: adding SPI interface and ScheduledExecutorService-based implementation.
|
2008-08-01 23:33:04 +00:00 |
|
Mark Fisher
|
951226346a
|
The <channel-adapter/> now actually creates a channel instance rather than requiring another distinct channel object. Instead of configuring the poller on the channel-adapter, it is currently to be configured on the consuming endpoint just as if the <channel-adapter/> were any other pollable channel (e.g. <queue-channel/>).
|
2008-08-01 23:11:56 +00:00 |
|
Iwein Fuld
|
6f48cb218c
|
cleaned up comment
|
2008-08-01 18:03:36 +00:00 |
|
Mark Fisher
|
d8375cd3a6
|
The targetMock expectation now returns true instead of null in 'multipleTargetsPartialTimeout()' test (avoids delayed NPE).
|
2008-07-31 13:52:35 +00:00 |
|
Mark Fisher
|
fa58dc9457
|
Split MessageSource types into 2 sub-interfaces: PollableSource and SubscribableSource. The MessageChannel hierarchy has also been revised accordingly. DirectChannel and PublishSubscribeChannel are now SubscribableSources, while the other queue-based channels are PollableSources. The PollableChannel interface extends BlockingSource which in turn is an extension of PollableSource that adds timeout-aware methods.
|
2008-07-30 20:48:00 +00:00 |
|
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 |
|
Mark Fisher
|
f30c1b73b2
|
Simplified AbstractHandlerEndpointParser and renamed AbstractEndpoint's setMessageSelector to setSelector (for consistency with setSource, setTarget, etc).
|
2008-07-30 14:06:37 +00:00 |
|
Mark Fisher
|
60cdfe4ffe
|
Replacing RequestReplyTemplate with MessageExchangeTemplate. The ReplyMessageCorrelator delegation is now within the SimpleMessagingGateway.
|
2008-07-30 03:19:57 +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
|
83399a95cb
|
Renamed the 'defaultReplyChannel' property to 'outputChannel' (and renamed the corresponding xml attributes) for the aggregator and resequencer.
|
2008-07-29 22:51:33 +00:00 |
|
Mark Fisher
|
07efae79e6
|
Added HeaderTransformer strategy interface and HeaderTransformingMessageHandler adapter (INT-307).
|
2008-07-29 21:19:55 +00:00 |
|
Iwein Fuld
|
d257edf44e
|
dispatcher tests added
|
2008-07-24 13:29:57 +00:00 |
|
Mark Fisher
|
a85f556bb8
|
Replaced <handler-endpoint/> with <service-activator/> in demos.
|
2008-07-19 03:31:11 +00:00 |
|