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 6CA6517997 for ; Sat, 12 Sep 2015 21:56:01 +0000 (UTC) Received: (qmail 49806 invoked by uid 500); 12 Sep 2015 21:55:56 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 49748 invoked by uid 500); 12 Sep 2015 21:55: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 49734 invoked by uid 99); 12 Sep 2015 21:55:55 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2015 21:55:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3DBB7E8012 for ; Sat, 12 Sep 2015 21:55:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.212 X-Spam-Level: ***** X-Spam-Status: No, score=5.212 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 49Dn9wY_qJlP for ; Sat, 12 Sep 2015 21:55:44 +0000 (UTC) Received: from mail-io0-f170.google.com (mail-io0-f170.google.com [209.85.223.170]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 3F78742B46 for ; Sat, 12 Sep 2015 21:55:44 +0000 (UTC) Received: by iofb144 with SMTP id b144so132394274iof.1 for ; Sat, 12 Sep 2015 14:55:44 -0700 (PDT) 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; bh=b+jx/C6XbyrpGxM52fM4Fjp0aztAcwtrRsegM9ybMVo=; b=h7UNfnXggh12xBXaUg1iflhod3eecl2XhPLrkQL3JUYGA2eDow+uXbO2Fz1j1FZoZ1 +Ius+JKf5BZ9CTUVstxQfcHDnzxKIByWQnEG5BGRdmswDEQXXXTZgCCSoJlWN+AmSILg tJhbQ8B71NJitGnEACpllf4VrsaTOS8LLgmyRIBwnKlWlTNzn2VluihoRTR6nlRi4JLu 4KrpIrYlkzpxlfsx+2wxHl3u2oLyD6c08JTu/Xqkf1Jj2uFX3+NyoytoQhqvqahQXl4w ynnopmQFZ0svuwLm07nd1ehfJozUe8/kcFfWfj86y106n/R/1MlGH6e53w+zo2XoiL2y 00bA== X-Received: by 10.107.13.196 with SMTP id 187mr3293877ion.58.1442094943861; Sat, 12 Sep 2015 14:55:43 -0700 (PDT) Received: from Andrews-MacBook-Pro.local (205-178-77-85.c3-0.nwb-ubr1.chi-nwb.il.cable.rcn.com. [205.178.77.85]) by smtp.gmail.com with ESMTPSA id d3sm2534304igx.5.2015.09.12.14.55.42 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 12 Sep 2015 14:55:42 -0700 (PDT) Date: Sat, 12 Sep 2015 16:55:42 -0500 From: Andrew Block To: users@camel.apache.org, horyna Message-ID: In-Reply-To: References: <1442067457773-5771461.post@n5.nabble.com> Subject: Re: How to set body part with using of XML DSL X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="55f49f5e_66334873_ae8" --55f49f5e_66334873_ae8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Just realized that the =24 were incorrectly placed within the simple tag.= It should read =24=7Bbody.context.requestId=7D =3D =24=7Bproperty.reques= tId=7D.=C2=A0 --=C2=A0 Andrew Block On September 12, 2015 at 1:58:28 PM, Andrew Block (andy.block=40gmail.com= ) wrote: You can you the simple language to set the body within a camel message us= ing the setBody tag. An example of this for your scenario would be as fol= lows =C2=A0 =7B=24body.context.requestId=7D =3D =7B=24property.requestId=7D=C2=A0 It is my assumption that your code sample was a snippet that is part a la= rger code sample since there is a trailing tag that I did not acc= ount for. Thanks, Andy --=C2=A0 Andrew Block On September 12, 2015 at 9:17:48 AM, horyna (phofficial=40centrum.cz) wro= te: Hi, need set part of body - code below. Pls. how to do it=3F =46irst = element is not alowed after . Second the code below dont work :) thx. =7B=24body.context.requestId=7D =3D =7B=24property.requestId=7D -- View this message in context: http://camel.465427.n5.nabble.com/How-to-se= t-body-part-with-using-of-XML-DSL-tp5771461.html Sent from the Camel - Users mailing list archive at Nabble.com. --55f49f5e_66334873_ae8--