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 DE00210E3C for ; Mon, 21 Oct 2013 12:58:01 +0000 (UTC) Received: (qmail 25824 invoked by uid 500); 21 Oct 2013 12:57:58 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 25725 invoked by uid 500); 21 Oct 2013 12:57:57 -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 25717 invoked by uid 99); 21 Oct 2013 12:57:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 12:57:56 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.223.179 as permitted sender) Received: from [209.85.223.179] (HELO mail-ie0-f179.google.com) (209.85.223.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 12:57:51 +0000 Received: by mail-ie0-f179.google.com with SMTP id aq17so11064220iec.24 for ; Mon, 21 Oct 2013 05:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=9d6qrcYM6nFouqSOSG63RwViIpJLEH8lOGTFUh1xs7E=; b=JzwnMqQ+XIMpqGldp7dQkvNqmCkkmCPvhsqfk4PT41ppSyED0MDS6seliUgXBVIf7q LckoJmT+jp8rmkBez5WFl2n0EVtiQcfiPpxsBasVRrxpH65Lv498HsxN+Kdqb5zfrpz6 9+HqdRoa4PfjoiPWAqVJhM6X6C82M7Q91vnXbx/C7Gvx3NzdtUdIUy6w9eORdRlWBWRZ LRIp/MagMCKC2hp0BhsSjGD12LuI+KPoul/3aVx3rk6UvCEeVV6/FeCtwuehcgwTxkgg O5YW9JxgWzab7T3s8OpUEzIm8aVNY6jLl70Eh1fGEy5/N9aN4mjQv2RWxiyfeJl++FCA 7xxg== X-Received: by 10.50.136.200 with SMTP id qc8mr9118536igb.52.1382360249650; Mon, 21 Oct 2013 05:57:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.168.38 with HTTP; Mon, 21 Oct 2013 05:57:09 -0700 (PDT) In-Reply-To: <1382354278013-5741965.post@n5.nabble.com> References: <1382354278013-5741965.post@n5.nabble.com> From: Claus Ibsen Date: Mon, 21 Oct 2013 14:57:09 +0200 Message-ID: Subject: Re: dynamic xslt file name To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Try with exchange.getIn().setHeader("xsltName", "xslt:"+xsltFileName); On Mon, Oct 21, 2013 at 1:17 PM, dkum003 wrote: > Hi, > > I want to use xslt file name dynamically in route and I have to change the > rest service end point url dynamically. > > I tried below: > > exchange.getContext().getProperties().put("xsltName", "xslt:"+xsltFileName); > > .recipientList(simple(header("xsltName"))) > > But it's not working. > > Please help me on this. > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/dynamic-xslt-file-name-tp5741965.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cibsen@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen