jms.java.naming.provider.url不能从application.yaml获取价值
<bean id="yamlProperties" class="org.springframework.beans.factory.config.YamlPropertiesFactoryBean">
<property name="resources" value="classpath:application.yaml"/>
</bean>
<context:property-placeholder properties-ref="yamlProperties"/>
<bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
<property name="environment">
<props>
<prop key="java.naming.factory.initial">string-works</prop>
<prop key="java.naming.provider.url">${jms.java.naming.provider.url}</prop>
</props>
</property>
</bean>