Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 2018 invoked from network); 6 May 2009 04:47:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 May 2009 04:47:55 -0000 Received: (qmail 70101 invoked by uid 500); 6 May 2009 04:47:55 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 70070 invoked by uid 500); 6 May 2009 04:47:55 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 70059 invoked by uid 99); 6 May 2009 04:47:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 04:47:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of willem.jiang@gmail.com designates 209.85.198.243 as permitted sender) Received: from [209.85.198.243] (HELO rv-out-0708.google.com) (209.85.198.243) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 04:47:45 +0000 Received: by rv-out-0708.google.com with SMTP id l33so3900776rvb.56 for ; Tue, 05 May 2009 21:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=ct72k0mX61dm5bZDzzXLJHp3zqQM9Yx1tA0OqPfDuuQ=; b=wLQbO+7TFocN0KlUI/BqSjK4feCLRDOKNPckMqrMCpj85KPHME2doIiPizLSuy8Pm2 +Cdk4Cmn94xCaOUwDyKCG4xYfNIA6NhomlO/hF6Gwdi9pNCNGUBrFC0gXtAUuPOGbjFQ QFNU4zV615yoyFBoA+s4jBZZO94BiaecaYAZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=x+I+qHYwRHVN1hKsJ7WMjQClb5TMGgH8D2IFc/VmKGndz+A93xDOMqacM9wEwyKxKM QuqsGzT8Co7YGRnEwfNDD3jVyPgJPUqiUaCrePc3OxD8qNAPYcxAFIOjFYvkvfVwc4Nv 6ilzIKZV3nNr8efNYWv6qhxVarPwHP13CnSoo= Received: by 10.141.197.21 with SMTP id z21mr336286rvp.9.1241585244695; Tue, 05 May 2009 21:47:24 -0700 (PDT) Received: from ?192.168.0.131? ([222.131.246.19]) by mx.google.com with ESMTPS id b39sm165937rvf.11.2009.05.05.21.47.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 05 May 2009 21:47:23 -0700 (PDT) Message-ID: <4A01164D.7050201@gmail.com> Date: Wed, 06 May 2009 12:47:09 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: camel-cxf content-type response header References: <20090504170616.36cec9b2@rigi.itserve.ch> <49FFAC84.8090507@gmail.com> <20090505082703.6d8cdb7f@rigi.itserve.ch> <49FFFE72.90206@gmail.com> <20090505123717.60ad6b86@rigi.itserve.ch> <4A0060C0.1010903@gmail.com> In-Reply-To: <4A0060C0.1010903@gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Marc, After digging the code for a while , I find the camel-cxf of the camel-1.x branch doesn't copy the protocol headers into the camel message header, so you can't get the content-type from the camel-cxf consumer. Here is the JIRA[1] which traces for this issue. I will commit the quick fix for it in a min, and hope it can catch on the train of Camel 1.6.1. [1]https://issues.apache.org/activemq/browse/CAMEL-1586 Willem Willem Jiang wrote: > Hi Marc, > > It maybe a bug of camel-cxf component, I will look it tommorrow. > Please feel free to fill a JIRA[1] for it. > > [1] https://issues.apache.org/activemq/browse/CAMEL > > Willem >