Lars, thank you for fast respond!

Could you please give an example of such configuration with variables.

Thank you.

Pavlo.



lhe wrote:
> 
> Pavlo,
> 
> as far as I know this is only possible when you use the static
> configuration for setting up servicemix. If you want to deploy
> to servicemix via the hotdeploy folder, then this will not work.
> (at least I do not know how to do it)
> 
> Regards,
> Lars
> 
> 
> 
> 
> Pavlo Fenoga schrieb:
>> Hello!
>>
>> Is it possible to avoid using real values of component properties in
>> xbean.xml files?
>> Instead I would like to use e.g. environment variables or some other
>> properties that can be resolved in runtime.
>> E.g. 
>>   <http:endpoint service="tut:httpSender"
>>                  endpoint="soapSender"
>>                  role="provider" 
>>                  locationURI="$WS_URL"
>>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
>>                  soap="false" />             
>>
>> $WS_URL – will be replaced by real location URI of web serice
>>
>>   <file:sender service="tut:file" 
>>              endpoint="sender"
>>              directory="$OUT_DIR" />
>>
>> $OUT_DIR – will be replaced by the real directory path.
>>
>> Thank you
>>
>>   
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-use-envir.-variables-in-xbean.xml-tp15454843s12049p15455622.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to