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 2D01DFD21 for ; Thu, 25 Apr 2013 13:09:06 +0000 (UTC) Received: (qmail 23950 invoked by uid 500); 25 Apr 2013 13:09:05 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 23782 invoked by uid 500); 25 Apr 2013 13:09:02 -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 12258 invoked by uid 99); 25 Apr 2013 13:07:39 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of alfernie@hotmail.com does not designate 216.139.236.26 as permitted sender) Date: Thu, 25 Apr 2013 06:07:11 -0700 (PDT) From: Al Ferguson To: users@camel.apache.org Message-ID: <1366895231517-5731543.post@n5.nabble.com> Subject: Expected behavior of two consecutive convertBodyTo? 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, I get an Address in a format (MyAddress, jaxb annotated) and I want to convert this address in another format (ExternalAddress, jaxb annotated) before invoking an Web service. Curiously the second conversion (MyAddress to ExternalAddress, for which I wrote a Converter) does not work. In fact my converter is not invoked. It seems Camel tries rather a conversion of the original XML to ExternalAddress. When I invoke myself the converter via the ConvertAddress process, it works. Is there something I do not understand in the behavior of convertBodyTo? Thanks, A. Fe -- View this message in context: http://camel.465427.n5.nabble.com/Expected-behavior-of-two-consecutive-convertBodyTo-tp5731543.html Sent from the Camel - Users mailing list archive at Nabble.com.