From b20faff713d69c777615fe93e1534714fb1367a9 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 28 Jun 2010 18:49:03 +0000 Subject: [PATCH] INT-1220, added documentation for outbound-channel-adapter --- src/docbkx/event.xml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/docbkx/event.xml b/src/docbkx/event.xml index 45318ec467..9856440dd3 100644 --- a/src/docbkx/event.xml +++ b/src/docbkx/event.xml @@ -20,12 +20,13 @@ list of event types that you want to receive with the 'eventTypes' property. - For convenience namespace support was provided to configureĀ ApplicationEventListeningChannelAdapter + For convenience namespace support was provided to configureĀ ApplicationEventListeningChannelAdapter via inbound-channel-adapter ]]> +In the above sample, all Application Context events will be delivered as Spring Integration Messages to 'sampleEventChannel'. - In the above sample, all Application Context events will be delivered as Spring Integration Messages to 'sampleEventChannel'. + @@ -38,6 +39,26 @@ Spring's ApplicationEventPublisherAware interface and thus acts as a bridge between Spring Integration Messages and ApplicationEvents. + + For convenience namespace support was provided to configureĀ ApplicationEventPublishingMessageHandler via outbound-channel-adapter element + + +]]> +If you are using PollableChannel (e.g., Queue), you can also provide poller as sub-element of outbound-channel-adapter, optionally providing task-executor + + + + + + + + + + +]]> + +In the above sample, all messages sent to an 'input' channel will be published as ApplicationEvents to Spring Application sContext + \ No newline at end of file