Commit Graph

186 Commits

Author SHA1 Message Date
Mark Fisher
15f9875b5b Refactored PollingDispatcher into separate ChannelPoller and SourcePoller implementations with an AbstractPoller base class. 2008-09-07 15:23:17 +00:00
Mark Fisher
673d7d250b MessageEndpoint no longer extends the MessageTarget interface. 2008-09-07 01:48:34 +00:00
Mark Fisher
4eaec4ce68 Removed AbstractMessageHandler and DefaultMessageHandler. 2008-09-05 21:43:58 +00:00
Mark Fisher
e75fbeef76 MessageFilter is now an endpoint. 2008-09-05 21:04:01 +00:00
Mark Fisher
b2db1c0b16 Replaced the 'target' attribute with 'channel' on the <wire-tap/> element. 2008-09-05 17:44:08 +00:00
Mark Fisher
17b2f8e6f0 Removed unused test class. 2008-09-05 17:00:17 +00:00
Mark Fisher
2c44cc35cb Removed BlockingTarget, and removed unnecessary waits from ResequencerEndpointTests. 2008-09-05 16:55:13 +00:00
Mark Fisher
a75f6554f9 WireTapTests uses a normal QueueChannel instead of a TestChannel. 2008-09-05 16:43:25 +00:00
Mark Fisher
b47d81ff16 MessageChannels no longer implement MessageTarget, and MessageEndpoints that send a reply have a setOutputChannel() method instead of setTarget(). 2008-09-05 16:36:13 +00:00
Mark Fisher
5daefc91de TestHandler objects no longer implement MessageHandler. 2008-09-05 02:56:41 +00:00
Mark Fisher
0e5fafe6df Removed MessageHandlerChain. 2008-09-05 02:43:40 +00:00
Mark Fisher
4ea9f755e0 Modifying test beans to no longer implement MessageHandler. 2008-09-05 02:32:36 +00:00
Mark Fisher
ae161208cd ServiceActivatorEndpoint no longer provides a MessageHandler-accepting constructor. It does now provide a version that takes an Object and 'methodName' as well as a version that takes an Object and expects a default handler method name. 2008-09-05 02:23:18 +00:00
Mark Fisher
eb6f0848a4 ServiceActivatorEndpoint no longer provides a MessageHandler-accepting constructor. It does now provide a version that takes an Object and 'methodName' as well as a version that takes an Object and expects a default handler method name. 2008-09-05 02:22:52 +00:00
Mark Fisher
e22bf81927 Removed 'handler' and 'handler-chain' elements. 2008-09-05 01:03:45 +00:00
Mark Fisher
4fb3480320 Removed ServiceInvoker and DefaultServiceInvoker. The MessageMappingMethodInvoker now implements org.springframework.integration.util.MethodInvoker. 2008-09-05 00:46:22 +00:00
Mark Fisher
8d58e912ad TestTransfomer implements Transformer instead of MessageHandler. 2008-09-04 22:59:57 +00:00
Mark Fisher
2864968e78 MessageTransformingChannelInterceptor now delegates to a Transformer instance rather than a MessageHandler. 2008-09-04 22:53:36 +00:00
Mark Fisher
95eb0ffc68 Removed MessageHandlerCreator, AbstractMessageHandlerCreator, and DefaultMessageHandlerCreator. Annotation post-processing no longer requires creation of a MessageHandler. 2008-09-04 22:49:28 +00:00
Mark Fisher
17164dc37e Removed DefaultEndpoint. 2008-09-04 22:44:45 +00:00
Mark Fisher
c9edd7d47b Renamed ResequencingMessageHandler to ResequencerEndpoint. It is no longer a MessageHandler implementation. 2008-09-04 21:29:37 +00:00
Mark Fisher
84073697e9 Renamed AggregatingMessageHandler to AggregatorEndpoint and AggregatorAdapter to MethodInvokingAggregator. 2008-09-04 21:00:26 +00:00
Mark Fisher
3a5bfca9f9 Aggregator and Resequencer handlers are now endpoint implementations instead of MessageHandler. 2008-09-04 20:45:23 +00:00
Mark Fisher
40fc9c207d RouterEndpoint now delegates directly to a single ChannelResolver strategy. This removes the extra level of indirection that was provided by the Router interface. Also, instead of providing multiple ChannelResolver strategy interfaces, the name-resolving and single-channel implementations are now available as abstract base classes. 2008-09-04 01:55:32 +00:00
Mark Fisher
1e5ace02dd Replaced the @Handler annotation with @ServiceActivator. 2008-09-03 19:32:31 +00:00
Mark Fisher
e4c3ead89f Removed the @Subscriber annotation now that inputChannel can be configured at Method-level for all other Message-handling annotations. 2008-09-03 18:36:03 +00:00
Mark Fisher
5d93062f6a Removed TransformerMessageHandler and TransformerMessageHandlerCreator. Migrated TransformerMessageHandlerTests to MethodInvokingTransformerTests. 2008-09-03 17:56:08 +00:00
Mark Fisher
05fc8263f5 Moved input/output channel configuration to Method-level annotations. Also, the @Poller annotation is now expected at Method-level instead of Class-level. The @MessageEndpoint is now strictly a stereotype. Removed the @MessageTarget and @Pollable annotations. The @ChannelAdapter annotation post-processor now handles both inbound and outbound channel adapters based on the Method signature. 2008-09-03 17:31:51 +00:00
Mark Fisher
b2da8c5f2a Refactored Message-transformation tests for new implementations. 2008-09-03 04:51:22 +00:00
Mark Fisher
614ffaf825 Added removeHeader() method to MessageBuilder. 2008-09-02 22:24:37 +00:00
Mark Fisher
6f2f1640bd Removed MessageHandlerDecorator (the target object of any Method-invoking adapter can now use standard AOP). 2008-09-02 20:54:38 +00:00
Mark Fisher
30c244aefb MethodInvokingTarget no longer extends AbstractMessageHandler. 2008-09-02 20:23:20 +00:00
Mark Fisher
788b2364ec The <channel/> element is now used for creating all Point-to-Point channel types. It accepts a queue sub-element (options are: <queue/>, <priority-queue/>, or <rendezvous-queue/>). If no queue sub-element is provided, the channel type will be a DirectChannel. 2008-09-01 22:50:56 +00:00
Mark Fisher
4b8a32456e Removed ChannelFactory strategy and implementations prior to general channel refactoring. 2008-08-31 21:20:16 +00:00
Mark Fisher
5419a0b1d3 The MessageEndpoint interface no longer includes setters for 'source' and 'target'. AbstractEndpoint provides the setters, and the interface only defines the getters. 2008-08-31 15:52:42 +00:00
Mark Fisher
ea16a5f48c Removed channel and channel name properties from MessageEndpoint and its implementations. Now the MessageEndpoint only has the 'source' and 'target' properties. 2008-08-30 23:55:13 +00:00
Mark Fisher
f96354671c MessageEndpoint no longer has any awareness of the Schedule - only its MessageSource. The source may be a PollingDispatcher, but the poller is always configured without the MessageEndpoint needing to provide the Schedule. 2008-08-30 23:01:38 +00:00
Mark Fisher
bdfc98f966 Removed the aroundHandle() method from EndpointInterceptor now that the endpoints are simplified ("normal" AOP interception can easily be applied to the invoked target object). Removed the @Concurrency annotation since it was being applied by the endpointInterceptor instead of the poller and since the thread-pool executor is only one of the available taskExecutor options (may provide a 'taskExecutor' reference for @Poller instead). Removed the ConcurrencyInterceptor and TransactionInterceptor implementations. 2008-08-30 17:42:45 +00:00
Mark Fisher
41b3a764ab Added AbstractInOutEndpoint and ServiceActivatorEndpoint. SplitterEndpoint now extends AbstractInOutEndpoint as well. 2008-08-30 17:07:58 +00:00
Mark Fisher
37b4ee5bd7 Removed the "NEXT_TARGET" header, since it is no longer used by the Router implementations. Also, the MessagingAnnotationPostProcessor now considers any component annotated with a "stereotype" as a candidate for post-processing. 2008-08-28 20:49:45 +00:00
Mark Fisher
ba9c086aea Added Router strategy interface, and refactored Message-routing support in general to avoid MessageHandler. 2008-08-28 18:46:36 +00:00
Mark Fisher
62c7439960 MessagingAnnotationPostProcessor now requires the class-level @MessageEndpoint annotation. 2008-08-28 18:25:15 +00:00
Mark Fisher
5fd3ed90d3 Added Splitter strategy interface, and refactored Message-splitting support in general to avoid MessageHandler. 2008-08-27 23:00:27 +00:00
Mark Fisher
59c3d5c9e3 Moved the @Header annotation from the 'org.springframework.integration.handler.annotation' to the 'org.springframework.integration.annotation' package. 2008-08-27 21:21:57 +00:00
Mark Fisher
3061d6ed8a Moved channelRegistry property to AbstractEndpoint superclass instead of DefaultEndpoint, and removed the 'returnAddressOverrides' property as well as the corresponding XML attribute. 2008-08-27 19:21:56 +00:00
Mark Fisher
1f4acb82c8 Added tests for default splitter handling of Array and Collection payloads. 2008-08-25 14:03:49 +00:00
Mark Fisher
dedb3294e4 Removed IdGenerator strategy and RandomUuidGenerator implementation. We are always using UUID within GenericMessage. 2008-08-25 13:49:07 +00:00
Mark Fisher
50a227aaa1 The expirationDate header is now stored as a Long instead of a Date. 2008-08-25 13:44:25 +00:00
Marius Bogoevici
8a5b0c8832 INT-351 - nextTarget is now reset after a message has been sent. 2008-08-23 03:44:01 +00:00
Mark Fisher
218b100ab7 Moved the @Publisher annotation into the 'aop' package to avoid a cycle. 2008-08-20 04:42:43 +00:00