Author: hiranya
Date: Thu Dec 22 05:15:38 2011
New Revision: 1222039
URL: http://svn.apache.org/viewvc?rev=1222039&view=rev
Log:
added recipient list config
Modified:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/config.xml
Modified:
synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/config.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/config.xml?rev=1222039&r1=1222038&r2=1222039&view=diff
==============================================================================
--- synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/config.xml
(original)
+++ synapse/trunk/scratch/hiranya/website/src/site/xdoc/userguide/config.xml
Thu Dec 22 05:15:38 2011
@@ -61,6 +61,7 @@
<li><a href="#LBEndpointConfig">Load Balance
Endpoint</a></li>
<li><a href="#DLBEndpointConfig">Dynamic Load Balance
Endpoint</a></li>
<li><a href="#FOEndpointConfig">Fail-Over
Endpoint</a></li>
+ <li><a href="#RecipientListEndpointConfig">Recipient
List Endpoint"</a></li>
</ul>
</li>
<li><a href="#ProxyServiceConfig">Proxy Service
Configuration</a></li>
@@ -649,7 +650,7 @@
</p>
<div class="xmlConf"><endpoint [name="string"]
[key="string"]>
<a href="#AddressEndpointConfig">address-endpoint</a> | <a
href="#DefaultEndpointConfig">default-endpoint</a> | <a
href="#WSDLEndpointConfig">wsdl-endpoint</a> |
- <a href="#LBEndpointConfig">load-balanced-endpoint</a> | <a
href="#FOEndpointConfig">fail-over-endpoint</a> | <a
href="#recipient-list-endpoint">recipient-list-endpoint</a>
+ <a href="#LBEndpointConfig">load-balanced-endpoint</a> | <a
href="#FOEndpointConfig">fail-over-endpoint</a> | <a
href="#RecipientListEndpointConfig">recipient-list-endpoint</a>
</endpoint></div>
<p>
Note how the endpoint definitions always start with an
'endpoint' element. The
@@ -932,6 +933,26 @@
</failover></div>
</subsection>
+ <subsection name="Recipient List Endpoint"
id="RecipientListEndpointConfig">
+ <p>
+ A recipient list endpoint can be used to send a single
message to a list of
+ recipients (child endpoints). This is used to implement
the well-known
+ integration pattern named 'recipient list'. The same
functionality can
+ be achieved using the 'clone' mediator, but the recipient
list provides
+ a more natural and intuitive way of implementing such a
scenario. Configuration
+ of the recipient list endpoint takes the following general
form.
+ </p>
+ <div class="xmlConf"><recipientList name="string">
+ <endpoint>+
+ <member hostName="host" [httpPort="port"] [httpsPort="port2"]>+
+</recipientList></div>
+ <p>
+ A recipient list can be named by setting the 'name'
attribute on the 'recipientList'
+ element. Similar to a load balance endpoint, the recipient
list endpoint also
+ wraps a set of endpoint definitions or a set of member
definitions. At runtime
+ messages will be sent to all the child endpoints or
members.
+ </p>
+ </subsection>
</section>
<section name="Proxy Service Configuration" id="ProxyServiceConfig">
<p>