cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r920621 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java
Date Tue, 09 Mar 2010 02:09:30 GMT
Author: dkulp
Date: Tue Mar  9 02:09:30 2010
New Revision: 920621

URL: http://svn.apache.org/viewvc?rev=920621&view=rev
Log:
Don't send a content-type on the one-way accept response

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java?rev=920621&r1=920620&r2=920621&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java
(original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/OneWayProcessorInterceptor.java
Tue Mar  9 02:09:30 2010
@@ -82,6 +82,7 @@ public class OneWayProcessorInterceptor 
             
             try {
                 Message partial = createMessage(message.getExchange());
+                partial.remove(Message.CONTENT_TYPE);
                 partial.setExchange(message.getExchange());
                 Conduit conduit = message.getExchange().getDestination()
                     .getBackChannel(message, null, null);



Mime
View raw message