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 3A103E25D for ; Sun, 3 Feb 2013 15:17:38 +0000 (UTC) Received: (qmail 84924 invoked by uid 500); 3 Feb 2013 15:17:37 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 84893 invoked by uid 500); 3 Feb 2013 15:17:36 -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 84853 invoked by uid 99); 3 Feb 2013 15:17:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2013 15:17:35 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=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 lehswe@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2013 15:17:30 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U21Jd-0001dE-IB for users@camel.apache.org; Sun, 03 Feb 2013 07:17:09 -0800 Date: Sun, 3 Feb 2013 07:17:09 -0800 (PST) From: helander To: users@camel.apache.org Message-ID: <1359904629556-5726853.post@n5.nabble.com> Subject: "Dynamic" data format in route MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have a route that creates Soap requests/responses using camel-soap. The route should handle arbitrary soap services which means that I can not define the "dataFormat" when the route is built. As of now, I create the "dataFormat" in a processor and put it into an exchange property. My idea was to be able to reference the "dataFormat" from the exchange in my "marshal()" and "unmarshal()" steps in the route, but I can not figure out the syntax to do that, can anyone help? If this is not possible, can do the marshal/unmarshal directly in a processor? If so, what is the syntax? from("....").processor(....).marshal(....).to("service endpoint").unmarshal(...); Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-data-format-in-route-tp5726853.html Sent from the Camel - Users mailing list archive at Nabble.com.