Howdy,
I'm trying to use a properties file to be able to externalize the 'serviceUrl' property of my HessianProxyFactoryBean definitions. Seems fair engouh ... but it doesn't work for me ... I keep getting a error
from this bean definitionCode:no protocol: ${server.address}/OUCH/hessian/StatusUpdate
and a properties file that defines server.address ... I have been using the server.address in other (written by me) bean definitions for some other services that I can't use the HessianProxyFactoryBean for (e.g. very large file transfer) and that works fine.Code:<bean id="hessian.StatusUpdate" class="org.springframework.remoting.caucho.HessianProxyFactoryBean"> <property name="serviceUrl" value="${server.address}/OUCH/hessian/StatusUpdate" /> <property name="serviceInterface" value="nz.co.ouch.hessian.HessianClientInterface"/> </bean>
Anybody have any idea? ... is it possibly because bean FactoryBeans get handled differently?
Any help appreicated


Reply With Quote

