camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r833976 - /camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
Date Mon, 09 Nov 2009 06:27:27 GMT
Author: ningjiang
Date: Mon Nov  9 06:27:26 2009
New Revision: 833976

URL: http://svn.apache.org/viewvc?rev=833976&view=rev
Log:
CAMEL-2149 added tags for wiki doc

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=833976&r1=833975&r2=833976&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
Mon Nov  9 06:27:26 2009
@@ -172,10 +172,13 @@
                     // set the Http method
                     inMessage.setHeader(Exchange.HTTP_METHOD, "GET");
                     inMessage.setHeader(CxfConstants.CAMEL_CXF_RS_RESPONSE_CLASS, InputStream.class);
+                    // override the parameter setting from URI
+                    // START SNIPPET: QueryMapExample
                     Map<String, String> queryMap = new LinkedHashMap<String, String>();
                   
                     queryMap.put("q1", "new");
                     queryMap.put("q2", "world");                    
                     inMessage.setHeader(CxfConstants.CAMEL_CXF_RS_QUERY_MAP, queryMap);
+                    // END SNIPPET: QueryMapExample 
                     inMessage.setBody(null);                
                 }
             



Mime
View raw message