On Thu, Sep 13, 2012 at 10:32 AM, White_Sox <rui.ab...@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: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to