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 951F1D67B for ; Wed, 1 Aug 2012 12:56:49 +0000 (UTC) Received: (qmail 35958 invoked by uid 500); 1 Aug 2012 12:56:49 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 35922 invoked by uid 500); 1 Aug 2012 12:56:49 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 8776 invoked by uid 99); 1 Aug 2012 11:18:02 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of karthik2333@gmail.com) Date: Wed, 1 Aug 2012 04:17:35 -0700 (PDT) From: cgsk To: users@camel.apache.org Message-ID: <1343819855729-5716660.post@n5.nabble.com> Subject: DSL trim on body of type string 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 There, I need to do trim() on the body of type String in the DSL. Is there any staright way out in camel by using transform/convertor/regex? I dont prefer writing something some processor or custom convertor. Apologies if it sounds stupid. Thanks, CGSK -- View this message in context: http://camel.465427.n5.nabble.com/DSL-trim-on-body-of-type-string-tp5716660.html Sent from the Camel - Users mailing list archive at Nabble.com.