Author: supun Date: Mon Jun 29 02:50:47 2009 New Revision: 40283 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=40283
Log: Clone mediator guide Modified: branches/esb/java/2.1/product/docs/xdoc/mediators/clone.xml Modified: branches/esb/java/2.1/product/docs/xdoc/mediators/clone.xml URL: http://wso2.org/svn/browse/wso2/branches/esb/java/2.1/product/docs/xdoc/mediators/clone.xml?rev=40283&r1=40282&r2=40283&view=diff ============================================================================== --- branches/esb/java/2.1/product/docs/xdoc/mediators/clone.xml (original) +++ branches/esb/java/2.1/product/docs/xdoc/mediators/clone.xml Mon Jun 29 02:50:47 2009 @@ -1,77 +1,64 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" - "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>WSO2 ESB - Clone Mediator </title> - <link href="css/esb-docs.css" rel="stylesheet" /> - <link href="styles/dist-docs.css" rel="stylesheet" type="text/css" - media="all" /> -</head> - -<body> -<h2>Clone Mediator</h2> - -<p>As the name suggests clone meditor can be used to clone a message in to -several messages.</p> - -<p>The clone mediator closely resembles the Message Splitter EIP and will split -the message into number of identical messages which will be processed in -parallel. The original message cloned can be continued or dropped depending on -the boolean value of the optional 'continueParent' attribute. Optionally a -custom 'To' address and/or a 'Action' may be specified for cloned messages.</p> - -<h3>Syntax</h3> -<pre xml:space="preserve"> <clone [continueParent=(true | false)]> - <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"] [endpoint="endpoint_ref"]> - <sequence> - (mediator)+ - </sequence>? - <endpoint> - endpoint - </endpoint>? - </target>+ - </clone></pre> - -<h3>UI Configuration</h3> - <div class="image"> - <img src="../clone-mediator/docs/images/add-clone.png" alt=""/> - <p> - Figure 1: Adding a clone mediator - </p> - </div> - <p> - Clicking on the clone mediator created as shown in figure 1 will open - up the clone mediator specific options. Figure 2 shows clone - mediator options,</p> - <div class="image"> - <img src="../clone-mediator/docs/images/clone-options.png" alt=""/> - <p> - Figure 2: Clone mediator options - </p> - </div> - <p> - Clone mediator field descriptions, - </p> - <ul> - <li> - Continue Parent - If "Yes" the original message will be - continued. If "No" the original message will be dropped. - </li> - <li> - Number of clones - Number of clones created. This can be - controlled by adding one or more clone targets by clicking <span style="font-weight: bold;">Add Clone Target</span>. - Figure 3 shows the screen after clicking <span style="font-weight: bold;">Add Clone Target</span>. Targets can then have it's own set of mediators. - </li> - </ul> - <p> - <img src="../clone-mediator/docs/images/clone-target.png" alt=""/> - </p> - <p> - Figure 3: Adding a clone target - </p> - <p>For more information about target refer Target.</p> - <p></p> -</body> -</html> +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <title>WSO2 ESB - Clone Mediator </title> + <link href="css/esb-docs.css" rel="stylesheet" /> + <link href="styles/dist-docs.css" rel="stylesheet" type="text/css" + media="all" /> +</head> + +<body> +<h2>Clone Mediator</h2> + +<p>As the name suggests clone meditor can be used to clone a message in to +several messages.</p> + +<p>The clone mediator closely resembles the Message Splitter EIP and will split +the message into number of identical messages which will be processed in +parallel. The original message cloned can be continued or dropped depending on +the boolean value of the optional 'continueParent' attribute. Optionally a +custom 'To' address and/or a 'Action' may be specified for cloned messages.</p> + +<h3>Syntax</h3> +<pre xml:space="preserve"> <clone [continueParent=(true | false)]> + <target [to="uri"] [soapAction="qname"] [sequence="sequence_ref"] [endpoint="endpoint_ref"]> + <sequence> + (mediator)+ + </sequence>? + <endpoint> + endpoint + </endpoint>? + </target>+ + </clone></pre> + +<h3>UI Configuration</h3> + +<div class="image"> +<img src="../clone-mediator/docs/images/clone-options.png" alt="" /> + +<p>Figure 1: Clone mediator options </p> +</div> + +<p>Clone mediator field descriptions, </p> +<ul> + <li>Continue Parent - If "Yes" the original message will be continued. If + "No" the original message will be dropped. </li> + <li>Number of clones - Number of clones created. This can be controlled by + adding one or more clone targets by clicking <span + style="font-weight: bold;">Add Clone Target</span>. Figure 3 shows the + screen after clicking <span style="font-weight: bold;">Add Clone + Target</span>. Targets can then have it's own set of mediators. </li> +</ul> + +<p><img src="../clone-mediator/docs/images/clone-target.png" alt="" /> </p> + +<p>Figure 2: Adding a clone target </p> + +<p>For more information about target refer <a href="target.html">Target.</a></p> + +<p></p> +</body> +</html> _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
