Commit Graph

685 Commits

Author SHA1 Message Date
Mark Fisher
d54c1c1c78 Added tool annotations to core spring-integration-1.0.xsd (INT-114). 2008-11-26 00:52:19 +00:00
Mark Fisher
27e6e36e3a Added 'autoStartup' value configuration in ResequencerParser. 2008-11-25 22:59:00 +00:00
Mark Fisher
39247b5f3a AbstractMessageBarrierHandler is now BeanFactoryAware so that it can access the TaskScheduler. It also has an 'autoStartup' property with a default value of 'true' so that the pruner task will start upon inititialization (INT-495). 2008-11-25 22:51:31 +00:00
Mark Fisher
cc7c053d87 Removed TaskSchedulerAware. 2008-11-25 22:33:54 +00:00
Mark Fisher
3b8e7e5b4b Removed cycles. 2008-11-25 21:43:36 +00:00
Mark Fisher
9ab1e73996 Removing TODOs. 2008-11-25 21:32:20 +00:00
Mark Fisher
f572b370f3 An explicit 'trigger' property is now required for the AbstractPollingEndpoint. It no longer creates an arbitrary default. 2008-11-25 21:27:12 +00:00
Mark Fisher
db09791428 Updated the annotation-based Cafe Demo to use a bridge element since the annotated-methods in Barista now require a SubscribableChannel. 2008-11-25 21:00:11 +00:00
Mark Fisher
dbc079ebe6 Test was accidentally left out of commit. 2008-11-25 20:31:26 +00:00
Mark Fisher
c16c3abb30 Removed the @ChannelAdapter annotation. The inbound version is no longer viable with @Poller removed (so that the polling configuration would be properly externalized - see previous commit log entries). But, the <inbound-channel-adapter/> element is trivial anyways. As far as outbound, the @ServiceActivator can be used for a method with void-return, so that was redundant actually. One consistent way to perform the job should be sufficient. 2008-11-25 20:23:40 +00:00
Mark Fisher
c1741edf83 Removed the @Poller annotation (since configuration metadata should be externalized). Updated ChannelAdapterAnnotationPostProcessor. Only outbound Channel Adapters can be configured with annotations now that @Poller is no longer available. We may add a "poller" attribute to the @ChannelAdapter for providing a reference. That would enable annotation-based inbound adapters. However, the XML support (the <inbound-channel-adapter/> element) is pretty trivial, so this should not be necessrary.Otherwise, the @ChannelAdapter may actually be removed altogether since a @ServiceActivator annotation can be used for any outbound Method (even when no return-value is expected). 2008-11-25 20:02:13 +00:00
Mark Fisher
0e5b4bcb50 Removing the @Poller annotation. Now, any Annotation-based endpoint must have a SubscribableChannel reference for its inputChannel. If necessary, the new <bridge/> element can be used to convert PollableChannels to SubscribableChannels. 2008-11-25 19:45:16 +00:00
Mark Fisher
69727ae8c4 GatewayProxyFactoryBean accepts non-PollableChannel for defaultReplyChannel. However, if a receive-only operation is performed (e.g. for a no-arg method), an IllegalStateException will be thrown when the receive attempt cannot proceed if the channel is not a PollableChannel. 2008-11-25 18:09:11 +00:00
Mark Fisher
d28414d2c3 Added SourcePollingChannelAdapterFactoryBean. The 'poller' element is now required for inbound-channel-adapter elements unless a default poller has been configured. 2008-11-25 04:10:17 +00:00
Mark Fisher
23db1c0fe9 Added some constraints for poller parsing. 2008-11-25 03:05:12 +00:00
Mark Fisher
f7d98d1f78 Moved ErrorHandlingTaskExecutor to the util package. 2008-11-24 22:59:00 +00:00
Mark Fisher
024c734333 Increased test timeout value. 2008-11-24 21:42:52 +00:00
Mark Fisher
79fdb179fc Added support for a top-level 'poller' element. A single top-level poller may have a value of 'default=true'. When using the namespace support, endpoints with pollable input-channels are now required to have an explicit poller sub-element or a 'default' poller within the context. The sub-element now also accepts a "ref" (INT-390). 2008-11-24 21:37:18 +00:00
Mark Fisher
5b654913f1 Creating child ParserContext with containingBeanDefinition to prevent extra bean definition registrations when parsing the child elements. 2008-11-24 19:45:34 +00:00
Mark Fisher
b16431e265 INT-492 2008-11-23 21:28:02 +00:00
Marius Bogoevici
b6c5c54ae6 INT-238, INT-371 minor correction 2008-11-23 07:54:45 +00:00
Marius Bogoevici
3ee1e4921e INT-238, INT-371 Clean up aggregator code, solve some robustness issues 2008-11-23 07:44:18 +00:00
Mark Fisher
f69d774e09 The default IntervalTrigger (with interval of 10ms) is being configured within the AbstractPollingEndpoint only. The ConsumerEndpointFactoryBean no longer provides a default trigger but rather only passes along a non-null trigger property if one is configured on the bean definition. 2008-11-23 04:19:15 +00:00
Mark Fisher
83e15fbb9b formatting, etc 2008-11-23 04:12:29 +00:00
Mark Fisher
5d414912e5 Added some debug logging. 2008-11-22 22:57:28 +00:00
Mark Fisher
55c62a06e6 Added namespace support for a 'bridge' element that simply connects any input-channel to any output-channel. This enables the conversion between PollableChannels and SubscribableChannels and also provides throttling capabilities based on the polling interval (or cron-expression) and 'max-messages-per-poll' settings (INT-193). 2008-11-22 22:03:36 +00:00
Mark Fisher
986049d23b Added MessagingBridge implementation. 2008-11-22 21:12:04 +00:00
Mark Fisher
f6e1463a42 Increased test timeout value. 2008-11-22 18:51:19 +00:00
Mark Fisher
4e72c719f9 Added the 'overwrite' attribute for the 'header-enricher' element. 2008-11-22 16:13:31 +00:00
Mark Fisher
abb370b257 Added the 'header-enricher' element to the core namespace (INT-489). 2008-11-22 15:43:39 +00:00
Mark Fisher
d943af0e87 Added postProcessHeaders method to the SimpleHeaderEnricherParser (preparing for INT-489). 2008-11-22 14:37:28 +00:00
Mark Fisher
086eb6e374 Converted internal header names to be hyphenated for compatibility with the header-enricher. 2008-11-22 14:35:32 +00:00
Mark Fisher
b53d96ba1e Added support for the 'throw-exception-on-rejection' attribute for the 'filter' element. 2008-11-21 22:52:11 +00:00
Mark Fisher
2b166d6471 INT-487 2008-11-21 22:03:27 +00:00
Mark Fisher
837a295cbe Added namespace support for the 'chain' element to create a Message Endpoint that delegates to a MessageHandlerChain (INT-391). 2008-11-21 18:34:07 +00:00
Mark Fisher
93a2d2c9f2 Renamed the 'parseConsumer' method to 'parseHandler' since it creates an implementation of MessageHandler. 2008-11-21 17:39:01 +00:00
Mark Fisher
b9f8b085b0 Removed 'parseAdapter' method from AbstractConsumerEndpointParser. 2008-11-21 17:30:25 +00:00
Mark Fisher
bbd58b830f INT-484 2008-11-21 16:05:53 +00:00
Mark Fisher
b4178d3740 Initial commit of MessageHandlerChain (INT-391). 2008-11-20 15:04:44 +00:00
Mark Fisher
f481b010b2 Renamed inner class from TemporaryReturnAddress to TemporaryReplyChannel since the Message header name is now 'replyChannel'. 2008-11-19 21:52:07 +00:00
Mark Fisher
13d12557e5 Added protected getBeanName() for subclass access. 2008-11-19 21:47:47 +00:00
Mark Fisher
8e09a38ce9 Added 'max-size' attributes to test configurations of the 'thread-pool-task-executor' element. 2008-11-19 18:50:03 +00:00
Mark Fisher
7badd53b9f INT-481 2008-11-19 17:37:39 +00:00
Mark Fisher
3d13f7e954 Increased test receive timeout value. 2008-11-19 17:09:10 +00:00
Mark Fisher
85d429d29f PublishSubscribeChannel now wraps a provided TaskExecutor with the ErrorHandlingTaskExecutor if necessary (INT-440). Also, added namespace support for the publish-subscribe-channel's 'error-handler' reference (INT-483). 2008-11-19 16:53:25 +00:00
Mark Fisher
1e1b2ce9b8 Triggers are now created as BeanDefinitions so that property placeholder values will be applied when parsing with the namespace support (INT-359). 2008-11-18 22:04:39 +00:00
Mark Fisher
5c752a86ec MessageMappingMethodInvoker no longer implements MethodInvoker (simplified - since it always requires a single Message arg). 2008-11-18 20:43:07 +00:00
Mark Fisher
8ca2c3227b MessageMappingMethodInvoker now delegates to an instance of HandlerMethodResolver. Multiple annotated methods or method name matches are possible, and in such cases, the Method-resolution will occur at runtime based on the payload type of the Message to be handled (INT-72 and INT-191). 2008-11-18 19:42:56 +00:00
Mark Fisher
38e3fae8c1 Added PayloadTypeMatchingHandlerMethodResolver. 2008-11-18 18:59:09 +00:00
Mark Fisher
0859124aba Added 'getCandidateHandlerMethods()' to HandlerMethodUtils. 2008-11-18 18:45:47 +00:00