I succeed in defining parameters in property file but it does not work for
targetService.
Any idea?

<beans xmlns:f="http://servicemix.apache.org/file/1.0";
        xmlns:t="http://com.hp.temip.servicemix/myproduct/1.0";>

        <bean id="propertyConfigurer" 
         
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> 
          <property name="location"
value="classpath:access-module-proto1-su.properties" /> 
        </bean> 

  <f:poller service="product:polling" 
               endpoint="XMLFilePoller"
               file="${infile}"
               targetService="${targetService}"
               deleteFile="false"
               period="10000"
  />
              
</beans>


Thank
Christophe


xtof wrote:
> 
> Hello,
> 
> How defining variable targetService in a xbean.xml?
> 
> Indeed, I would like to define the targetService in an external
> configuration file. 
> 
> It could be also useful to define bc/se parameters in the same external
> configuration file.
> 
> The goal is to provide to multiple customers the same Service Assembly
> which could be configured according to customer environment without
> re-generating the SA on the customer platform.
> 
> Thank
> Christophe
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Defining-vairable-targetService-in-xbean.xml-tf4376085s12049.html#a12474766
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to