Hi,

In this tutorial, it defines the property file by 
<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
      <property name="locations">
         <value>classpath:/myService.properties</value>
      </property>
   </bean>

I wander what the classpath:/myService.properties mean. Does the classpath
mean the CLASSPATH environment variable? 


Jean-Baptiste Onofré wrote:
> 
> Hi,
> 
> the best way is to use a properties file to be able to change some xbean 
> properties "outside" the SU.
> 
> You should take a look on this wiki page:
> http://servicemix.apache.org/4-beginner-outsource-su-configuration-in-a-properties-file.html
> 
> Regards
> JB
> 
> youhaodeyi wrote:
>> I defined a service url in xbean.xml which will be packaged into a SU. If
>> the
>> url is changed, I have to re-package the SU. How can I set the url in
>> another place like a property file?
>> 
>> thanks.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-can-I-define-a-service-url-in-a-property-file--tp26019814p26176761.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to