Properties Mule ESB 3未从属性文件获取端口值

Properties Mule ESB 3未从属性文件获取端口值,properties,mule,esb,Properties,Mule,Esb,在我的配置文件中,我有这个 <spring:beans> <context:property-placeholder location="classpath:sbg-esb.properties" /> </spring:beans> 配置文件中的端点如下所示 # Primary endpoint esb.endpoint=localhost esb.port=8081 <http:inbound-endpoint exchange-pa

在我的配置文件中,我有这个

<spring:beans>
  <context:property-placeholder
    location="classpath:sbg-esb.properties" />
</spring:beans>
配置文件中的端点如下所示

# Primary endpoint
esb.endpoint=localhost
esb.port=8081
<http:inbound-endpoint exchange-pattern="request-response" host="${esb.endpoint}" port="${esb.port}" doc:name="Incoming localhost"/>
如果我所做的只是在属性文件中使用esb.endpoint值,那么我不会得到任何错误。一旦我输入esb.port值,服务器就会如所述中断。整数值有问题吗?我是不是把财产档案搞砸了?我原以为使用“port”可能会把事情搞砸,但我将名称改为esb.esb.port-like-thing,结果得到了相同的错误。任何帮助都将不胜感激

更多信息

我从属性文件中取出了端口。我补充了以下内容

esb.wsdlLocation=http\://dev.example.com/services/Mobile/LinkDevice/soap_server.php?wsdl

服务器因相同的错误而中断。这似乎意味着任何错误都与端口值本身无关。没有正确读取第一个属性之后的属性。

请在属性文件中的
esb.port
值之后输入新行,然后重试。这听起来非常愚蠢。我没有提到我正在使用Anypoint Studio。显然,在更改属性文件后,您必须在Studio中刷新它,否则它不会读取最新版本。我很抱歉用这么愚蠢的事情来打扰人们。大傻瓜。
esb.wsdlLocation=http\://dev.example.com/services/Mobile/LinkDevice/soap_server.php?wsdl