【郑州校区】重构客户注册功能 重构目标: 在 bos_fore 项目 CustomerAction 作为短信消息生产者,将消息发给 ActiveMQ, 建立单独 SMS 项目,作为短信消息消费者,从 ActiveMQ 获取发短信消息,调用第三方接口完成短信发送 。 1. bos_fore 项目客户注册,作为短信消息生产者配置 applicationContext.xml 配置 applicationContext-mq.xml 将 jmsTemplate 注入 CustomerAction 错误: Caused by: java.lang.ClassNotFoundException: org.apache.xbean.spring.context.v2.XBeanNamespaceHandler 错误: Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.springframework.jms.connection.CachingConnectionFactory] to required type [org.springframework.data.redis.connection.RedisConnectionFactory] for property 'connectionFactory': no matching editors or conversion strategy found 河南省郑州市 高新区长椿路11号大学科技园(西区)东门8号楼三层
|