On Wed, Jun 29, 2011 at 5:22 PM, balajiu <[email protected]> wrote:
> Thank you Claus.
>
> I can add some java code that looks for lock file and delete in the
> configure method.
>
> But I want lock files to be deleted before the route started and needs to
> happens only one time until either camel route stopped or restarted.
>
> So with added java code would it serve above scenario?
>

The routes is *not* started before the configure method is completed.

The configure methods builds the routes.

So you can just call your custom code in the top of the configure method.


> Thank you,
> Balaji
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/pre-processing-before-camel-route-starts-tp4535133p4535467.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to