Commit Graph

245 Commits

Author SHA1 Message Date
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
2a8431f37a Removed RouterMessageHandler and RouterMessageHandlerCreator. 2008-09-03 18:06:43 +00:00
Mark Fisher
65f2b2aa14 Removed SplitterMessageHandler and SplitterMessageHandlerCreator. 2008-09-03 18:00:09 +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
3d27d78084 Refactored payload and header transformers to use abstract base classes. 2008-09-03 05:05:04 +00:00
Mark Fisher
860709910d Added AbstractPayloadTransformer and AbstractHeaderTransformer base classes. 2008-09-03 04:44:56 +00:00
Mark Fisher
2c7981ce04 Added MethodInvokingTransformer. 2008-09-03 04:41:46 +00:00
Mark Fisher
cde6f5e23e Added Transformer strategy interface and TransformerEndpoint. 2008-09-03 04:38:24 +00:00
Mark Fisher
f6cf430514 Added input/output channel elements for @Router and @Splitter annotations. 2008-09-03 04:23:52 +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
457a85e17a Removed MethodInvokingAdapterParser. 2008-09-02 20:04:48 +00:00
Mark Fisher
c2d1e78139 Removed getTarget() method from MessageEndpoint interface. 2008-09-02 19:57:59 +00:00
Mark Fisher
1ecd0581e8 Removed mappings for obsolete elements. Now, all Point-to-Point channel types use the same parser. 2008-09-02 00:37:15 +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
Iwein Fuld
a27ae5726e INT-356: Changed namespace parsing to resolve incompatible MessageCreator problem. type attribute on ftpsource no longer supported. 2008-09-01 17:41:19 +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
68035e091d Removed unused elements from XML schema. 2008-08-31 21:06:29 +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
4fe5e95719 SubscriberAnnotationPostProcessor now creates ServiceActivatorEndpoints instead of DefaultEndpoints. 2008-08-31 14:26:16 +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
fbfa5e03aa Setting default receiveTimeout to 1000 ms. 2008-08-20 05:46:55 +00:00
Mark Fisher
f3dd549723 Setting default receiveTimeout to 5000 ms instead of indefinite (-1). 2008-08-20 05:33:17 +00:00
Marius Bogoevici
78a5d9a7b3 Fixing javadoc. 2008-08-20 05:25:28 +00:00
Mark Fisher
05ce8ba7e3 Updated @Handler and @Publisher JavaDoc. 2008-08-20 05:02:19 +00:00
Mark Fisher
4be2fa45dd Added JavaDoc for @Aggregator. 2008-08-20 04:53:14 +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
Mark Fisher
42e7a6bffa Added support for the "method" attribute on the <channel-adapter/> element in order to create MethodInvokingSource or MethodInvokingTarget instances. 2008-08-19 22:51:41 +00:00
Marius Bogoevici
38bda54d4c Adding CronSchedule and parsing support for <poller cron="cronExpression"/>. Internal changes to the SPI. 2008-08-19 21:26:36 +00:00
Mark Fisher
54a78fcd72 Added JavaDoc for @Router and @Splitter (INT-273). 2008-08-19 18:24:42 +00:00
Mark Fisher
c00c13bdff Fixed issue with target ChannelAdapter when 'channel' is provided but <poller/> is not. 2008-08-19 17:05:19 +00:00
Mark Fisher
3f79525907 Updated MessageTarget JavaDoc (INT-331). 2008-08-19 16:07:36 +00:00
Mark Fisher
44e0c1c0c0 PublisherAnnotationPostProcessor now checks if any @Publisher annotations are defined on class methods only (rather than interfaces), and if so, the proxy will set the 'proxyTargetClass' property to 'true' prior to creating the proxy (INT-263). 2008-08-19 15:43:35 +00:00
Mark Fisher
d55c89e170 ChannelFactory is no longer tied to the MessageBus. Instead it will be discovered based on the bean name ("channelFactory"). The DefaultChannelFactoryBean no longer creates proxies. This also fixes INT-322. 2008-08-19 03:39:09 +00:00