Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A22D710442 for ; Sat, 8 Feb 2014 01:56:11 +0000 (UTC) Received: (qmail 76624 invoked by uid 500); 8 Feb 2014 01:56:10 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 76534 invoked by uid 500); 8 Feb 2014 01:56:10 -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 76526 invoked by uid 99); 8 Feb 2014 01:56:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Feb 2014 01:56:09 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.160.42 as permitted sender) Received: from [209.85.160.42] (HELO mail-pb0-f42.google.com) (209.85.160.42) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Feb 2014 01:56:04 +0000 Received: by mail-pb0-f42.google.com with SMTP id jt11so3993620pbb.29 for ; Fri, 07 Feb 2014 17:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:content-transfer-encoding:content-disposition; bh=lrR7Mq9nmnNrJW5TuO2GABAy2BkOTmkMNlUxsIuuIu0=; b=U4veQxB4KFU0DdQNpdZRiCw90Z91F2hHSXioGmJVF9D3xMf3C5gJ6tKwdBT5xBvO8/ ZAf0w0f2y1YkLwCSKUYmpSIGi0VJ5sTEx2ZCw+aLhN/Z0vH13dpq6j2g1VT2PU/lnd7q xdn7OoudHobpFSWOdag5Udw6b0JWbqikOa9u1HwiyeLLakuMA2wTMxrunKmsaBaGPNo2 Z9d0J/tPiZx6bZqRU5DE+hWH3ZMhPqmBEddkxJxjdBnZAnI50e6ibvj+iiUTa8Ky20lS PxwoKYRA8OFgYdXjAgnpJHmvogm3/AEwGjakoV6uqVNEsTfwJ9u+qSt9ZDp5WgM+15zS 5DMQ== X-Received: by 10.68.7.66 with SMTP id h2mr23182368pba.91.1391824544358; Fri, 07 Feb 2014 17:55:44 -0800 (PST) Received: from dhcp-16-106.nay.redhat.com ([203.114.244.88]) by mx.google.com with ESMTPSA id qw8sm18145684pbb.27.2014.02.07.17.55.29 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 17:55:37 -0800 (PST) Date: Sat, 8 Feb 2014 09:55:22 +0800 From: Willem Jiang To: users@camel.apache.org Message-ID: In-Reply-To: <1391808629849-5746952.post@n5.nabble.com> References: <1391808629849-5746952.post@n5.nabble.com> Subject: Re: CXF component attachment support for POJO not implemented as specified X-Mailer: Airmail (223) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org It makes sense, I just filled a JIRA=5B1=5D for it. =5B1=5Dhttps://issues.apache.org/jira/browse/CAMEL-7181 -- =20 Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (= English) http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang =20 Weibo: =E5=A7=9C=E5=AE=81willem On =46ebruary 8, 2014 at 9:35:48 AM, yirco (netswengineer=40yahoo.com) wr= ote: > =20 > Hi, > =20 > the CX=46 description states: > =20 > http://camel.apache.org/cxf.html=23CX=46-AttachmentSupport =20 > =20 > =20 > Attachment Support > =20 > =22/POJO Mode: > =20 > Attachments are propagated to Camel message's attachments =20 > since 2.1. So, it > is possible to retreive attachments by Camel Message API > =20 > DataHandler Message.getAttachment(String id)/=22 > =20 > However, /org.apache.camel.component.cxf.DefaultCxfBinding/ =20 > explicitly > excludes attachments propagation for POJOs. This makes processing =20 > legacy > SOAP with attachments more difficult. > =20 > I suggest easing the condition for POJOs that do not use MTOM: =20 > =20 > if data=46ormat is POJO and properties.mtom-enabled is false, =20 > propagate the > attachments into and from the camel Exchange. > =20 > Thank you. > =20 > =20 > =20 > =20 > -- > View this message in context: http://camel.465427.n5.nabble.com/CX=46-c= omponent-attachment-support-for-POJO-not-implemented-as-specified-tp57469= 52.html =20 > Sent from the Camel - Users mailing list archive at Nabble.com. =20 > =20