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 2378A18BD1 for ; Thu, 14 May 2015 07:55:09 +0000 (UTC) Received: (qmail 61337 invoked by uid 500); 14 May 2015 07:55:08 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 61284 invoked by uid 500); 14 May 2015 07:55:08 -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 61273 invoked by uid 99); 14 May 2015 07:55:08 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2015 07:55:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0DCFF1A2BD3 for ; Thu, 14 May 2015 07:55:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id n3aICFNMrQHE for ; Thu, 14 May 2015 07:55:00 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 051F820D7C for ; Thu, 14 May 2015 07:55:00 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 14E9E1E3D570 for ; Thu, 14 May 2015 00:55:52 -0700 (PDT) Date: Thu, 14 May 2015 00:54:59 -0700 (MST) From: akoufoudakis To: users@camel.apache.org Message-ID: <1431590099319-5767095.post@n5.nabble.com> In-Reply-To: <1431547085972-5767080.post@n5.nabble.com> References: <1431547085972-5767080.post@n5.nabble.com> Subject: Re: how to get subject and body for mail from a properties file MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, Gordon! I would do it like this. {{some.processor.consumer.camel.email.subject}} text/plain;charset=UTF-8 {{some.processor.consumer.camel.email.body}} If you want to keep your property file visible in your whole spring context, then I would do a trick like: ...... For more information you can always go to http://camel.apache.org/properties.html -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-subject-and-body-for-mail-from-a-properties-file-tp5767080p5767095.html Sent from the Camel - Users mailing list archive at Nabble.com.