Hi Bertrand, Two things: - you can use http://0.0.0.0:8193/MonService/ as locationURI : it allows SMX to listen on all server interface - I have written a wiki explaining how externalize properties using a Spring placeholder : http://servicemix.apache.org/4-beginner-outsource-su-configuration-in-a-properties-file.html
Regards JB -- Jean-Baptiste Onofré [email protected] BuildProcess/AutoDeploy Project Leader http://buildprocess.sourceforge.net On Thu 18/12/08 14:04, bgoetzmann [email protected] wrote: > > Hello, > > With ServiceMix 3.3, I defined a provider endpoint for the > servicemix-http component; so I used a xbean descriptor in which I set the attribute > locationURI as this: > > locationURI="http://localhost:8193/MonService/" > Of course, the xbean.xml is packaged in a SU and this SU in a SA. > > In fact I would not hard code the host part of the URI, that is > "localhost" in the example above. > I would like to have a way the fetch this host name from a > configuration file for example, or with the help of some bean that would be able to > change the host name before the endpoint is activated. > > I'm sure that it's common use case. > What are the different approaches for such case? > > > Cheers, > > Bertrand. > -- > View this message in context: http://www.nabble.com/Changing-locationURI-for-a-provider-HTTP- > endpoint-tp21072343p21072343.html Sent from the ServiceMix - User mailing list archive at Nabble.com. > > > >
