1 问题
spring boot集成activemq,pom.xml配置
生产者代码如下
在17行回报如下错误
因为我要使用activeMQSession.createBlobMessage()方法,请问如何Session转换为ActiveMQSession?
或者如何可以从JmsMessagingTemplate获取到BlobMessage?
这个方式不通:
因为 BlobMessage方法不是JMS规范方法,因此它们不会出现在javax.jms.Session接口中,需要转换为org.apache.activemq.ActiveMQSession才能使用BlobMessage特定功能。