You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by sa...@apache.org on 2006/05/30 16:21:11 UTC
svn commit: r410293 [2/2] - in /incubator/synapse/site: ./ images/
images/logos/
Propchange: incubator/synapse/site/images/nw_min_036.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/site/images/nw_min_hi.gif
URL: http://svn.apache.org/viewvc/incubator/synapse/site/images/nw_min_hi.gif?rev=410293&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/site/images/nw_min_hi.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/site/images/poweredby_036.gif
URL: http://svn.apache.org/viewvc/incubator/synapse/site/images/poweredby_036.gif?rev=410293&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/site/images/poweredby_036.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/site/images/product_logo.gif
URL: http://svn.apache.org/viewvc/incubator/synapse/site/images/product_logo.gif?rev=410293&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/site/images/product_logo.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/site/images/se_maj_rond.gif
URL: http://svn.apache.org/viewvc/incubator/synapse/site/images/se_maj_rond.gif?rev=410293&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/site/images/se_maj_rond.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/site/images/strich.gif
URL: http://svn.apache.org/viewvc/incubator/synapse/site/images/strich.gif?rev=410293&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/site/images/strich.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/site/images/sw_maj_rond.gif
URL: http://svn.apache.org/viewvc/incubator/synapse/site/images/sw_maj_rond.gif?rev=410293&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/site/images/sw_maj_rond.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/site/images/sw_med_rond.gif
URL: http://svn.apache.org/viewvc/incubator/synapse/site/images/sw_med_rond.gif?rev=410293&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/site/images/sw_med_rond.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/site/images/sw_min.gif
URL: http://svn.apache.org/viewvc/incubator/synapse/site/images/sw_min.gif?rev=410293&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/site/images/sw_min.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: incubator/synapse/site/index.html
URL: http://svn.apache.org/viewvc/incubator/synapse/site/index.html?rev=410293&r1=410292&r2=410293&view=diff
==============================================================================
--- incubator/synapse/site/index.html (original)
+++ incubator/synapse/site/index.html Tue May 30 07:21:07 2006
@@ -1,37 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Synapse - Apache Synapse</title><style type="text/css" media="all">
@import url("./style/maven-base.css");
- @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://incubator.apache.org/synapse/" id="projectLogo"><img alt="Apache Synapse" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
- Last published: 23 January 2006
- | Doc for M1</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/ws/Synapse/UserGuide" class="externalLink" title="External Link">User Guide</a></li><li class="none"><a href="extension_processor_writing.html">Writing Processors</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synap
se" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Apache_Synapse"></a><h2>Apache Synapse</h2><p>
- The Synapse project will create a robust, lightweight
- implementation of a highly scalable and distributed service mediation
- framework based on Web services specifications.
- </p><p>For more information, see:</p><ul>
- <li>The wiki (we use this more than this main site): <a href="http://wiki.apache.org/ws/Synapse" class="externalLink" title="External Link">http://wiki.apache.org/ws/Synapse</a></li>
- <li>The original proposal: <a href="http://wiki.apache.org/incubator/SynapseProposal" class="externalLink" title="External Link">http://wiki.apache.org/incubator/SynapseProposal</a></li>
- <li>The M1 release download is available from <a href="http://www.apache.org/dist/ws/synapse/M1/" class="externalLink" title="External Link">http://www.apache.org/dist/ws/synapse/M1</a></li>
- <li>The developer mailing list: <a href="mailto:synapse-dev-subscribe@ws.apache.org">Subscribe</a></li>
- <li>The users mailing list: <a href="mailto:synapse-user-subscribe@ws.apache.org">Subscribe</a></li>
- </ul></div><div class="section"><a name="Introduction"></a><h2>Introduction</h2><p>Synapse is a mediation framework for Web Services. Synapse allows messages flowing through, into, or out of an organization to be mediated, including aspects such as: </p><ul>
- <li><p> Logging, service lookup, performance mediation </p>
- </li>
- <li><p> Versioning, failover, monitoring </p>
-
- </li>
- <li><p> Fault management, tracing </p>
- </li>
- </ul><p>The user guide is available at <a rel="nofollow" href="http://wiki.apache.org/ws/Synapse/UserGuide" class="externalLink" title="External Link">http://wiki.apache.org/ws/Synapse/UserGuide</a> </p><p>Synapse, incidentally, is pronounced "sine-apse", and not "sin-apse". </p></div><div class="section"><a name="Status"></a><h2>Status</h2><p>Synapse is an effort undergoing incubation at the Apache Software Foundation (ASF),
-sponsored by the Web Services PMC. Incubation is required of all newly accepted projects
-until a further review indicates that the infrastructure, communications, and decision making process
-have stabilized in a manner consistent with other successful ASF projects.
-While incubation status is not necessarily a reflection of the completeness or
-stability of the code, it does indicate that the project has
-yet to be fully endorsed by the ASF.</p><p>We have released a first Milestone M1. The release will supports: </p><ul>
- <li><p> Simple mediation based on regex and xpath rules </p></li>
- <li><p> Onbound routing of messages </p></li>
- <li><p> Deploy simple Java mediators to perform logging, routing, message transform etc </p></li>
- <li><p> XSLT transformation of messages </p></li>
- <li><p> HTTP Proxy support </p></li>
- <li><p> Stages and in/out handling of messages </p></li>
+ @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/synapse/" id="projectLogo"><img alt="Apache Synpase" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 30 May 2006
+ | Doc for M2</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage" class="externalLink" title="External Link">Synapse configuration language and syntax</a></li><li class="none"><a href="userguide.html">User Guide</a></li><li class="none"><a href="extending_synapse.html">Extending Synapse</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"
><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synapse" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Apache_Synapse"></a><h2>Apache Synapse</h2><p>
+ The Synapse project will create a robust, lightweight
+ implementation of a highly scalable and distributed service mediation
+ framework based on Web services specifications.
+ </p><p>For more information, see:</p><ul>
+ <li>The wiki (we use this more than this main site): <a href="http://wiki.apache.org/ws/Synapse" class="externalLink" title="External Link">http://wiki.apache.org/ws/Synapse</a></li>
+ <li>The original proposal: <a href="http://wiki.apache.org/incubator/SynapseProposal" class="externalLink" title="External Link">http://wiki.apache.org/incubator/SynapseProposal</a></li>
+ <li>The Synapse Configuration Language: <a href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage" class="externalLink" title="External Link">http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage</a></li>
+ <li>The Wiki User Guide: <a href="http://wiki.apache.org/incubator/Synapse/SynapseUserGuide" class="externalLink" title="External Link">http://wiki.apache.org/incubator/Synapse/SynapseUserGuide</a></li>
+ <li>The Wiki Synapse extension guide: <a href="http://wiki.apache.org/incubator/Synapse/ExtendingSynapse" class="externalLink" title="External Link">http://wiki.apache.org/incubator/Synapse/ExtendingSynapse</a></li>
+ <li>The M2 release download is available from <a href="http://www.apache.org/dist/ws/synapse/M2/" class="externalLink" title="External Link">http://www.apache.org/dist/ws/synapse/M2</a></li>
+ <li>The developer mailing list: <a href="mailto:synapse-dev-subscribe@ws.apache.org">Subscribe</a></li>
+ <li>The users mailing list: <a href="mailto:synapse-user-subscribe@ws.apache.org">Subscribe</a></li>
+ </ul></div><div class="section"><a name="Introduction"></a><h2>Introduction</h2><p>Synapse is a mediation framework for Web Services. Synapse allows messages flowing through, into, or out of an organization to be mediated.</p><p>The configuration language and its syntax is available at <a rel="nofollow" href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage" class="externalLink" title="External Link">http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage</a> </p><p>Synapse, incidentally, is pronounced "sine-apse", and not "sin-apse". </p></div><div class="section"><a name="Status"></a><h2>Status</h2><p>Synapse is an effort undergoing incubation at the Apache Software Foundation (ASF),
+ sponsored by the Web Services PMC. Incubation is required of all newly accepted projects
+ until a further review indicates that the infrastructure, communications, and decision making process
+ have stabilized in a manner consistent with other successful ASF projects.
+ While incubation status is not necessarily a reflection of the completeness or
+ stability of the code, it does indicate that the project has
+ yet to be fully endorsed by the ASF.</p><p>We have released the second Milestone M2. The release will support: </p><ul>
+ <li><p> A streamlined configuration model and a new XML syntax</p></li>
+ <li><p> Concept of Endpoints </p></li>
+ <li><p> Global and message context based 'properties', and a new XPath extention function synapse:get-property() to read them</p></li>
+ <li><p> New mediators - Switch & Validate </p></li>
+ <li><p> Enhanced and streamlined mediators - send, drop, log, makefault, transform, header, filter, class, set-property, sequence, in & out </p></li>
+ <li><p> Message correlation support</p></li>
+ <li><p> Enhanced Spring support</p></li>
+ <li><p> Synapse initialization on Axis2 startup</p></li>
+ <li><p> Sample applications and configurations demonstrating most of the above features </p></li>
+ <li><p> Enhanced documentation </p></li>
</ul></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2006, Apache Web Services</div><div class="clear"><hr></hr></div></div></body></html>
Modified: incubator/synapse/site/issue-tracking.html
URL: http://svn.apache.org/viewvc/incubator/synapse/site/issue-tracking.html?rev=410293&r1=410292&r2=410293&view=diff
==============================================================================
--- incubator/synapse/site/issue-tracking.html (original)
+++ incubator/synapse/site/issue-tracking.html Tue May 30 07:21:07 2006
@@ -1,8 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Synapse - Issue Tracking</title><style type="text/css" media="all">
@import url("./style/maven-base.css");
- @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://incubator.apache.org/synapse/" id="projectLogo"><img alt="Apache Synapse" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
- Last published: 23 January 2006
- | Doc for M1</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/ws/Synapse/UserGuide" class="externalLink" title="External Link">User Guide</a></li><li class="none"><a href="extension_processor_writing.html">Writing Processors</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synap
se" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Issue_Tracking"></a><h2>Issue Tracking</h2><p>
+ @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/synapse/" id="projectLogo"><img alt="Apache Synpase" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 30 May 2006
+ | Doc for M2</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage" class="externalLink" title="External Link">Synapse configuration language and syntax</a></li><li class="none"><a href="userguide.html">User Guide</a></li><li class="none"><a href="extending_synapse.html">Extending Synapse</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"
><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synapse" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Issue_Tracking"></a><h2>Issue Tracking</h2><p>
<a href="http://issues.apache.org/jira/browse/Synapse" class="externalLink" title="External Link">http://issues.apache.org/jira/browse/Synapse</a>
</p></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2006, Apache Web Services</div><div class="clear"><hr></hr></div></div></body></html>
Modified: incubator/synapse/site/mail-lists.html
URL: http://svn.apache.org/viewvc/incubator/synapse/site/mail-lists.html?rev=410293&r1=410292&r2=410293&view=diff
==============================================================================
--- incubator/synapse/site/mail-lists.html (original)
+++ incubator/synapse/site/mail-lists.html Tue May 30 07:21:07 2006
@@ -1,26 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Synapse - Mailing Lists</title><style type="text/css" media="all">
@import url("./style/maven-base.css");
- @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://incubator.apache.org/synapse/" id="projectLogo"><img alt="Apache Synapse" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
- Last published: 23 January 2006
- | Doc for M1</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/ws/Synapse/UserGuide" class="externalLink" title="External Link">User Guide</a></li><li class="none"><a href="extension_processor_writing.html">Writing Processors</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synap
se" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Mailing_Lists"></a><h2>Mailing Lists</h2><p>
+ @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/synapse/" id="projectLogo"><img alt="Apache Synpase" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 30 May 2006
+ | Doc for M2</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage" class="externalLink" title="External Link">Synapse configuration language and syntax</a></li><li class="none"><a href="userguide.html">User Guide</a></li><li class="none"><a href="extending_synapse.html">Extending Synapse</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"
><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synapse" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Mailing_Lists"></a><h2>Mailing Lists</h2><p>
These are the mailing lists that have been established for this
project. For each list, there is a subscribe, unsubscribe, and an
archive link.
</p><table class="bodyTable"><thead>
- <tr class="a"><th>List Name</th><th>Subscribe</th><th>Unsubscribe</th><th>Archive</th></tr>
+ <tr class="b"><th>List Name</th><th>Subscribe</th><th>Unsubscribe</th><th>Archive</th></tr>
</thead><tbody>
- <tr class="b"><td>Synapse Developer List</td><td>
+ <tr class="a"><td>Synpase Developer List</td><td>
<a href="mailto:synapse-dev-subscribe@ws.apache.org">Subscribe</a>
</td><td>
<a href="mailto:synapse-dev-unsubscribe@ws.apache.org">Unsubscribe</a>
- </td><td>
- Not Available
- </td></tr>
- <tr class="a"><td>Synapse User List</td><td>
- <a href="mailto:synapse-user-subscribe@ws.apache.org">Subscribe</a>
- </td><td>
- <a href="mailto:synapse-user-unsubscribe@ws.apache.org">Unsubscribe</a>
</td><td>
Not Available
</td></tr>
Modified: incubator/synapse/site/maven-reports.html
URL: http://svn.apache.org/viewvc/incubator/synapse/site/maven-reports.html?rev=410293&r1=410292&r2=410293&view=diff
==============================================================================
--- incubator/synapse/site/maven-reports.html (original)
+++ incubator/synapse/site/maven-reports.html Tue May 30 07:21:07 2006
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Synapse - Project Reports</title><style type="text/css" media="all">
@import url("./style/maven-base.css");
- @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://incubator.apache.org/synapse/" id="projectLogo"><img alt="Apache Synapse" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
- Last published: 23 January 2006
- | Doc for M1</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/ws/Synapse/UserGuide" class="externalLink" title="External Link">User Guide</a></li><li class="none"><a href="extension_processor_writing.html">Writing Processors</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synap
se" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Maven_Generated_Reports"></a><h2>Maven Generated Reports</h2><p>
+ @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/synapse/" id="projectLogo"><img alt="Apache Synpase" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 30 May 2006
+ | Doc for M2</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage" class="externalLink" title="External Link">Synapse configuration language and syntax</a></li><li class="none"><a href="userguide.html">User Guide</a></li><li class="none"><a href="extending_synapse.html">Extending Synapse</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"
><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synapse" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Maven_Generated_Reports"></a><h2>Maven Generated Reports</h2><p>
This document provides an overview of the various reports that
are automatically generated by
<a href="http://maven.apache.org/" class="externalLink" title="External Link">Maven</a>.
Each report is briefly described below.
- </p><div class="subsection"><a name="Overview"></a><h3>Overview</h3><table class="bodyTable"><tr class="b"><th>Document</th><th>Description</th></tr><tr class="a"><td><a href="jdepend-report.html">Metrics</a></td><td>Report on source code metrics.</td></tr><tr class="b"><td><a href="xref/index.html" class="newWindow" title="New Window" target="_blank">Source Xref</a></td><td>A set of browsable cross-referenced sources.</td></tr><tr class="a"><td><a href="xref-test/index.html" class="newWindow" title="New Window" target="_blank">Test Xref</a></td><td>A set of browsable cross-referenced test sources.</td></tr></table></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2006, Apache Web Services</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
+ </p><div class="subsection"><a name="Overview"></a><h3>Overview</h3><table class="bodyTable"><tr class="a"><th>Document</th><th>Description</th></tr></table></div></div></div></div><div class="clear"><hr></hr></div><div id="footer"><div class="xright">© 2005-2006, Apache Web Services</div><div class="clear"><hr></hr></div></div></body></html>
\ No newline at end of file
Modified: incubator/synapse/site/project-info.html
URL: http://svn.apache.org/viewvc/incubator/synapse/site/project-info.html?rev=410293&r1=410292&r2=410293&view=diff
==============================================================================
--- incubator/synapse/site/project-info.html (original)
+++ incubator/synapse/site/project-info.html Tue May 30 07:21:07 2006
@@ -1,9 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>Synapse - Project Information</title><style type="text/css" media="all">
@import url("./style/maven-base.css");
- @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://incubator.apache.org/synapse/" id="projectLogo"><img alt="Apache Synapse" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
- Last published: 23 January 2006
- | Doc for M1</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/ws/Synapse/UserGuide" class="externalLink" title="External Link">User Guide</a></li><li class="none"><a href="extension_processor_writing.html">Writing Processors</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synap
se" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="General_Project_Information"></a><h2>General Project Information</h2><p>
+ @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta></head><body class="composite"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/synapse/" id="projectLogo"><img alt="Apache Synpase" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 30 May 2006
+ | Doc for M2</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage" class="externalLink" title="External Link">Synapse configuration language and syntax</a></li><li class="none"><a href="userguide.html">User Guide</a></li><li class="none"><a href="extending_synapse.html">Extending Synapse</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"
><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synapse" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="General_Project_Information"></a><h2>General Project Information</h2><p>
This document provides an overview of the various documents and
links that are part of this project's general information. All
of this content is automatically generated by
Modified: incubator/synapse/site/team-list.html
URL: http://svn.apache.org/viewvc/incubator/synapse/site/team-list.html?rev=410293&r1=410292&r2=410293&view=diff
==============================================================================
--- incubator/synapse/site/team-list.html (original)
+++ incubator/synapse/site/team-list.html Tue May 30 07:21:07 2006
@@ -15,9 +15,9 @@
function init() {
}
- </script></head><body class="composite" onload="init();"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://incubator.apache.org/synapse/" id="projectLogo"><img alt="Apache Synapse" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
- Last published: 23 January 2006
- | Doc for M1</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/ws/Synapse/UserGuide" class="externalLink" title="External Link">User Guide</a></li><li class="none"><a href="extension_processor_writing.html">Writing Processors</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synap
se" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="The_Team"></a><h2>The Team</h2><p>
+ </script></head><body class="composite" onload="init();"><div id="banner"><a href="http://ws.apache.org/" id="organizationLogo"><img alt="Apache Web Services" src="http://www.apache.org/images/asf-logo.gif"></img></a><a href="http://ws.apache.org/synapse/" id="projectLogo"><img alt="Apache Synpase" src="http://incubator.apache.org/synapse/images/synapse.png"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xleft">
+ Last published: 30 May 2006
+ | Doc for M2</div><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuSynapse"><h5>Synapse</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="expanded"><a href="">Download Synapse</a><ul><li class="none"><a href="download.html">Releases</a></li><li class="none"><a href="http://svn.apache.org/viewcvs.cgi/incubator/synapse/trunk/java/" class="externalLink" title="External Link">Source Code</a></li></ul></li><li class="expanded"><a href="">Documentation</a><ul><li class="none"><a href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage" class="externalLink" title="External Link">Synapse configuration language and syntax</a></li><li class="none"><a href="userguide.html">User Guide</a></li><li class="none"><a href="extending_synapse.html">Extending Synapse</a></li></ul></li><li class="none"><a href="getInvolved.html">Get Involved</a></li><li class="expanded"
><a href="">Project Information</a><ul><li class="none"><a href="http://issues.apache.org/jira/browse/Synapse" class="externalLink" title="External Link">Issue Tracking</a></li><li class="none"><a href="mail-lists.html">Mailing List</a></li></ul></li></ul></div><a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy"><img alt="Built by Maven" src="./images/logos/maven-button-1.png"></img></a></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="The_Team"></a><h2>The Team</h2><p>
A successful project requires many people to play many roles.
Some members write code or documentation, while others are
valuable as testers, submitting patches and suggestions.
Modified: incubator/synapse/site/userguide.html
URL: http://svn.apache.org/viewvc/incubator/synapse/site/userguide.html?rev=410293&r1=410292&r2=410293&view=diff
==============================================================================
--- incubator/synapse/site/userguide.html (original)
+++ incubator/synapse/site/userguide.html Tue May 30 07:21:07 2006
@@ -1,529 +1,428 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html>
-<head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
- <title>Synapse Userguide</title>
-</head>
-
-<body>
-<h1>UserGuide</h1>
-
-<p>Apache Synapse is a mediation framework for Web Services. Synapse allows
- messages flowing through, into, or out of an organization to be mediated,
- including aspects such as:</p>
-<ul>
- <li><p>Logging, service lookup, performance mediation</p>
- </li>
- <li><p>Versioning, failover, monitoring</p>
- </li>
- <li><p>Fault management, tracing</p>
- </li>
-</ul>
-
-<h3>Getting started</h3>
-
-<p>Although there is a clearly defined division between Synapse and Axis2,
- the Synapse system relies on Axis2 to run. Firstly, it uses the AXIOM object
- model, and secondly it uses Axis2 as a listener and sender for Web service
- requests. There are two ways to set up the Synapse server.</p>
-<ol>
- <li><p>synapse.war : Deploy the WAR file into your favorite servlet
- container. Once it's expanded, you will see in <tt>WEB-INF</tt> the
- axis2.xml which has been configured to execute Synapse properly and
- synapse.xml, which will hold the rules pertaining to messages passing
- through Synapse.</p>
- </li>
- <li><p>A lightweight server which runs with its own HTTP server : This uses
- Axis2's SimpleHTTPServer which is a simple lightweight HTTP server
- option
- that does not require a Servlet Engine. First unzip the
- Synapse-M1.zip. In the bin directory you will find scripts
- called:</p>
- <pre>synapse [.sh or .bat]</pre>
-
- <p>You should also see a directory called <tt>synapse-repository</tt>.
- There you will find the axis2.xml and synapse.xml config files. The
- axis2.xml need not be modified, but you can do so if you want to.
- </p>
-
- <p>The command line for synapse-lightweight takes the repository
- directory and listening port. Change directory to bin/</p>
- <pre>sh synapse.sh ../synapse-repository -p [Linux]
-
- synapse ../synapse-repository -p [Win]</pre>
-
- <p>which will start the SimpleHTTPServer at port 8080. If it's needed
- to be started at any other port use -p[port_number]. Ex:
- </p>
- <pre>
- ./synapse.sh ../synapse-repository -p5043
- </pre>
- </li>
-</ol>
-
-<p>Note that you can also build them using Maven: Build the WAR file by using
- the command,</p>
-<pre> maven dist-bin</pre>
-
-<p>This creates both the WAR and binary distribution JARs.</p>
-
-<p></p>
-
-<h3>Deployment models</h3>
-
-<p>Synapse can intermediate in a number of different modes:</p>
-<ul>
- <li>Transparent mode
- <ol>
- <li>Synapse acts as an HTTP Proxy.</li>
- <li>Clients are configured with the Synapse endpoint URL as the HTTP
- Proxy URL.</li>
- <li>Synapse can work with both WS-A and non-WS-A SOAP messages.</li>
- </ol>
- </li>
- <li>Gateway mode
- <ol>
- <li>The client explicitly sends a message to Synapse (with or
- without
- WS-A headers)</li>
- <li>The synapse.xml must include enough routing information to
- correctly set the WS-A To and then Synapse forwards the
- message</li>
- </ol>
- </li>
- <li>Smart client mode
- <ol>
- <li>The client sends the message to Synapse but sets the WSA headers
- to
- the ultimate destination</li>
- </ol>
- </li>
-</ul>
-
-<h3>Processing model</h3>
-
-<p>Synapse has an overall model under which there are two ways to extend the
- framework.</p>
-<ol>
- <li><p>Using the SPI: Developers can build Synapse Extensions, which extend
- both the functionality and the XML configuration syntax of Synapse.</p>
- </li>
- <li><p>Using the API: Developers can build Mediators, which extend the
- functionality of Synapse but use the existing XML syntax.</p>
- </li>
-</ol>
-
-<p>There are also built-in mediators that do common tasks like logging,
- redirection etc. Typically users of Synapse extend the function using
- mediators, while the Synapse development team can extend the core by
- building
- extensions.</p>
-
-<p>A synapse deployment attaches to one or more transport listeners, and
- mediates messages from those listeners. One of the key decisions is how to
- "attach" mediators to messages.</p>
-
-<h4>Rules</h4>
-
-<p>By default Synapse will execute all defined mediators against a given
- message, but this can be affected by using simple rules. Synapse has two
- predefined rules: <tt><xpath></tt> and <tt><regex></tt>. xpath
- evaluates a XPath expression against the message, while regex matches a
- regular expression against one of the message headers (such as the
- <tt>wsa:To</tt> address).</p>
-
-<p>Synapse also has two simple rules <tt><in></tt> and
- <tt><out></tt> which process only request or response messages (as
- seen
- by the target service).</p>
-
-<h4>Stages</h4>
-
-<p>As a message goes through the Synapse engine, it can pass through multiple
- stages. Each stage is a way of grouping and organizing mediators and rules.
- A
- stage simply gives the group a name.</p>
-
-<h4>An example</h4>
-
-<p></p>
-<pre><stage name="stage1-all">
- <!--This enables the addressing module which looks at wsa headers -->
- <engage-addressing-in/>
-
- <!--Logs the message -->
- <log/>
-
- </stage>
-
- <stage name="stage2-service-specific" >
- <regex message-address="to" pattern="http://xmethods.*">
- <header type="to" value="http://64.124.140.30:9090/soap"/>
- </regex>
- </stage>
-
- <stage name="stage3-send-all">
- <send/>
- </stage></pre>
-
-<p>This example demonstrates <em>stage</em>, <em>regex</em> and some built in
- mediators: <em>log</em>, <em>addressing</em> and <em>header</em>. It does
- not
- demonstrate the <em>xpath</em>, <em>in</em> or <em>out</em> rules.</p>
-
-<p>Every stage will be executed for each message. The first stage does
- initial processing including parsing the addressing headers and logging the
- message.</p>
-
-<p>The next stage is using a regex rule to redirect every message addresses
- to xmethods.com and xmethods.net to the real SOAP address of the XMethods
- quote service.</p>
-
-<p>Finally the last stage sends the message on. For responses, the messages
- come back through the same stages. This time the message will not be
- redirected because the "to" address on the response will not match
- xmethods.</p>
-
-<h4>User Mediators</h4>
-
-<p>Synapse allows users to extend the built in mediators and add their own.
- The mediators use the Synapse API. The API has three interfaces.</p>
-
-<h4>SynapseMessage</h4>
-
-<p>The primary interface is the <a>SynapseMessage</a> interface:</p>
-<pre>public interface SynapseMessage {
-
- public SOAPEnvelope getEnvelope();
- public void setEnvelope(SOAPEnvelope envelope) throws AxisFault;
-
- public EndpointReference getTo();
- public void setTo(EndpointReference reference);
- // lots more header get/setters not shown
- // and a few other things ... see the real code
-
- public Object getProperty(String key);
- public void setProperty(String key, Object value);
-
- public void setResponse(boolean b);
- public boolean isResponse();
- }</pre>
-
-<p>The <a>SynapseMessage</a> interface is based on the Axis2
- <a>MessageContext</a> interface. It uses the Axis2 <a>EndpointReference</a>
- and SOAPEnvelope classes/interfaces.</p>
-
-<p>The purpose of this interface is to capture a message as it flows through
- the system. As you will see the messages are represented using the SOAP
- infoset. Binary messages can be embedded in the Envelope using the MTOM
- support built into Axis2's AXIOM object model.</p>
-
-<h4>Mediator interface</h4>
-
-<p>The second key interface for mediator writers is the Mediator
- interface:</p>
-<pre>package org.apache.synapse.api;
-
- import org.apache.synapse.SynapseMessage;
-
- public interface Mediator {
- public boolean mediate(SynapseMessage sm);
- }</pre>
-
-<p>The mediator can modify the <a>SynapseMessage</a> in any way it likes -
- adjusting the routing headers or changing the message. If it returns false,
- that signals to the Synapse processing model to stop processing further. For
- example, if the mediator is a security agent it may decide that this message
- is dangerous and should not be processed further. This is generally the
- exception as mediators are usually designed to co-operate to process the
- message onwards.</p>
-
-<h4>EnvironmentAware</h4>
-
-<p>The final aspect of the API is the <a>EnvironmentAware</a> interface. If
- the mediator implements this, then it will have the
- <a>SynapseEnvironment</a>
- injected into it:</p>
-<pre>package org.apache.synapse.api;
-
- import org.apache.synapse.SynapseEnvironment;
-
- public interface EnvironmentAware {
- public void setSynapseEnvironment(SynapseEnvironment se);
- public void setClassLoader(ClassLoader cl);
-
- }</pre>
-
-<p>The <a>SynapseEnvironment</a> allows the mediator access to the underlying
- engine:</p>
-<pre>package org.apache.synapse;
-
-
- public interface SynapseEnvironment {
- public void injectMessage(SynapseMessage smc);
- public ClassLoader getClassLoader();
- public void send(SynapseMessage smc);
- public Processor lookupProcessor(String name);
- public void addProcessor(Processor p);
- public Processor getMasterProcessor();
- public void setMasterProcessor(Processor p);
- }</pre>
-
-<h4>Mediator configuration</h4>
-
-<p>Mediators can be configured in different ways which include</p>
-<ol>
- <li>They can be loaded as simple classes:
- <pre><classmediator name="optional-name"
- class="org.apache.sample.MyLogger"/></pre>
-
- <p>This will load a class named <tt>org.apache.sample.MyLogger</tt> and
- use it to mediate messages.</p>
- </li>
- <li>As deployed Axis2 Services: This will direct the message through a
- deployed Axis2 service which implements the mediate interface:
- <pre><servicemediator name="optional-name" service="service-name"/>
- </pre>
- </li>
- <li>Using IoC containers such as Spring: This model is supported by an
- optional extension, and requires that you have the <tt>spring-core</tt>,
- <tt>spring-context</tt> and <tt>spring-beans</tt> libraries from the <a
- href="http://www.springframework.org/">Spring framework</a> website,
- as
- well as the <tt>springmediator.jar</tt> in your classpath. The Spring
- mediator model uses a spring assembly to configure an assembly of beans.
- The bean assembly must produce as one bean which implements the mediator
- interface.
- <pre>
- <synapse-spring:springmediator name="optional-name"
- bean="name-of-bean-which-implements-mediator">
- <beans>
- <bean .... spring bean assembly configuration goes here >
- </beans>
- </synapse-spring:springmediator>
- </pre>
- </li>
-</ol>
-
-<h3>In and Out </h3>
-
-<p>Redirection is only designed to apply to "in" messages by using the
- <in> rule. If we use <out> then you have to explictley use the
- <in> rule. </p>
-<pre><stage name="stage1-all">
- ...
- </stage>
-
- <in name="stage2-service-specific" >
- <regex message-address="to" pattern="http://xmethods.*">
- ...
- </in>
-
- <stage name="stage3-send-all">
- ...
- </stage></pre>
-
-<p>There is a corresponding <tt><out></tt> rule.</p>
-
-<h4>References</h4>
-
-<p>In order to make the configuration more re-usable, every rule, stage or
- mediator can be named:</p>
-<pre> <stage name="thisname"></pre>
-
-<p>The name can then be used to "refer" to the mediator.</p>
-
-<p>So</p>
-<pre><ref ref="thisname"/></pre>
-
-<p>will cause the same processing to happen as if the stage had been included
- at that point.</p>
-
-<p>For example:</p>
-<pre><in>
- <stage name="both">
-
- . . .
- </stage>
- <stage name="inonly"> ...</stage>
- </in>
- <out>
- <ref ref="both"/>
-
- </out></pre>
-
-<p>Please note this is one area where we expect to do considerable work</p>
-
-<h4>Never</h4>
-
-<p>This is a stage where none of the children get executed. Its purpose is to
- allow you to place rules and mediations and have them not executed but
- instead refer to them from one or more other places.</p>
-
-<p>So the following may be deemed equivalent to the previous example</p>
-<pre><in>
- <ref ref="both"/>
-
- <stage name="inonly"> ...</stage>
- </in>
- <out>
- <ref ref="both"/>
- <out>
- <never>
-
- <stage name="both"> ...</stage>
- </never></pre>
-
-<h4>Content based routing</h4>
-
-<p>We can further improve our example by adding some "content-based" routing.
- Using an <xpath> rule we can make tests within the XML. For example,
- we
- could decide not to allow stock ticker queries against certain companies
- whose share prices we were jealous of - MSFT say :-).</p>
-
-<p>To do this we can add a rule:</p>
-<pre><xpath expr="//*[Symbol='MSFT']">
- <fault/>
- </xpath></pre>
-
-<p>This rule identifies any messages with a tag <tt>Symbol</tt> whose content
- is MSFT. The <tt><fault></tt> mediator returns a fault to the
- client.</p>
-
-<p>We can place this rule under the regex rule, so it only applies to
- requests aimed at xmethods.*:</p>
-<pre><regex message-address="to" pattern="http://xmethods.*">
- <header type="to" value="http://64.124.140.30:9090/soap"/>
- <xpath expr="//*[Symbol='MSFT']">
- <fault/>
- </xpath>
-
- </regex></pre>
-
-<p>Note that the rules, like the stages, can have more than one child. While
- it isn't fixed in Synapse, the built-in rules and mediators all use the same
- "plan" to execute their children, which involves executing in the lexical
- order that they occur in the synapse.xml.</p>
-
-<h3>XML Configuration Elements</h3>
-
-<p>Every element in the Synapse configuration file maps to a instance of a
- Processor. There are two types of elements - <strong>nodes</strong> that
- "contain" sub-elements (ex: <tt><regex/></tt>, <tt><stage/></tt>
- and <tt><xpath/></tt>) and <strong>leaves</strong> which only contain
- configuration for that element or have no xml children (ex:
- <tt><engage-addressing-in/></tt>).</p>
-
-<h4>Grouping and Referencing elements</h4>
-<ol>
- <li><p><tt><stage/></tt></p>
- </li>
- <li><p><tt><in/></tt></p>
- </li>
- <li><p><tt><out/></tt></p>
- </li>
- <li><p><tt><never/></tt></p>
- </li>
- <li><p><tt><ref/></tt></p>
- </li>
-</ol>
-
-<h4>Rule elements</h4>
-<ol>
- <li><p><tt><regex/></tt></p>
- </li>
- <li><p><tt><xpath/></tt></p>
- </li>
-</ol>
-
-<h4>Built-in mediators</h4>
-<ol>
- <li><p><tt><engage-addressing-in/></tt></p>
- </li>
- <li><p><tt><log/></tt></p>
- </li>
- <li><p><tt><fault/></tt></p>
- </li>
- <li><p><tt><send/></tt></p>
- </li>
- <li><p><tt><header/></tt></p>
- <li><p><tt><xslt/></tt></p>
- </li>
-</ol>
-
-<h4>User mediator types</h4>
-<ol>
- <li><p><tt><servicemediator/></tt></p>
- </li>
- <li><p><tt><classmediator/></tt></p>
- </li>
-</ol>
-
-<h3>Samples</h3>
-
-<p><h4>Note:</h4></p>
-
-<p><i>If you are running the samples using 0.94 distributions, please follow <a
- href="http://ws.apache.org/axis2/download.cgi" target="_blank">this</a> before running the samples.</i></p>
-
-<h4>Logging</h4>
-
-<p>The system ships with a couple of samples. These include sample clients
- and appropriate synapse.xml intermediary configurations.</p>
-
-<p>The first sample demonstrates the logging facility. Here is a simple
- synapse.xml:</p>
-<pre><synapse xmlns="http://ws.apache.org/ns/synapse">
- <engage-addressing-in/>
- <log/>
- <send/>
-
- </synapse></pre>
-
-<p>The logging uses the Log4J/Commons Logging support in Apache. You can
- configure it using <tt>log4j.properties</tt>.</p>
-
-<p>The sample client is a standard Axis2 client built to run against the
- XMethods Quote Service. However, it has been modified to use a different
- transport address from the Web Services Addressing TO header. In other
- words,
- the SOAP envelope is addressed to the XMethods service, but the actual HTTP
- request goes to Synapse. The sample client has three (optional)
- parameters:</p>
-<pre>StockQuoteClient SYMBOL webservicexURL TransportURL</pre>
-
-<p>e.g.</p>
-<pre>StockQuoteClient IBM http://www.webservicex.net/stockquote.asmx
- http://localhost:8080</pre>
-
-<p>The sample synapse.xml can be used to demonstrate a few simple behaviours.
- 1) Firstly try this:</p>
-<pre>StockQuoteClient IBM http://www.webservicex.net/stockquote.asmx
- http://www.webservicex.net/stockquote.asmx</pre>
-
-<p>This will bypass Synapse and simply call XMethods.</p>
-
-<p>2) Now start Synapse on port 8080 and try</p>
-<pre>StockQuoteClient</pre>
-
-<p>on its own. You should see the messages being logged as they pass through
- Synapse.</p>
-
-<p>3) This time try</p>
-<pre>StockQuoteClient IBM urn:xmethods-delayed-quotes</pre>
-
-<p>This should hit a regex rule which replaces the "virtual URI" that is in
- the wsa:To header with the real URL.</p>
-
-<p>4) Now try</p>
-<pre>StockQuoteClient MSFT </pre>
-
-<p>which should hit a "content-based" xpath rule.</p>
-
-<p>ProxyStockQuoteClient illutstrates how Synapse working as Proxy</p>
-<a></a> <!-- end page -->
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>Synapse Userguide</title>
+</head>
+<body>
+<h1>User Guide</h1>
+<p>Apache Synapse is a mediation framework for Web Services. Synapse
+allows messages flowing through, into, or out of an organization to be
+mediated. Refer to the project documentation for more details.<br>
+</p>
+<h2>Getting started</h2>
+<h3>Synapse Installation<br>
+</h3>
+<p>Synapse is available in two distributions. A standalone lightweight
+distribution which runs on its own HTTP server, and as a WAR
+distribution.
+The WAR distribution is not currently supported for the Milestone M2
+release. Hence you will need to start the lightweight version of
+Synapse as described below.<br>
+</p>
+<p>Synapse will always start in the SYNAPSE_HOME directory, which is
+where Synapse is installed. This directory has the following structure.<br>
+</p>
+<table style="width: 80%; text-align: left;" border="0" cellpadding="2"
+ cellspacing="2">
+ <tbody>
+ <tr>
+ <td style="vertical-align: top;">/synapse<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/bin<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">-<br>
+ </td>
+ <td style="vertical-align: top;">Contains the binaries. i.e.
+synapse.sh and synapse.bat</td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/lib<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/endorsed<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">-<br>
+ </td>
+ <td style="vertical-align: top;">If validation mediator is used,
+Xerces parser JAR files should be placed here</td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/samples<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">-<br>
+ </td>
+ <td style="vertical-align: top;">This directory includes several
+samples
+with varying complexity.</td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/synapse_repository</td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">-<br>
+ </td>
+ <td style="vertical-align: top;">This is the underlying Axis2
+repository.
+Refer to Axis2 documentation for more information and structure of this.<br>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/conf<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">-<br>
+ </td>
+ <td style="vertical-align: top;">Contains the default synapse.xml
+configuration file and the axis2.xml configuration file for Axis<br>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/sample<br>
+ </td>
+ <td style="vertical-align: top;">-<br>
+ </td>
+ <td style="vertical-align: top;">Contains sample synapse XML
+configurations to be used with the samples<br>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/modules<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/services<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ </tr>
+ <tr>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">/xdocs<br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;"><br>
+ </td>
+ <td style="vertical-align: top;">-<br>
+ </td>
+ <td style="vertical-align: top;">Contains bundled documentation<br>
+ </td>
+ </tr>
+ </tbody>
+</table>
+<br>
+<br>
+<h3>Starting Synapse through the <span style="font-family: monospace;"></span>synapse
+[.sh or .bat] script</h3>
+<p>The command line for synapse-lightweight takes the repository
+directory and listening port as optional parameters. However as these
+arguments are optional, if they are not specified the port will default
+to 8080 for http and the repository to the 'synapse_repository'
+directory. Execution of the script starts up synapse as follows.<br>
+</p>
+<table
+ style="width: 905px; height: 33px; text-align: left; margin-left: auto; margin-right: auto;"
+ border="1" cellpadding="2" cellspacing="2">
+ <tbody>
+ <tr>
+ <td
+ style="background-color: rgb(255, 255, 204); vertical-align: top;">C:\Java\SynapseDist\synapse>bin\synapse.bat<br>
+......<br>
+[SimpleHTTPServer] Starting<br>
+[SimpleHTTPServer] Using the Axis2 Repository
+C:\Java\SynapseDist\synapse\bin\..\synapse_repository<br>
+[SimpleHTTPServer] Listening on port 8080<br>
+[main] INFO SynapseAxis2Interceptor - Initializing Synapse...<br>
+[main] INFO SynapseAxis2Interceptor - System property
+'synapse.xml' specifies synapse configuration as
+C:\Java\SynapseDist\synapse\bin\..\synapse_repository\conf\synapse.xml<br>
+[main] INFO XMLConfigurationBuilder - Generating the Synapse
+configuration model by parsing the XML configuration<br>
+[main] INFO SynapseConfigurationBuilder - Loaded Synapse
+configuration from :
+C:\Java\SynapseDist\synapse\bin\..\synapse_repository\conf\synapse.xml<br>
+[main] INFO SynapseAxis2Interceptor - Synapse initialized...<br>
+[SimpleHTTPServer] Started<br>
+ </td>
+ </tr>
+ </tbody>
+</table>
+<br>
+<p>If required the port and the Axis2 repository locations could be
+specified as follows<br>
+</p>
+<pre> synapse.sh -p5043 synapse_repository</pre>
+<p>A convenience method to start Synapse with sample configurations
+(found in synapse_repository\conf\sample) is
+available with the M2 release. This could be used as follows:</p>
+<pre> synapse.sh -sample <number></pre>
+<p><number> could be 0, 1 or 2, and will pick up the
+synapse_repository\conf\sample\synapse_sample_<number>.xml file
+from the samples.<br>
+</p>
+<p>The default log4j.properties file found in the SYNAPSE_HOME
+directory sets the default Synapse log level as DEBUG. You may change
+this to INFO or WARN as required.<br>
+</p>
+<h3>Building the Synapse source</h3>
+<p>If you have downloaded the Synapse source, and set up Maven and its
+dependencies, you could build the binary distribution as follows:<br>
+</p>
+<pre> maven dist-bin</pre>
+<p>This creates the Synapse-Incubating-M2-SNAPSHOT-bin.zip distribution
+file within target\dist<br>
+</p>
+<pre> maven dist-extensions<br></pre>
+<p>The dist-extensions target builds the Synapse extensions
+Extensions-Synapse-M2-SNAPSHOT-bin.zip into target\dist<br>
+</p>
+<h3>Installing Extensions</h3>
+Synapse extensions allows the core of Synapse to be kept to the minimum
+level, yet still allow extension. Hence the Spring and Validation
+support which depends
+on the Spring and Xerces JARs are kept outside of the core distribution
+as extensions. The extensions are written using the Synapse SPI and the
+API which allows the Synapse functionality and configuration to be
+enhanced. (Refer to the Extending Synapse document for more
+information) Hence the Spring extension source provides a good example
+for
+someone interested in using the SPI /API to extend the functionality
+and
+configuration of Synapse.<br>
+<ul>
+ <li>Spring extension</li>
+</ul>
+<p style="margin-left: 40px;">The Spring extension requires spring.jar
+to be placed on the synapse SYNAPSE_HOME/lib folder. In addition, you
+will need to
+place the synapse_extensions.jar file which could be found within the
+Extensions-Synapse-M2-SNAPSHOT-bin.zip distribution file to be placed
+into the same folder.<br>
+</p>
+<ul>
+ <li>Validate mediator<br>
+ </li>
+</ul>
+<p style="margin-left: 40px;">The Validate mediator depends on the
+Xerces 2.8.0 parser. To properly setup the Xerces parser, you will need
+to place the xml-apis.jar and xercesImpl.jar JAR files of Xerces into
+the SYNAPSE_HOME/lib/endorsed directory. If you have already installed
+Xerces into
+your JAVA_HOME/lib/endorsed directory, you may omit the above step.<br>
+<br>
+</p>
+<h2>Deployment models</h2>
+<p>Synapse can intermediate in a number of different modes as listed
+below. Refer to the README.txt in the samples directory for examples
+utilizing these different models.<br>
+</p>
+<ul>
+ <li>Transparent mode
+ <ol>
+ </ol>
+ <ul>
+ <li>Synapse acts as an HTTP Proxy.</li>
+ <li>Clients are configured with the Synapse endpoint URL as the
+HTTP Proxy URL.</li>
+ <li>Synapse can work with both WS-A and non-WS-A SOAP messages.</li>
+ </ul>
+ <ol>
+ </ol>
+ </li>
+ <li>Gateway mode
+ <ol>
+ </ol>
+ <ul>
+ <li>The client explicitly sends a message to Synapse (with or
+without WS-A headers)</li>
+ <li>The synapse configuration must include enough routing
+information to
+correctly set the WS-A To and then Synapse forwards the message</li>
+ </ul>
+ <ol>
+ </ol>
+ </li>
+ <li>Smart client mode
+ <ol>
+ </ol>
+ <ul>
+ <li>The client sends the message to Synapse but sets the WS-A
+headers to the ultimate destination</li>
+ </ul>
+ </li>
+</ul>
+<h2>Processing model</h2>
+<p>Synapse has an overall model under which there are two ways to
+extend the framework. This essentially maps into the
+<definitions> or global Synapse configuration extension through
+the SPI; and the <rules> or mediator extension through the API.<br>
+</p>
+<ol>
+ <li>
+ <p>Using the SPI: Developers can build Synapse configuration
+extensions, which
+extend the XML configuration of Synapse<br>
+ </p>
+ </li>
+ <li>
+ <p>Using the API: Developers can build Mediators, which extend the
+functionality of Synapse<br>
+ </p>
+ </li>
+</ol>
+<p>There are also built-in mediators that do common tasks such as
+logging,
+editing etc. Typically users of Synapse extend the function using
+mediators, while the Synapse development teams can extend the core by
+building extensions.</p>
+<p>A synapse deployment attaches to one or more transport listeners,
+and mediates messages from those listeners. One of the key decisions is
+how to "attach" mediators to messages.<br>
+</p>
+<h2>Message Mediation</h2>
+The Synapse configuration language describes the XML syntax used to
+configure Synapse, and describes the built-in mediators. Please refer
+to <a
+ href="http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage">http://wiki.apache.org/incubator/Synapse/SynapseConfigurationLanguage</a>
+for more information.<br>
+<br>
+<h3>User Mediators</h3>
+Synapse allows users to extend the built in mediators by introducing
+their
+own. The mediators use the Synapse API. The main API interfaces are
+described below. A user mediator implementation could be as simple as
+writing your own Java class implementing the
+org.apache.synapse.api.Mediator interface, which essentially defines
+one single method <br>
+<pre>public boolean mediate(MessageContext synCtx);<br></pre>
+<p>You may additionally define this class as a Spring bean using the
+Synapse
+Spring extension. The advanced user may want to write his own custom
+mediator as well as extend the XML configuration model with a custom
+configuration extension.<br>
+<br>
+</p>
+<h3>Writing a custom Class mediator implementation</h3>
+A custom class mediator must extend the Mediator interface, and
+implement the public boolean mediate(MessageContext synCtx) method and
+a no argument constructor. The MessageContext allows the mediator to
+use message content or to modify the message as required, and hand it
+over to the next mediator as defined in the configuration. Class
+mediators could be configured as follows:<br>
+<pre><class name="class-name"><br> <property name="string" (value="literal" | expression="xpath")/>*<br></class><br></pre>
+The class mediator is built into the core of Synapse, and creates an
+instance of your specified class - which must be placed into the
+SYNAPSE_HOME/lib folder as a JAR file. If any properties are defined in
+the XML configuration the setter methods are invoked. However only
+String properties are allowed for Class mediators at this time. Any
+dependent libraries use by your class mediator implementation should be
+placed into the same lib folder as well.<br>
+<br>
+<h3>Writing a custom Spring mediator implementation</h3>
+A Spring mediator implementation is a class mediator, which is managed
+by a given Spring configuration. The Spring configuration may be
+defined globally to the Synapse Configuration and reused by multiple
+Spring managed mediator beans or defined inline per bean. Refer to the
+configuration syntax for more information. As the Spring mediator
+implementation is distributed as an "extension" to the core Synapse
+distribution, you will need to manually place the
+extension_mediators.jar into the SYNAPSE_HOME/lib folder as well as
+place the spring.jar and any other dependencies into the same directory.<br>
+<br>
+A reusable Spring configuration may be defined within the XML
+configuration file as follows within the <definitions> element:<br>
+<br>
+<pre><spring:config name="string" src="file"/></pre>
+<br>
+And a Spring mediator implementation may be defined within the
+<rules> element as follows:<br>
+<br>
+<pre><spring bean="exampleBean1" (config="spring1" | src="spring.xml)"/></pre>
+<br>
+The Spring configuration referenced by the "src" attribute will be
+initialized and the bean with the name given by the "bean" attribute
+will be looked up for mediation of the message. This bean must
+implement the Mediator interface. If a reusable Spring configuration
+was defined, the bean definition could refer to this configuration
+through the name given in the "config" attribute.<br>
+<span style="font-family: monospace;"><br>
+</span><br>
+<!-- end page -->
+</body>
+</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org