You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/03/06 09:01:11 UTC

svn commit: r750801 - in /camel/branches/camel-1.x: ./ components/camel-cxf/pom.xml examples/camel-example-cxf/src/main/java/org/apache/camel/example/cxf/CamelCxfExample.java

Author: ningjiang
Date: Fri Mar  6 08:01:10 2009
New Revision: 750801

URL: http://svn.apache.org/viewvc?rev=750801&view=rev
Log:
Merged revisions 750796 via svnmerge from 
https://svn.apache.org/repos/asf/camel/trunk

........
  r750796 | ningjiang | 2009-03-06 15:50:44 +0800 (Fri, 06 Mar 2009) | 1 line
  
  Removed the error handler for HTTP2JMS route
........

Modified:
    camel/branches/camel-1.x/   (props changed)
    camel/branches/camel-1.x/components/camel-cxf/pom.xml
    camel/branches/camel-1.x/examples/camel-example-cxf/src/main/java/org/apache/camel/example/cxf/CamelCxfExample.java

Propchange: camel/branches/camel-1.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Mar  6 08:01:10 2009
@@ -1 +1 @@
-/camel/trunk:736980,739733,739904,740251,740295,740306,740596,740663,741848,742231,742705,742739,742854,742856,742898,742906,743613,743762,743773,743920,743959-743960,744123,745105,745367,745541,745751,745826,745978,746269,746872,746895,746962,747258,747678-747704,748392,748436,748821,749563-749564,749574,749628-749629,749956,750017,750334,750761
+/camel/trunk:736980,739733,739904,740251,740295,740306,740596,740663,741848,742231,742705,742739,742854,742856,742898,742906,743613,743762,743773,743920,743959-743960,744123,745105,745367,745541,745751,745826,745978,746269,746872,746895,746962,747258,747678-747704,748392,748436,748821,749563-749564,749574,749628-749629,749956,750017,750334,750761,750796

Propchange: camel/branches/camel-1.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-1.x/components/camel-cxf/pom.xml
URL: http://svn.apache.org/viewvc/camel/branches/camel-1.x/components/camel-cxf/pom.xml?rev=750801&r1=750800&r2=750801&view=diff
==============================================================================
--- camel/branches/camel-1.x/components/camel-cxf/pom.xml (original)
+++ camel/branches/camel-1.x/components/camel-cxf/pom.xml Fri Mar  6 08:01:10 2009
@@ -93,13 +93,7 @@
     <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-core</artifactId>
-      <version>${cxf-version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>com.sun.xml.bind</groupId>
-          <artifactId>jaxb-impl</artifactId>
-        </exclusion>
-      </exclusions>
+      <version>${cxf-version}</version>      
     </dependency>
     <dependency>
       <groupId>org.apache.cxf</groupId>
@@ -131,78 +125,13 @@
       <artifactId>cxf-rt-management</artifactId>
       <version>${cxf-version}</version>
     </dependency>
-    <dependency>
-      <groupId>org.apache.cxf</groupId>
-      <artifactId>cxf-testutils</artifactId>
-      <version>${cxf-version}</version>
-      <scope>test</scope>
-    </dependency>
+    
     <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-tools-common</artifactId>
-      <version>${cxf-version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>com.sun.xml.bind</groupId>
-          <artifactId>jaxb-impl</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-
-    <!-- TODO for some reason the jaxb used by CXF is unavailable so we have to provide our own -->
-    <dependency>
-      <groupId>com.sun.xml.bind</groupId>
-      <artifactId>jaxb-impl</artifactId>
-      <version>${jaxb-version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>javax.xml</groupId>
-          <artifactId>jsr173</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>javax.jws</groupId>
-          <artifactId>jsr181-api</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>javax.activation</groupId>
-          <artifactId>activation</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>javax.xml.bind</groupId>
-      <artifactId>jaxb-api</artifactId>
-      <version>${jaxb-api-version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>javax.xml</groupId>
-          <artifactId>jsr173</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>javax.activation</groupId>
-          <artifactId>activation</artifactId>
-        </exclusion>
-      </exclusions>
+      <version>${cxf-version}</version>     
     </dependency>
-
-    <dependency>
-      <groupId>org.mortbay.jetty</groupId>
-      <artifactId>jetty</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <!--dependency>
-    	<groupId>org.codehaus.woodstox</groupId>
-    	<artifactId>wstx-asl</artifactId>
-    	<version>3.2.4</version>
-    	<exclusions>
-    		<exclusion>
-    			<groupId>stax</groupId>
-    			<artifactId>stax-api</artifactId>
-    		</exclusion>
-    	</exclusions>
-    </dependency-->
-
+    
     <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
@@ -218,6 +147,31 @@
        <artifactId>spring-context</artifactId>
      </dependency>
      
+    <dependency>
+      <groupId>org.apache.cxf</groupId>
+      <artifactId>cxf-testutils</artifactId>
+      <version>${cxf-version}</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.mortbay.jetty</groupId>
+      <artifactId>jetty</artifactId>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <scope>test</scope>
+    </dependency>
+         
      <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-test</artifactId>

Modified: camel/branches/camel-1.x/examples/camel-example-cxf/src/main/java/org/apache/camel/example/cxf/CamelCxfExample.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-1.x/examples/camel-example-cxf/src/main/java/org/apache/camel/example/cxf/CamelCxfExample.java?rev=750801&r1=750800&r2=750801&view=diff
==============================================================================
--- camel/branches/camel-1.x/examples/camel-example-cxf/src/main/java/org/apache/camel/example/cxf/CamelCxfExample.java (original)
+++ camel/branches/camel-1.x/examples/camel-example-cxf/src/main/java/org/apache/camel/example/cxf/CamelCxfExample.java Fri Mar  6 08:01:10 2009
@@ -65,6 +65,8 @@
             // START SNIPPET: e3
             context.addRoutes(new RouteBuilder() {
                 public void configure() {
+                    // Here we just pass the exception back , don't need to use errorHandler
+                    errorHandler(noErrorHandler());
                     from(ROUTER_ENDPOINT_URI).to(SERVICE_ENDPOINT_URI);
                 }
             });