camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lekkie <lekkie.ay...@gmail.com>
Subject Re: How can I access Servicemix Environment viriables?
Date Sat, 13 Feb 2010 15:24:04 GMT

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.aydot@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.


Mime
View raw message