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 5A471D2F2 for ; Tue, 9 Oct 2012 21:43:57 +0000 (UTC) Received: (qmail 37146 invoked by uid 500); 9 Oct 2012 21:43:56 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 37107 invoked by uid 500); 9 Oct 2012 21:43:56 -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 37099 invoked by uid 99); 9 Oct 2012 21:43:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 21:43:56 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 21:43:51 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TLhaN-0006tL-4g for users@camel.apache.org; Tue, 09 Oct 2012 14:43:31 -0700 Date: Tue, 9 Oct 2012 14:43:31 -0700 (PDT) From: suralk To: users@camel.apache.org Message-ID: <1349819011137-5720817.post@n5.nabble.com> Subject: passing email messages to camel:seda endpoint causes error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I have a route that passes mail messages to a seda endpoint. However, when I try to consume this message from seda, I get an exception which says: org.apache.camel.RuntimeCamelException - Error populating the initial mail message attachments. this is how the two routes look like: from("imaps://imap.googlemail.com?XXXX") .to("seda:forward-message"); from("seda:forward-message") .to("file:src/dataout?fileName=t.txt"); I assume that seda does not support message attachments. What is the best way to get rid of this problem. I want to support both the cases: when the original mail contains attachments, and when the original mail does not contain attachments. /Sura -- View this message in context: http://camel.465427.n5.nabble.com/passing-email-messages-to-camel-seda-endpoint-causes-error-tp5720817.html Sent from the Camel - Users mailing list archive at Nabble.com.