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 2005/11/25 06:00:04 UTC
svn commit: r348878 - in /incubator/synapse/trunk/scratch/prototype3:
log4j.properties project.properties project.xml repo/synapse.xml
src/sampleMediators/SpringRedirect.java
Author: saminda
Date: Thu Nov 24 20:59:50 2005
New Revision: 348878
URL: http://svn.apache.org/viewcvs?rev=348878&view=rev
Log:
Added project.xml and corrected a compilation error -
project.xml need to add more modifications
Added:
incubator/synapse/trunk/scratch/prototype3/project.properties
incubator/synapse/trunk/scratch/prototype3/project.xml
Removed:
incubator/synapse/trunk/scratch/prototype3/log4j.properties
Modified:
incubator/synapse/trunk/scratch/prototype3/repo/synapse.xml
incubator/synapse/trunk/scratch/prototype3/src/sampleMediators/SpringRedirect.java
Added: incubator/synapse/trunk/scratch/prototype3/project.properties
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/project.properties?rev=348878&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/project.properties (added)
+++ incubator/synapse/trunk/scratch/prototype3/project.properties Thu Nov 24 20:59:50 2005
@@ -0,0 +1,63 @@
+# -------------------------------------------------------------------
+# Dependency Repositories
+# -------------------------------------------------------------------
+maven.repo.remote=\
+http://www.ibiblio.org/maven,\
+http://cvs.apache.org/repository/,\
+http://www.apache.org/dist/java-repository/,\
+http://www.openejb.org/maven,\
+http://dist.codehaus.org,\
+http://mirrors.sunsite.dk/maven/,\
+http://people.apache.org/~dims/maven/
+
+# -------------------------------------------------------------------
+# XDocs Settings
+# -------------------------------------------------------------------
+maven.xdoc.date=left
+## maven.xdoc.version=${pom.currentVersion}
+
+# -------------------------------------------------------------------
+# JUnit
+# -------------------------------------------------------------------
+maven.junit.jvmargs=-Djava.awt.headless=true
+maven.junit.fork=true
+
+# -------------------------------------------------------------------
+# Compile
+# -------------------------------------------------------------------
+maven.compile.optimize=false
+maven.compile.fork=true
+
+
+# -------------------------------------------------------------------
+# Versions of dependencies
+# -------------------------------------------------------------------
+ant.version=1.6.5
+axis.wsdl4j.version=1.2
+bcprov.version=jdk13-128
+commons.codec.version=1.3
+commons.discovery.version=0.2
+commons.fileupload.version=1.0
+commons.httpclient.version=3.0-rc3
+commons.logging.version=1.0.4
+geronimo.spec.activation.version=1.0.2-rc4
+geronimo.spec.javamail.version=1.3.1-rc5
+geronimo.spec.servlet.version=2.4-rc4
+servletapi.version=2.3
+groovy.all.version=1.0-jsr-01
+jaxen.version=1.1-beta-7
+junit.version=3.8.1
+log4j.version=1.2.12
+opensaml.version=1.0.1
+stax.api.version=1.0
+stax.impl.groupid=stax
+stax.impl.artifactid=stax
+stax.impl.version=1.1.2-dev
+wss4j.version=SNAPSHOT
+xalan.version=2.6.0
+xbean.version=2.0.0
+xerces.version=2.6.2
+XmlSchema.version=SNAPSHOT
+xmlsec.version=1.2.1
+xmlunit.version=1.0
+
Added: incubator/synapse/trunk/scratch/prototype3/project.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/project.xml?rev=348878&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/project.xml (added)
+++ incubator/synapse/trunk/scratch/prototype3/project.xml Thu Nov 24 20:59:50 2005
@@ -0,0 +1,288 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+
+ <pomVersion>3</pomVersion>
+
+ <id>Synpase</id>
+
+ <name>Apache Synpase</name>
+
+ <currentVersion>M1-SNAPSHOT</currentVersion>
+
+ <organization>
+ <name>Apache Web Services</name>
+ <url>http://ws.apache.org/</url>
+ <logo>http://www.apache.org/images/asf-logo.gif</logo>
+ </organization>
+
+ <inceptionYear>2005</inceptionYear>
+ <package>org.apache.synapse</package>
+ <logo/>
+ <description>Discription of the project</description>
+ <!-- a short description of what the project does -->
+ <!--<shortDescription></shortDescription>-->
+
+ <!-- the project home page -->
+ <!--todo: need to setup uri, issueTracker, site, and dist dir -->
+ <!--<url>http://ws.apache.org/synapse/</url>-->
+ <!--<issueTrackingUrl>http://issues.apache.org/jira/browse/KAND</issueTrackingUrl>-->
+ <!--<siteAddress>ws.apache.org</siteAddress>-->
+ <!--<siteDirectory>/synapse/</siteDirectory>-->
+ <!--<distributionDirectory>/www/ws.apache.org/builds/</distributionDirectory>-->
+ <!--todo-->
+
+ <!-- any mailing lists for the project -->
+ <!--todo-->
+ <!--<mailingLists>-->
+ <!--<mailingList>-->
+ <!--<name>Synpase Developer List</name>-->
+ <!--<subscribe>synapse-dev-subscribe@ws.apache.org</subscribe>-->
+ <!--<unsubscribe>synapse-dev-unsubscribe@ws.apache.org</unsubscribe>-->
+ <!--<archive></archive>-->
+ <!--</mailingList>-->
+ <!--</mailingLists>-->
+
+ <!-- who the developers are for the project -->
+ <developers>
+ <developer>
+ <name>Paul Fremantle</name>
+ <id>paul</id>
+ <email>paul@wso2.com</email>
+ <organization>WSO2</organization>
+ </developer>
+ <developer>
+ <name>Sanjiva Weerawarana</name>
+ <id>sanjiva</id>
+ <email>sanjiva@wso2.com</email>
+ <organization>WSO2</organization>
+ </developer>
+ <!--todo : all the developers here-->
+
+ </developers>
+
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <!-- build information for the project -->
+ <build>
+ <nagEmailAddress>synapse-dev@ws.apache.org</nagEmailAddress>
+ <sourceDirectory>src</sourceDirectory>
+ </build>
+
+ <!-- ============ -->
+ <!-- Dependencies -->
+ <!-- ============ -->
+
+ <dependencies>
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>axis2</artifactId>
+ <version>0.93</version>
+ </dependency>
+
+ <!-- external JARs -->
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>${commons.logging.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>${commons.httpclient.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>commons-discovery</groupId>
+ <artifactId>commons-discovery</artifactId>
+ <version>${commons.discovery.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>${commons.codec.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ <url>http://dist.codehaus.org/stax/jars/</url>
+ </dependency>
+ <dependency>
+ <groupId>${stax.impl.groupid}</groupId>
+ <artifactId>${stax.impl.artifactid}</artifactId>
+ <version>${stax.impl.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ <version>${stax.api.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>axis</groupId>
+ <artifactId>axis-wsdl4j</artifactId>
+ <version>${axis.wsdl4j.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>geronimo-spec</groupId>
+ <artifactId>geronimo-spec-javamail</artifactId>
+ <version>${geronimo.spec.javamail.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>geronimo-spec</groupId>
+ <artifactId>geronimo-spec-activation</artifactId>
+ <version>${geronimo.spec.activation.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean</artifactId>
+ <version>${xbean.version}</version>
+ <type>jar</type>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>wss4j</groupId>
+ <artifactId>wss4j</artifactId>
+ <version>${wss4j.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>xml-security</groupId>
+ <artifactId>xmlsec</artifactId>
+ <version>${xmlsec.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>bouncycastle</groupId>
+ <artifactId>bcprov</artifactId>
+ <version>${bcprov.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>opensaml</groupId>
+ <artifactId>opensaml</artifactId>
+ <version>${opensaml.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
+ <properties>
+ <classloader>root</classloader>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xmlParserAPIs</artifactId>
+ <version>${xerces.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ <version>${jaxen.version}</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>2.6.0</version>
+ <properties>
+ <module>true</module>
+ </properties>
+ </dependency>
+
+ </dependencies>
+
+ <!-- ================================= -->
+ <!-- build information for the project -->
+ <!-- ================================= -->
+
+ <build>
+ <nagEmailAddress>synapse-dev@ws.apache.org</nagEmailAddress>
+ <sourceDirectory>src</sourceDirectory>
+ <unitTestSourceDirectory>test</unitTestSourceDirectory>
+ <unitTest>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <!--<excludes>-->
+ <!--<exclude>**/NaughtyTest.java</exclude>-->
+ <!--</excludes>-->
+ </unitTest>
+ <resources>
+ <resource>
+ <directory>repo</directory>
+ <includes>
+ <include>*.*</include>
+ </includes>
+ </resource>
+ </resources>
+
+ </build>
+
+ <!-- ======= -->
+ <!-- Reports -->
+ <!-- ======= -->
+
+ <reports>
+ <!--<report>maven-changes-plugin</report>-->
+ <!--<report>maven-jdepend-plugin</report>-->
+ <!--<report>maven-checkstyle-plugin</report>-->
+ <!--<report>maven-pmd-plugin</report>-->
+ <!--<report>maven-junit-report-plugin</report>-->
+ <!--<report>maven-license-plugin</report>-->
+ <!--<report>maven-jxr-plugin</report>-->
+ </reports>
+</project>
+
Modified: incubator/synapse/trunk/scratch/prototype3/repo/synapse.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/repo/synapse.xml?rev=348878&r1=348877&r2=348878&view=diff
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/repo/synapse.xml (original)
+++ incubator/synapse/trunk/scratch/prototype3/repo/synapse.xml Thu Nov 24 20:59:50 2005
@@ -1,5 +1,4 @@
<synapse xmlns="http://ws.apache.org/ns/synapse">
-
<stage name="logall">
<addressing/>
<log/>
@@ -14,7 +13,6 @@
</stage>
<stage name="sender">
<send/>
- </stage>
-
+ </stage>
</synapse>
Modified: incubator/synapse/trunk/scratch/prototype3/src/sampleMediators/SpringRedirect.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/src/sampleMediators/SpringRedirect.java?rev=348878&r1=348877&r2=348878&view=diff
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/src/sampleMediators/SpringRedirect.java (original)
+++ incubator/synapse/trunk/scratch/prototype3/src/sampleMediators/SpringRedirect.java Thu Nov 24 20:59:50 2005
@@ -17,7 +17,7 @@
import org.apache.axis2.addressing.EndpointReference;
import org.apache.synapse.api.Mediator;
-import org.apache.synapse.api.SOAPMessageContext;
+import org.apache.synapse.SynapseMessage;
public class SpringRedirect implements Mediator {
private String uri = null;
@@ -26,7 +26,7 @@
this.uri = uri;
}
- public boolean mediate(SOAPMessageContext mc) {
+ public boolean mediate(SynapseMessage mc) {
System.out.println("Redirect.mediate: " + uri);
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org