1、 建立一个新的工程
配置端口 9004
2、 配置 web.xml spring 监听器
3、 配置 applicationContext.xml
4、 在 cn.itcast.bos.mq 编写 SmsConsumer 类