Re: Simple route with JMS queue is not working

2011-05-21 Thread fradj zayen
If you want to fire a message automatically then used a timer, otherwise create a junit test that load camel context and send message to your start endpoint. to have more details in Camel Testing, please visit this link http://camel.apache.org/testing.html 2011/5/21 Tim > Direct routes do not au

Re: Simple route with JMS queue is not working

2011-05-20 Thread Tim
Direct routes do not automatically fire. I suggest that you use a timer if you want it to start automatically or a proxy to the direct On May 20, 2011 2:56 PM, "Kobe" wrote: > thank for your help. I begin the route with "direct:start" and add the bean > as the > second step as below. I still not g

Re: Simple route with JMS queue is not working

2011-05-20 Thread Kobe
thank for your help. I begin the route with "direct:start" and add the bean as the second step as below. I still not get any output; target file /tmp/data/outbox/data.txt is not created. how I can debug this problem? I notice with debugger that bean srcText::sayTest is not even called.

Re: Simple route with JMS queue is not working

2011-05-20 Thread fradj zayen
Hi Kobe, as it was said, "A bean: endpoint cannot be defined as the input to the route" try to use the direct component instead. 2011/5/20 tobeand > "A bean: endpoint cannot be defined as the input to the route; i.e. > you cannot consume from it,

Re: Simple route with JMS queue is not working

2011-05-20 Thread tobeand
"A bean: endpoint cannot be defined as the input to the route; i.e. you cannot consume from it, you can only route from some inbound message Endpoint to the bean endpoint as output." extracted from Bean Component (http://camel.apache.org/bean.html) On Fri, May 20, 2011 at 1:47 PM, Kobe wrote: >