Commit Graph

56 Commits

Author SHA1 Message Date
Mark Fisher
845474263d File copy samples now use the new 'org.springframework.integration.file' module with the <file:inbound-channel-adapter/> and <file:outbound-channel-adapter/> elements. 2008-09-22 04:50:31 +00:00
Mark Fisher
6940a2a8a0 Added the 'org.springframework.integration.file' project dependency in the '.classpath' file. 2008-09-22 04:01:23 +00:00
Mark Fisher
0d947ed872 Removed the 'ws-' prefix from 'service-activator' now that it is qualified by its namespace. 2008-09-19 22:28:47 +00:00
Mark Fisher
6cc2c60173 Added separate namespace handler for 'ws' rather than combining with the core 'integration' namespace. 2008-09-19 22:24:44 +00:00
Mark Fisher
6e56e8acbe Renamed MessageBuilder.fromPayload() to MessageBuilder.withPayload(). 2008-09-17 22:57:58 +00:00
Mark Fisher
9f2b0af8c3 Migrated the stream-based adapters from the "adapters" module to "org.springframework.integration.stream" (INT-375). 2008-09-17 20:32:47 +00:00
Mark Fisher
61ed767cdb Cafe demo now uses a gateway proxy. 2008-09-09 14:49:13 +00:00
Mark Fisher
d717edf5a2 Minor change to Barista. 2008-09-09 14:24:35 +00:00
Mark Fisher
f074f23eac Providing XML and Annotation-based versions of Cafe Demo. 2008-09-09 14:18:01 +00:00
Mark Fisher
673d7d250b MessageEndpoint no longer extends the MessageTarget interface. 2008-09-07 01:48:34 +00:00
Mark Fisher
9fc031e4f4 The AbstractWebServiceHandler is now an endpoint instead of a MessageHandler implementation. The <ws-handler/> element has been replaced with <ws-service-activator/>, and it is now a "standalone" component (i.e. it is no longer necessary to provide its id as a reference within another separate <service-activator/> element). 2008-09-05 19:22:10 +00:00
Mark Fisher
63720ded3f Merging the interval and cron-based Odd-Even samples into the same package. 2008-09-05 03:11:29 +00:00
Mark Fisher
d5ec7a5664 Merging the interval and cron-based Odd-Even samples into the same package. 2008-09-05 03:05:58 +00:00
Mark Fisher
1e5ace02dd Replaced the @Handler annotation with @ServiceActivator. 2008-09-03 19:32:31 +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
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
c6f4bd910d Added @MessageEndpoint annotations for samples. 2008-08-28 18:13:04 +00:00
Marius Bogoevici
eba716e65b Adding aggregation capabilities to the CafeDemo sample, renaming a few domain objects 2008-08-23 16:44:24 +00:00
Marius Bogoevici
71a62e6b47 adding a reference to org.springframework.integration.quartz 2008-08-20 01:05:22 +00:00
Marius Bogoevici
b9d1779bf1 Quartz-based variant of the odd/even application. Demonstrates configuring a poller using cron expressions. 2008-08-20 00:57:19 +00:00
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