camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Apache Camel working directory
Date Thu, 13 Sep 2012 08:35:56 GMT
On Thu, Sep 13, 2012 at 10:32 AM, White_Sox <rui.abreu@gmail.com> wrote:
> Apache Camel starting directory seems to be the project's root path.Example:
>
> <route>
> <from uri="file:src/data?noop=true"/>
> <to uri="jms:incomingOrders"/>
> </route>
>
> The file endpoint will load order files from the relative src/data
> directory.
>
> Isn't the working directory supposed to be the one where the class being
> executed is located? Why is it the project's root path?
>

Its the starting path of the JVM, eg it does something a like
File dir = new File(".");


>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-working-directory-tp5719251.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message