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 71E8010583 for ; Thu, 18 Jul 2013 21:37:52 +0000 (UTC) Received: (qmail 42313 invoked by uid 500); 18 Jul 2013 21:37:52 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 42278 invoked by uid 500); 18 Jul 2013 21:37:52 -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 42270 invoked by uid 99); 18 Jul 2013 21:37:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 21:37:51 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.240.130.133] (HELO mail-gw29.credit-suisse.com) (198.240.130.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 21:37:48 +0000 Received: by mail-gw29.credit-suisse.com; Thu, 18 Jul 2013 21:37:19 GMT Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: Hello World? Maybe not :) Date: Thu, 18 Jul 2013 17:37:12 -0400 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Hello World? Maybe not :) Thread-Index: Ac6D47q+hBy+arVQSFWP/StBh0O0GQAGqzNQ References: From: "Gershaw, Geoffrey" To: X-OriginalArrivalTime: 18 Jul 2013 21:37:13.0490 (UTC) FILETIME=[F7568F20:01CE83FE] X-Virus-Checked: Checked by ClamAV on apache.org I'm running this in a standalone java app using Spring. Its camel 2.11. I = was under the impression from the various samples that I have seen that the= below route should start and print Hello World without publishing a messag= e to this route. Like a main class in java. Am I wrong? I am using the tim= er component right now to do the same job. Right now, there is no error. It just keeps running, but Hello World isn't = printed. Thanks > > > > > loggingLevel=3D"INFO"/> > > > Geoffrey A Gershaw Credit eTrading Development +1 919 994 6412 (*102 6412) -----Original Message----- From: Raul Kripalani [mailto:raul@evosent.com]=20 Sent: Thursday, July 18, 2013 2:21 PM To: users@camel.apache.org Subject: Re: Hello World? Maybe not :) Hey Geoffrey, A stacktrace would help us help you ;-) Where and how are you deploying this route? Apache ServiceMix? Tomcat, JBoss, etc.? And is there another Camel route or a unit test publishing to the direct endpoint? Bear in mind that a direct consumer doesn't listen on an external interface/protocol. It's rather intended for in-memory, internal Camel-to-Camel invocations. Thanks, *Ra=FAl Kripalani* Apache Camel PMC Member & Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Thu, Jul 18, 2013 at 6:40 PM, Gershaw, Geoffrey < geoffrey.gershaw@credit-suisse.com> wrote: > Hi All, > > > > I have the simplest problem that apparently I can't figure out. I've > never used direct:start as an endpoint before and I can't seem to get it > to work the way I would expect it to. > > > > My config is below . I would like the route to start and print hello > world. Seems easy. What am I overlooking? > > > > Thanks for your help > > > > > > > xmlns=3D"http://www.springframework.org/schema/beans" > > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > > > xmlns:context=3D"http://www.springframework.org/schema/context" > > xmlns:util=3D"http://www.springframework.org/schema/util" > > xmlns:camel=3D"http://camel.apache.org/schema/spring" > > > xsi:noNamespaceSchemaLocation=3D"http://camel.apache.org/schema/spring/ca= m > el-spring.xsd" > > xsi:schemaLocation=3D" > > > http://www.springframework.org/schema/beans > > > http://www.springframework.org/schema/beans/spring-beans.xsd > > > http://www.springframework.org/schema/context > > > http://www.springframework.org/schema/context/spring-context-3.0.xsd > > > http://www.springframework.org/schema/util > > > http://www.springframework.org/schema/util/spring-util-3.0.xsd > > > http://camel.apache.org/schema/spring > > > http://camel.apache.org/schema/spring/camel-spring.xsd > > "> > > > > > > > > > contextPath=3D"com.prasad.sample"/> > > > > > > > > > > loggingLevel=3D"INFO"/> > > > > > > > > > > > > > > > > Geoffrey A Gershaw > > CREDIT SUISSE > > Information Technology | Credit eTrading Development, KFVB 525 > > 7033 Louis Stephens Drive | 27560 Research Triangle Park | United States > > Phone +1 919 994 6412 > > geoffrey.gershaw@credit-suisse.com | www.credit-suisse.com > > > > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > Please access the attached hyperlink for an important electronic > communications disclaimer: > http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=20 Please access the attached hyperlink for an important electronic communicat= ions disclaimer:=20 http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=20