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 2BE3E1135C for ; Sat, 14 Jun 2014 07:04:58 +0000 (UTC) Received: (qmail 45142 invoked by uid 500); 14 Jun 2014 07:04:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 45094 invoked by uid 500); 14 Jun 2014 07:04: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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 38981 invoked by uid 99); 13 Jun 2014 13:28: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 cemmersb@gmail.com designates 209.85.212.174 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=KC/aNSIRZvPwRxd/a+QrBg6Xk+gB/TBeNwXx28tnWmw=; b=adu9+j8zhmJtvZpFQ6yu6FDQq1XwUeoUgf44jNtPUrIr+p+gdoOpt3RMTuD/eH/ctv j1l/VxJWl9V7bgEeD1QrpKEtH/AvkpWk7gyILWxxPCiyzdoatNInZH+6Sg/UkXR5vrOA MXfF/cNrHqL62zdcLvyvkz+OBF6gJjq7gPnkn0e1i1DvL4om6z2lSR9qZ1c8JgpHIZCj tssm1yIZyGXPLo51WcA4cHCmJdbKyk8cefeTrnCGc/P71a33RcbQ8LLCTEKayAXF4y6A sRIDA83a6cbMe9aP3sAtLWgORlhi+F6OKkgj7GZ1FGnfzNvT8rmDa3x2k1nfVktXA7RH uXbA== X-Received: by 10.194.240.129 with SMTP id wa1mr4462260wjc.11.1402666075103; Fri, 13 Jun 2014 06:27:55 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: Problem with ETL example From: Christoph Emmersberger In-Reply-To: <1402665458129-5752270.post@n5.nabble.com> Date: Fri, 13 Jun 2014 15:27:52 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <25818A23-D8F9-4F06-A2A2-A21FA62B0BD0@gmail.com> References: <1402651159393-5752256.post@n5.nabble.com> <1402654693348-5752259.post@n5.nabble.com> <005701cf86f2$488cd330$d9a67990$@de> <1402658115649-5752263.post@n5.nabble.com> <1402660545426-5752264.post@n5.nabble.com> <1402662590545-5752268.post@n5.nabble.com> <1402665458129-5752270.post@n5.nabble.com> To: users@camel.apache.org X-Mailer: Apple Mail (2.1878.2) X-Virus-Checked: Checked by ClamAV on apache.org You=92ll probably understand this a bit better when looking at the class = =93org.apache.camel.spring.Main". Best, Christoph On 13 Jun 2014, at 15:17, Licia wrote: > Thanks a lot ! It works now, I mean nothing get to be print on the = console. >=20 > But what I'm wondering is the following.=20 >=20 > I don't really understand how the Main class works. It just goes : >=20 > public class Main extends org.apache.camel.spring.Main { > public static void main(String... args) throws Exception { > new Main().run(args); > } > } >=20 > But it doesn't "launch" any method really. What is this run ? What is = it > doing ?=20 > Then I understand that the CustomerEntity.java describes the schema of = the > base and the PersonDocument uses JAXB to express what XML elements of = the > hiram.xml and james.xml correspond to a root, an element, an attribute = etc.=20 > I also get the fact that the thing that converts the PersonDocument = into > CustomerEntity is the CustomerTransformer.=20 >=20 > And I understant the "general meaning" of routes even if here I don't = really > understand the details.=20 >=20 > But what I really don't get is how all the instructions are executed. = In > what order, who asks them to, etc. >=20 >=20 >=20 > -- > View this message in context: = http://camel.465427.n5.nabble.com/Problem-with-ETL-example-tp5752256p57522= 70.html > Sent from the Camel - Users mailing list archive at Nabble.com.