You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2010/12/03 05:07:30 UTC
svn commit: r1041684 [2/3] - in /synapse/branches/2.0:
modules/core/src/test/resources/synapse-config/
modules/packaging/package-archetype/src/main/resources/archetype-resources/repository/conf/
repository/conf/sample/ repository/conf/sample/resources/...
Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_650.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_650.xml?rev=1041684&r1=1041683&r2=1041684&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_650.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_650.xml Fri Dec 3 04:07:27 2010
@@ -19,7 +19,9 @@
-->
<!-- Introduction to priority based mediation -->
-<definitions xmlns="http://ws.apache.org/ns/synapse">
+<definitions xmlns="http://ws.apache.org/ns/synapse"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd">
<priorityExecutor name="exec">
<queues>
Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_652.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_652.xml?rev=1041684&r1=1041683&r2=1041684&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_652.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_652.xml Fri Dec 3 04:07:27 2010
@@ -19,69 +19,72 @@
-->
<!--Distributed transacton example -->
+<definitions xmlns="http://ws.apache.org/ns/synapse"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd">
- <definitions xmlns="http://ws.apache.org/ns/synapse">
-
-<sequence name="myFaultHandler">
- <log level="custom">
- <property name="text" value="** Rollback Transaction**"/>
- </log>
- <transaction action="rollback"/>
- <send/>
-</sequence>
-
-<sequence name="main" onError="myFaultHandler">
- <in>
- <send>
- <endpoint>
- <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
- </endpoint>
- </send>
- </in>
-
- <out>
- <transaction action="new"/>
-
- <log level="custom">
- <property name="text" value="** Reporting to the Database esbdb**"/>
- </log>
- <dbreport useTransaction="true" xmlns="http://ws.apache.org/ns/synapse">
- <connection>
- <pool>
- <dsName>java:jdbc/XADerbyDS</dsName>
- <icClass>org.jnp.interfaces.NamingContextFactory</icClass>
- <url>localhost:1099</url>
- <user>synapse</user>
- <password>synapse</password>
- </pool>
- </connection>
- <statement>
- <sql>delete from company where name =?</sql>
- <parameter expression="//m0:return/m1:symbol/child::text()"
- xmlns:m0="http://services.samples" xmlns:m1="http://services.samples/xsd"
- type="VARCHAR"/>
- </statement>
- </dbreport>
-
+ <sequence name="myFaultHandler">
<log level="custom">
- <property name="text" value="** Reporting to the Database esbdb1**"/>
+ <property name="text" value="** Rollback Transaction**"/>
</log>
- <dbreport useTransaction="true" xmlns="http://ws.apache.org/ns/synapse">
- <connection>
- <pool>
- <dsName>java:jdbc/XADerbyDS1</dsName>
- <icClass>org.jnp.interfaces.NamingContextFactory</icClass>
- <url>localhost:1099</url>
- <user>synapse</user>
- <password>synapse</password>
- </pool>
- </connection>
- <statement>
- <sql> INSERT into company values ('IBM','c4',12.0)</sql>
- </statement>
- </dbreport>
- <transaction action="commit"/>
+ <transaction action="rollback"/>
<send/>
- </out>
-</sequence>
+ </sequence>
+
+ <sequence name="main" onError="myFaultHandler">
+ <in>
+ <send>
+ <endpoint>
+ <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
+ </endpoint>
+ </send>
+ </in>
+
+ <out>
+ <transaction action="new"/>
+
+ <log level="custom">
+ <property name="text" value="** Reporting to the Database esbdb**"/>
+ </log>
+ <dbreport useTransaction="true" xmlns="http://ws.apache.org/ns/synapse">
+ <connection>
+ <pool>
+ <dsName>java:jdbc/XADerbyDS</dsName>
+ <icClass>org.jnp.interfaces.NamingContextFactory</icClass>
+ <url>localhost:1099</url>
+ <user>synapse</user>
+ <password>synapse</password>
+ </pool>
+ </connection>
+ <statement>
+ <sql>delete from company where name =?</sql>
+ <parameter expression="//m0:return/m1:symbol/child::text()"
+ xmlns:m0="http://services.samples"
+ xmlns:m1="http://services.samples/xsd"
+ type="VARCHAR"/>
+ </statement>
+ </dbreport>
+
+ <log level="custom">
+ <property name="text" value="** Reporting to the Database esbdb1**"/>
+ </log>
+ <dbreport useTransaction="true" xmlns="http://ws.apache.org/ns/synapse">
+ <connection>
+ <pool>
+ <dsName>java:jdbc/XADerbyDS1</dsName>
+ <icClass>org.jnp.interfaces.NamingContextFactory</icClass>
+ <url>localhost:1099</url>
+ <user>synapse</user>
+ <password>synapse</password>
+ </pool>
+ </connection>
+ <statement>
+ <sql>INSERT into company values ('IBM','c4',12.0)</sql>
+ </statement>
+ </dbreport>
+ <transaction action="commit"/>
+ <send/>
+ </out>
+ </sequence>
+
</definitions>
Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_7.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_7.xml?rev=1041684&r1=1041683&r2=1041684&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_7.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_7.xml Fri Dec 3 04:07:27 2010
@@ -19,7 +19,9 @@
-->
<!-- Introduction to local Registry entries and using Schema validation -->
-<definitions xmlns="http://ws.apache.org/ns/synapse">
+<definitions xmlns="http://ws.apache.org/ns/synapse"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd">
<sequence name="main">
<in>
Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_700.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_700.xml?rev=1041684&r1=1041683&r2=1041684&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_700.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_700.xml Fri Dec 3 04:07:27 2010
@@ -19,7 +19,10 @@
-->
<!--Introduction to Synapse Message store -->
-<definitions xmlns="http://ws.apache.org/ns/synapse">
+<definitions xmlns="http://ws.apache.org/ns/synapse"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd">
+
<!--Simple in Memory Message Store with name foo -->
<messageStore name="foo" sequence="bar">
<redelivery>
@@ -50,4 +53,5 @@
<sequence name="bar">
<log level="full"/>
</sequence>
+
</definitions>
Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_8.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_8.xml?rev=1041684&r1=1041683&r2=1041684&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_8.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_8.xml Fri Dec 3 04:07:27 2010
@@ -19,7 +19,9 @@
-->
<!-- Introduction to static and dynamic registry resources, and using XSLT transformations -->
-<definitions xmlns="http://ws.apache.org/ns/synapse">
+<definitions xmlns="http://ws.apache.org/ns/synapse"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd">
<!-- the SimpleURLRegistry allows access to a URL based registry (e.g. file:/// or http://) -->
<registry provider="org.apache.synapse.registry.url.SimpleURLRegistry">
Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_9.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_9.xml?rev=1041684&r1=1041683&r2=1041684&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_9.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_9.xml Fri Dec 3 04:07:27 2010
@@ -19,7 +19,9 @@
-->
<!-- Introduction to dynamic sequences with the Registry -->
-<definitions xmlns="http://ws.apache.org/ns/synapse">
+<definitions xmlns="http://ws.apache.org/ns/synapse"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd">
<registry provider="org.apache.synapse.registry.url.SimpleURLRegistry">
<parameter name="root">file:./repository/conf/sample/resources/</parameter>
Modified: synapse/branches/2.0/repository/conf/synapse-config/synapse.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/synapse-config/synapse.xml?rev=1041684&r1=1041683&r2=1041684&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/synapse-config/synapse.xml (original)
+++ synapse/branches/2.0/repository/conf/synapse-config/synapse.xml Fri Dec 3 04:07:27 2010
@@ -17,9 +17,11 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-
+
<!-- An empty flat synapse configuration shipped with the Apache Synapse -->
-<definitions xmlns="http://ws.apache.org/ns/synapse">
+<definitions xmlns="http://ws.apache.org/ns/synapse"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://ws.apache.org/ns/synapse http://synapse.apache.org/ns/2010/04/configuration/synapse_config.xsd">
<!-- You can add any flat sequences, endpoints, etc.. to this synapse.xml file if you do
not want to keep the artifacts in several files -->