Commit Graph

36 Commits

Author SHA1 Message Date
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
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
d8778de0e5 Updated manifest templates for Spring 2.5.5.A 2008-08-14 20:21:58 +00:00
Mark Fisher
c02bfd4a49 Upgraded to Spring 2.5.5.A (INT-336). 2008-08-14 19:58:32 +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
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
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
cfac014122 Updated channel-adapter configuration in quoteDemo and temperatureConversion.xml (WS demo) after the channel-adapter refactoring (The <channel-adapter/> element no longer accepts a "channel" reference. Instead, it creates a channel itself). 2008-08-02 00:19:42 +00:00
Mark Fisher
4ebfc051d5 Modified oddEvenDemo configuration to use a MethodInvokingSource bean definition. 2008-08-02 00:09:39 +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
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
a85f556bb8 Replaced <handler-endpoint/> with <service-activator/> in demos. 2008-07-19 03:31:11 +00:00
Mark Fisher
2c95306f63 Added MessageHeaders and MessageBuilder. Messages are now immutable (including header maps). 2008-07-17 22:58:56 +00:00
Mark Fisher
589206352f Updated cafeDemo.xml for release packaging 2008-07-10 09:24:44 +00:00
Mark Fisher
a0d3e55ee7 Modified configuration to use 'service-activator' 2008-07-09 12:28:39 +00:00
Mark Fisher
a22d205008 Updated 'samples' documentation. 2008-07-08 03:58:42 +00:00
Mark Fisher
1cc12ce4bf Replaced <handler-endpoint/> with <service-activator/> in cafeDemo.xml 2008-07-08 02:35:49 +00:00
Mark Fisher
b7f31fcbf0 The <router/> element now creates its own endpoint (i.e. it is no longer necessary to create a <handler-endpoint/> as well) (INT-284). 2008-07-06 18:08:31 +00:00
Mark Fisher
a83e39b6ce The <splitter/> element now creates its own endpoint (i.e. it is no longer necessary to create a <handler-endpoint/> as well) (INT-283). Also, the <handler-endpoint/>'s "handler" attribute has been replaced with "ref" to be more consistent with other spring configuration options (e.g. defining jms-listeners with the JMS namespace support). 2008-07-06 17:36:42 +00:00
Mark Fisher
3747de3c7a Modified demos to replace 'target-endpoint' with 'channel-adapter' elements. 2008-07-05 20:14:42 +00:00
Mark Fisher
63c8c2a30f CafeDemo now demonstrates the <concurrency-interceptor/>. 2008-07-05 18:53:46 +00:00
Mark Fisher
fe6125db26 Changed inter-project dependency version ranges from "[1.0.0, 1.0.0]" to "[1.0.0, 1.0.1)" (INT-248). 2008-06-25 18:06:33 +00:00
Ben Hale
1db7d245eb Upgrade for spring-build. Removal of fixed manifests in lieu of bundlor templates 2008-06-04 10:05:57 +00:00
Mark Fisher
00ef0b7fd5 MessageBus had auto-startup="false" in the OddEvenDemo. Now it auto-starts. 2008-06-04 03:57:25 +00:00
Marius Bogoevici
07cb2e6d98 Fixes INT-243 - update samples 2008-06-04 03:35:19 +00:00
Mark Fisher
241aae8295 OddEvenDemo now uses @MessageTarget annotations rather than @Subscriber. 2008-05-30 22:28:52 +00:00
Mark Fisher
d47fd91c47 QuoteDemo now uses a <console-target/> rather than logger. 2008-05-30 22:23:40 +00:00
Mark Fisher
05524a330a Refactored MessageEndpointAnnotationPostProcessor to MessagingAnnotationPostProcessor which delegates to HandlerAnnotationPostProcessor, SourceAnnotationPostProcessor, and TargetAnnotationPostProcessor (work related to INT-194 and INT-195). 2008-05-30 22:18:07 +00:00
Mark Fisher
f242075a73 SimpleWebServiceTargetAdapter is now SimpleWebServiceHandler, and MarshallingWebServiceTargetAdapter is now MarshallingWebServiceHandler. The "ws-target" element is now "ws-handler", and the WebServiceHandlerParser (formerly WebServiceTargetAdapterParser) now creates a MessageHandler instance only - rather than creating the HandlerEndpoint itself. Therefore, the "ws-handler" should be referenced from the "handler" attribute of a <handler-endpoint/> element. See the modified WebServiceDemo (and its configuration file: "temperatureConversion.xml") in the "org.springframework.integration.samples" module for an example. 2008-05-28 15:37:13 +00:00
Marius Bogoevici
936cc3aaac INT-197 Adding a Web Service Sample 2008-05-23 06:28:25 +00:00
Marius Bogoevici
91e24ac3d2 updated headers 2008-05-23 05:00:08 +00:00
Marius Bogoevici
2085270dc2 Solving INT-185, INT-207, INT 201 - refactoring FileSource and FileTarget, splitting AbstractFileMapper in MessageCreator and MessageMapper, adding namespace support for configurable MessageCreator in FileSource and filename generator in FileTarget. Backup directory is not supported anymore, instead FileSource will not delete files and will ignore files already processed. 2008-05-23 01:04:24 +00:00
Mark Fisher
e68a3c5af2 Added newly generated MANIFEST.MF (INT-217). 2008-05-21 23:25:05 +00:00
Mark Fisher
b3a0dc2646 Added initial version of template.mf files. 2008-05-21 21:32:47 +00:00
Mark Fisher
73904c3f98 Added 'src/main/resources' to the classpath. 2008-05-21 21:28:33 +00:00
Ben Hale
6696064dd0 Updated the names of the projects 2008-05-20 21:41:01 +00:00