Hi,
I noticed you are use /etc/..., so I assume you are with SMX4, as SMX3
has no etc folder.
For SMX4 which basically is a OSGi container, you should use OSGi
way's properties place holder which underlying leverage ConfigAdmin
service, take a look at camel-osgi example (README.txt) shipped with
kit which demonstrate how to use it.
Freeman
On 2010-10-19, at 下午8:25, the_biswa wrote:
On the same line I wanted to know one thing.
I've defined some variables in <servicemixhome>/etc/
system.properties file
I want to dynamically load the locationURI value of
<http:consumer .../>
endpoint from the aforesaid system.properties.
below is my http:consumer definition
<http:consumer service="b:httpConsumerGateway"
endpoint="endpoint"
locationURI="${location}"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
targetService="b:srsGateway"/>
but while deploying the SA it is throwing MalformedURLException.
where am I
going wrong. What is the process to do that?
--
View this message in context:
http://servicemix.396122.n5.nabble.com/SMX3-env-variable-tp421193p3218956.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org