Commit Graph

1787 Commits

Author SHA1 Message Date
Mark Fisher
2f514ff98e Updated changelog and readme files 2008-11-26 01:11:19 +00:00
Mark Fisher
18b3a36564 Added note about ChannelInterceptors' pre/postReceive() methods only applying to PollableChannels 2008-11-26 01:01:07 +00:00
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
08039f32fb typos 'fromPayload' should have been 'withPayload' 2008-11-26 00:06:36 +00:00
Mark Fisher
e993c0db6b Added discussion of top-level poller elements and default poller per-context (INT-493). 2008-11-25 23:37:20 +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
db756e2f44 MessageChannel type was ambiguous, since the 'errorChannel' is also present within the context. 2008-11-25 22:25:09 +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
1f0104d6f8 Updated QuoteDemo to use an 'inbound-channel-adapter' XML element since the @Poller annoation is being removed. 2008-11-25 19:40:31 +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
816299a5e5 Added default poller element. 2008-11-25 04:38:29 +00:00
Mark Fisher
57ddc4057c Added default pollers for inbound adapters. 2008-11-25 04:28:54 +00:00
Mark Fisher
b73a8d2949 Added default pollers for inbound adapters. 2008-11-25 04:20:30 +00:00
Mark Fisher
204deb4163 Added default poller. 2008-11-25 04:13:47 +00:00
Mark Fisher
678158c382 Added default poller. 2008-11-25 04:11:59 +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
2bcab9c2df Added a poller sub-element for the FileInboundChannelAdapterParserTests. 2008-11-25 04:05:57 +00:00
Mark Fisher
23db1c0fe9 Added some constraints for poller parsing. 2008-11-25 03:05:12 +00:00
Mark Fisher
3717556f19 INT-494 2008-11-24 23:23:50 +00:00
Mark Fisher
6b259faa14 Removed empty package 2008-11-24 22:59:27 +00:00
Mark Fisher
f7d98d1f78 Moved ErrorHandlingTaskExecutor to the util package. 2008-11-24 22:59:00 +00:00
Mark Fisher
d476051838 Added default poller element for XML-based Cafe Demo. 2008-11-24 22:19:10 +00:00
Mark Fisher
fe68598395 Added the default poller element 2008-11-24 22:14:41 +00:00
Mark Fisher
9d49d2b21b Modified schema so that 'input-channel' and 'output-channel' attributes are not required. This will enable those elements to be used within a top-level 'chain' element. 2008-11-24 21:45:42 +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
d4237d0fca The JMS 'outbound-gateway' element now accepts a 'poller' sub-element. 2008-11-24 21:23:59 +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
bc62a6c632 Added xml dependencies to .classpath 2008-11-24 18:31:06 +00:00
Jonas Partner
901339b71e added documentation for xml messaging sample 2008-11-24 17:18:59 +00:00
Mark Fisher
8a43a9f709 JMS adapter IDs are now xsd:ID types instead of xsd:string. 2008-11-24 13:20:35 +00:00
Mark Fisher
9abe52d9f7 Added documentation for MessageHandlerChain and the <chain/> element (INT-486) 2008-11-24 04:12:17 +00:00
Mark Fisher
039c124dad Added documentation for the 'bridge' element (INT-486) 2008-11-24 01:54:50 +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
Jonas Partner
25766bc7be 2008-11-22 21:57:10 +00:00