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.


<camel:camelContext id="camelContext">
                <camel:route>
                        <camel:from uri="direct:start" />
                        <camel:bean ref="srcText" method="sayTest"/>
                        <camel:to uri="jms:queue:order" />
                </camel:route>
                <camel:route>
                        <camel:from uri="jms:queue:order" />
                        <camel:pipeline>
                                <camel:transform>
                                        <camel:simple>Hello ${body} how are 
you?</camel:simple>
                                </camel:transform>
                                <camel:to 
uri="file:/tmp/data/outbox?fileName=data.txt" />
                        </camel:pipeline>
                </camel:route>


thank

--
View this message in context: 
http://camel.465427.n5.nabble.com/Simple-route-with-JMS-queue-is-not-working-tp4411810p4413428.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to