springboot activemq This class is not trusted to be serialized as ObjectMessage payload .

这个是springboot activeMq 的对象序列化白名单默认为false,需要在properties文件加上如下的一行配置:

spring.activemq.packages.trust-all=trues

对象正常实现序列化接口就好。

你可能感兴趣的:(springboot activemq This class is not trusted to be serialized as ObjectMessage payload .)