"direct" endpoint is not going to generate messages for you. You have
to send a message to it from another route or java code.
It is used mainly to connect routes synchronously, take a look here
http://camel.apache.org/direct.html

Bilgin

On Mon, Nov 21, 2011 at 2:47 AM, newbiee <[email protected]> wrote:
> hi Bilgin:
>
>
> Thanks for the response. After replacing the line "<from
> uri="direct:start"/>" with "<from
> uri="timer://foo?fixedRate=true&period=60000"/> " the queues is created.
>
> I am curious why it didn't work with <from uri="direct:start"/>
> does this endpoint wait for something and then it triggers?
>
> Thanks
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/invoking-bean-from-CAMEL-route-tp5008230p5009322.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to