spring
背包里的护身符
比较懒,不太爱写博客,不过通过别人的博客解决了很多问题,我会把我在网上找不到的问题解决方案写出来,反馈给大家
展开
-
spring中读取配置文件的参数
我自己的使用环境 spring版本:3.2.4.RELEASE 1,在项目的资源文件夹下建立配置文件config.properties,文件内容为: #oss ossimgCdnIp=thisistestparam 2,在spring的xml配置文件中添加配置。我的xml配置文件命名为sysBasex.xml原创 2017-03-14 17:18:51 · 1869 阅读 · 0 评论 -
spring集成activemq--监听多个消息队列
目前采用一个配置文件里,配置多个消息队列,如果有更好的方式,请指教 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schem原创 2017-03-15 10:06:43 · 4580 阅读 · 0 评论