Quick question, I want to use a property in a properties file to flip between
a true endpoint SIB and a stub version of the endpoint where I return
preconfigured responses.  Both features work, but when I try to use a
property from spring to flip the implementor, it doesn't work.

Any ideas, is this a bean context loading lifecycle issue?

  <context:property-placeholder
location="classpath*:/enterprise.properties"/>

  <alias name="fooService${fooService.sib?:ApiStub}"
alias="fooServiceEndpoint"/>

        <jaxws:endpoint 
                id="jaxws.FooService" 
                endpointName="s:FooServiceEndpointServicePort" 
                serviceName="s:FooServiceEndpointService" 
                implementor="#fooServiceEndpoint" 
                implementorClass="com.foo.FooService" 
                address="/FooService"
                xmlns:s="http://foo.com"; />

Thanks...jay
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Flip-the-implementor-via-spring-properties-tp3343096p3343096.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to