L.S., Yes. If you have something like PropertyPlaceHolderConfigurer or the likes in your Spring XML file, it will fall back into the system properties when it doesn't find a value in the specified properties file, so that should make these properties available for resolution.
Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ On 13 February 2010 16:24, lekkie <lekkie.ay...@gmail.com> wrote: > > Thanks for your response. > > Just one more question. > > Will the line below resolve to the intended values? > > 1) <from uri="${request-queue}"/> > 2) <property name="locations"> > <list> > <value>${karaf.home}/data/conf/mysettings.properties</value> > </list> > </property> > > > Sample 1 should get the value of request-queue from a properties file. > Sample 1 is the beginning of a camel route > > Sample 2 should read the values in the properties file > (${karaf.home}/data/conf/mysettings.properties). > > regards? > > > > Gert Vanthienen wrote: >> >> L.S., >> >> This information is available as a Java System property: >> - for ServiceMIx 3.2.x/3.3.x/4.0, the system property is called >> servicemix.home >> - for later versions of Servicemix (based on Felix Karaf), the >> property name to use id karaf.base >> >> Regards, >> >> Gert Vanthienen >> ------------------------ >> Open Source SOA: http://fusesource.com >> Blog: http://gertvanthienen.blogspot.com/ >> >> >> >> On 13 February 2010 13:27, lekkie <lekkie.ay...@gmail.com> wrote: >>> >>> Not sure if SMX has somethin like this, but I'd like to be able to access >>> the >>> root folder (hard drive path e.g. c:\\mysmxdirectory) in which SMX is >>> deploy. >>> >>> IS there an environment var for this? >>> >>> How can u access/use it in a camel application? >>> >>> rgds. >>> -- >>> View this message in context: >>> http://old.nabble.com/How-can-I-access-Servicemix-Environment-viriables--tp27574690p27574690.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >>> >>> >> >> >> ----- >> --- >> Gert Vanthienen >> http://gertvanthienen.blogspot.com >> > > -- > View this message in context: > http://old.nabble.com/How-can-I-access-Servicemix-Environment-viriables--tp27574690p27575886.html > Sent from the Camel - Users mailing list archive at Nabble.com. > >