Basically that should work. What is the error you get?

Christian

Am 24.01.2012 13:50, schrieb Alexey:
Unfortunately, I need to do this automatically.

I need to configure it using the Spring xml
I tried to write like this:

...
<route>
        <from uri="activemq:PayrollOrder.Files.ToInspector.New" />
        <to uri="activemq:queue:PayrollOrder.Files.ToInspector.InProcess" />
        <choice>
                <when>
                <method method="inspectorAction" ref="processingPayrollOrder" />
                <from
uri=&quot;activemq:PayrollOrder.Files.ToInspector.InProcess&quot;
                &lt;to
uri=&quot;activemq:queue:PayrollOrder.Files.ToOperator.New&quot; />
...

but the result was a mistake :(

Thank you for your response, Christian


--
View this message in context: 
http://camel.465427.n5.nabble.com/Forward-message-tp5166528p5281573.html
Sent from the Camel Development mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to