Mule 3.3
使用Spring 上下文 3.1 模式
支持ignore-resource-not-found
属性
<xsd:complexType name="propertyPlaceholder">
<xsd:attribute name="location" type="xsd:string">...</xsd:attribute>
<xsd:attribute name="properties-ref" type="xsd:string">...</xsd:attribute>
<xsd:attribute name="file-encoding" type="xsd:string">...</xsd:attribute>
<xsd:attribute name="order" type="xsd:integer">...</xsd:attribute>
<xsd:attribute name="ignore-resource-not-found" type="xsd:boolean" default="false">
<xsd:annotation>
<xsd:documentation><![CDATA[Specifies if failure to find the property resource location should be ignored. Default is "false", meaning that if there is no file in the location specified an exception will be raised at runtime.]]>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ignore-unresolvable" type="xsd:boolean" default="false">... </xsd:attribute>
<xsd:attribute name="local-override" type="xsd:boolean" default="false">...</xsd:attribute>
</xsd:complexType>
所以,你做对了