Hmmm 

Looks good enough to me. Is there any error message to share ? Which
version of Camel are you using ?
If you are willing to post your route I can drop it in my IDE tomorrow Š.


Regards
Andreas






Am 7/18/13(29) 7:12 PM schrieb "Gershaw, Geoffrey" unter
<[email protected]>:

>Hi Claus,
>
>Embarrassingly, I've used camel for quite some time. Always with
>quickfixj or jms with the spring config. I never had to kick things off.
>When I look at the examples, they look like mine.
>
>Shouldn't this be it?
>
><camel:route id="loginRoute" >
>>
>>                                     <camel:from uri="direct:start"/>
>>
>>                                    <camel:log message="Hello World"
>loggingLevel="INFO"/>
>>
>>                         </camel:route>
>
>Geoffrey A Gershaw
>Credit eTrading Development
>+1 919 994 6412 (*102 6412)
>
>-----Original Message-----
>From: Claus Ibsen [mailto:[email protected]]
>Sent: Thursday, July 18, 2013 1:06 PM
>To: [email protected]
>Subject: Re: Hello World? Maybe not :)
>
>Hi
>
>I suggest to take a look at this page
>http://camel.apache.org/walk-through-an-example.html
>
>The direct component is here
>http://camel.apache.org/direct
>
>And if you just want to print hello world once or every X period then
>you can use a timer in the route
>http://camel.apache.org/timer
>
>And I suggest to try the console example as its good for learning and
>trying out Camel
>http://camel.apache.org/console-example.html
>
>The example is included in the Camel distro so you can compile and run
>it, as documented from the link above.
>
>On Thu, Jul 18, 2013 at 6:40 PM, Gershaw, Geoffrey
><[email protected]> 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
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <beans default-init-method="init"
>>
>>             xmlns="http://www.springframework.org/schema/beans";
>>
>>             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>
>>
>> xmlns:context="http://www.springframework.org/schema/context";
>>
>>             xmlns:util="http://www.springframework.org/schema/util";
>>
>>             xmlns:camel="http://camel.apache.org/schema/spring";
>>
>>
>>
>xsi:noNamespaceSchemaLocation="http://camel.apache.org/schema/spring/cam
>> el-spring.xsd"
>>
>>             xsi:schemaLocation="
>>
>>
>> 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
>>
>>                                                 ">
>>
>>
>>
>>             <camelContext
>xmlns="http://camel.apache.org/schema/spring";
>>>
>>
>>                         <dataFormats>
>>
>>                         <jaxb id="myJaxb" prettyPrint="true"
>> contextPath="com.prasad.sample"/>
>>
>>                         </dataFormats>
>>
>>
>>
>>                         <camel:route id="loginRoute" >
>>
>>                                     <camel:from uri="direct:start"/>
>>
>>                                     <camel:log message="Hello World"
>> loggingLevel="INFO"/>
>>
>>                         </camel:route>
>>
>>             </camelContext>
>>
>>
>>
>> </beans>
>>
>>
>>
>>
>>
>>
>>
>> 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
>>
>> [email protected] | www.credit-suisse.com
>> <http://www.credit-suisse.com/>
>>
>>
>>
>>
>>
>>
>========================================================================
>=======
>> Please access the attached hyperlink for an important electronic
>communications disclaimer:
>> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>>
>========================================================================
>=======
>>
>
>
>
>-- 
>Claus Ibsen
>-----------------
>Red Hat, Inc.
>Email: [email protected]
>Twitter: davsclaus
>Blog: http://davsclaus.com
>Author of Camel in Action: http://www.manning.com/ibsen
>
>
>==========================================================================
>===== 
>Please access the attached hyperlink for an important electronic
>communications disclaimer:
>http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>==========================================================================
>===== 
>


Reply via email to