On 8/31/07, André Szdzuy <[EMAIL PROTECTED]> wrote: > > Hi Bruce, > a properties file is not a solution in my case because I need the username > really dynamically at runtime, i.e. for every call to the web service I want > to be able to use a different signature certificate (my locationURI is also > dynamic and can point to any service). > > You also mentioned system properties. Do you mean I can put the user name in > the system properties and then it is evaluated by servicemix? What's the key > name then?
Yes, it will work with system properties and you can override the default behavior via some fields in the class. See the Javadoc for more info: http://www.springframework.org/docs/api/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.html Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache ActiveMQ - http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Apache Geronimo - http://geronimo.apache.org/ Castor - http://castor.org/
