I am trying to compose a route by connecting them via a jms queue.
The route does not work. messages emitted by the srcText are not
capture in the destination at all ("data.txt").

can you tell if thre is a mistake in this? I use Camel 2.7.1.


<camel:camelContext id="camelContext">
                <camel:route>
                        <camel:from uri="bean:srcText" />
                        <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>
        </camel:camelContext>


thanking you

Kobe


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

Reply via email to