ActiveMQ
sipengfei_
这个作者很懒,什么都没留下…
展开
-
springboot集成activemq实现发布订阅
springboot集成activemq实现消息的发布和订阅,首先导包: <!-- activemq消息队列通讯--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-...原创 2019-10-24 14:05:25 · 644 阅读 · 0 评论 -
activemq 的 AMQ214013: Failed to decode packet和AMQ219032: Invalid type: 1错误
在用springboot整合activemq时,写了一个创建生产者的测试方法启动报错 这是因为导包错误,springboot在建项目时勾选activemq时导入的包不止一个。 在new ActiveMQConnectionFactory();时导错了包,导成了import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFacto...原创 2019-10-04 23:10:36 · 1418 阅读 · 0 评论 -
activemq不能传递javabean对象问题
在使用activemq传递javabean对象时,javabean对象需要实现序列化,但是已经实现了序列化javabean在接收端报错: Caused by: java.lang.ClassNotFoundException: Forbidden class com.spf.mq.entity.Person! This class is not trusted to be serialized a...原创 2019-10-07 02:47:01 · 334 阅读 · 0 评论