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 B6514109E7 for ; Fri, 7 Jun 2013 07:03:25 +0000 (UTC) Received: (qmail 74016 invoked by uid 500); 7 Jun 2013 07:03:24 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 73987 invoked by uid 500); 7 Jun 2013 07:03:22 -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 73962 invoked by uid 99); 7 Jun 2013 07:03:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 07:03:21 +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; Fri, 07 Jun 2013 07:03:16 +0000 Received: by mail-ie0-f179.google.com with SMTP id c10so1148705ieb.10 for ; Fri, 07 Jun 2013 00:02:55 -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=+8XJr9YMPVMdOmQxpdIUb4KJ6ly5ayNya13358apXwk=; b=XoQFfo315FKiLXZ0yRiGYPvePvdtLixwbzoSvALTfum1+OjFZA6pwIEydhmrB6Czun dz8gUF/sPHyQlxkAb4VCOTUfhItP6qSIht5ydj3KOaxS+shTrX1zAV3ANR2d+wCCguEz f+KZnxcjOI82tcT+IJ8lYxZeUX2KwsKMFaJhZhOxU1fKqgjrb+70RjwRixYxXQwrfRNq Q8hgD39sQwZHvh/rimydcoPa8DI9Vm5/fSzpxHBl5i84Uz3pkbfhG/mirP4lafg2/rfS Kek5bHY/yzaqwi+JU+annXQndKZU7vsiAGrOi5UX/tb4qr14jJd5+09Iroov0XvmBm3S UxSg== X-Received: by 10.50.101.100 with SMTP id ff4mr767846igb.6.1370588575458; Fri, 07 Jun 2013 00:02:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.246.234 with HTTP; Fri, 7 Jun 2013 00:02:35 -0700 (PDT) In-Reply-To: <1370533354045-5733953.post@n5.nabble.com> References: <1370533354045-5733953.post@n5.nabble.com> From: Claus Ibsen Date: Fri, 7 Jun 2013 09:02:35 +0200 Message-ID: Subject: Re: unmarshal().xstream() not working To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org There is possible an error in the xstream unarmshal. You can try force loading the file into memory from file convertBodyTo(String.class) unmarshal On Thu, Jun 6, 2013 at 5:42 PM, mchimirev wrote: > I'm trying to unmarshal an xml file with camel. File is created with xStream > and simple model. > > When I change my route to: > > it reads the file and I get this output: > > > But when I try to unmarshal the xml > > > I get nothing, I don't even hit the breakpoint on this line: > > > > ---------------EXECUTABLE CODE---------------------- > > > > > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/unmarshal-xstream-not-working-tp5733953.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen