camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r790921 - /camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
Date Fri, 03 Jul 2009 14:06:24 GMT
Author: ningjiang
Date: Fri Jul  3 14:06:24 2009
New Revision: 790921

URL: http://svn.apache.org/viewvc?rev=790921&view=rev
Log:
Fixed the unit test error of my last commit

Modified:
    camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java

Modified: camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java?rev=790921&r1=790920&r2=790921&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
(original)
+++ camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
Fri Jul  3 14:06:24 2009
@@ -75,7 +75,7 @@
                 // set the Http method
                 inMessage.setHeader(Exchange.HTTP_METHOD, "GET");
                 // set the relative path
-                inMessage.setHeader(Exchange.HTTP_RELATIVE_PATH, "/customerservice/customers/123");
               
+                inMessage.setHeader(Exchange.HTTP_PATH, "/customerservice/customers/123");
               
                 // Specify the response class , cxfrs will use InputStream as the response
object type 
                 inMessage.setHeader(CxfConstants.CAMEL_CXF_RS_RESPONSE_CLASS, Customer.class);
                 // since we use the Get method, so we don't need to set the message body



Mime
View raw message