Hi everybody

I use camel 2.11.0 and java/groovy DSL

I explain my problem. I have a first route which runs a method bean, and my
second route should start after the end of the first route.

from("file://*Directory*?fileName=*myfile.txt*")
        .startupOrder(1)
        .to("bean://mymethods?method=*methode1*")

from("file://*Directory2*?fileName=*filenameout*")
        .startupOrder(2)
        .to("bean://mymethods?method=*methode2*")
        .to(folder)

I use startuporder but it doesn't work every time. My method 1 initialize a
variable from the bean, and I need to use this variable in the second
method. 

schema :
from directory1---->method1
                                       from
directory2------>method2------->to folder




-----
regards,
Bovas
--
View this message in context: 
http://camel.465427.n5.nabble.com/Probleme-with-startorder-tp5736034.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to