随笔分类 - ActiveMQ
摘要:1.先导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-activemq</artifactId> <version>2.5.4</version> </depe
阅读全文
摘要:JMS message一般有三大部分组成。 1.消息头 1) JMSDestination 发送到哪里 2)JMSDeliveryMode 是否持久化 3)JMSExpiration 过期时间,默认为永不过期 4)JMSPriority 优先级,范围0-9。0-4为普通,5-9为加急。默认为4. 5
阅读全文
摘要:导入依赖 <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-all</artifactId> <version>5.9.0</version> </dependency> 第一种:队列(queue) 1.
阅读全文
摘要:1.先去官网下载 https://activemq.apache.org/components/classic/download/ 2.把下载的包放入服务器中 并利用 tar -zxvf apache-activemq-5.17.1-bin.tar.gz压缩 3.进入bin目录 输入 ./activ
阅读全文