摘要: 安装VMTOOLS2种方式 yum命令安装 yum install -y open-vm-tools 挂载iso镜像安装 之前都是挂载iso然后找到文件进行安装的,但是没有做笔记,这里直接copy一下,原文连接:https://blog.csdn.net/qq648483997/article/de 阅读全文
posted @ 2020-10-14 17:42 天宇轩-王 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 最近在学MongoDB的是时候,发现如下: public interface CommentRepository extends MongoRepository<Comment,String > { Page<Comment> findByParentid(String parentid, Page 阅读全文
posted @ 2020-10-14 16:29 天宇轩-王 阅读(614) 评论(0) 推荐(1) 编辑
摘要: If the username or password contains a colon (:) or an at-sign (@) then it must be urlencoded 错误 原因连接mongoDB 的url 中 用户名 或密码出现了 @ 或 : 符号 url 中原本就带有 @ 和 阅读全文
posted @ 2020-10-14 15:47 天宇轩-王 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 消息持久化 消息持久化是保证消息不丢失的重要方式!!! ActiveMQ提供了以下三种的消息存储方式: (1) Memory 消息存储-基于内存的消息存储。 (2) 基于日志消息存储方式,KahaDB是ActiveMQ的默认日志存储方式,它提供了容量的提升和恢复 能力。 (3) 基于JDBC的消息存 阅读全文
posted @ 2020-10-14 15:08 天宇轩-王 阅读(347) 评论(0) 推荐(0) 编辑
摘要: JMS消息组成详解 整个JMS协议组成结构如下 结构 描述 JMS Provider 消息中间件/消息服务器 JMS Producer 消息生产者 JMS Consumer 消息消费者 JMS Message 消息(重要) JMS Message消息由三部分组成: 1)消息头 2)消息体 3)消息属 阅读全文
posted @ 2020-10-14 13:54 天宇轩-王 阅读(415) 评论(0) 推荐(0) 编辑
摘要: ActiveMq 1. 原生JMS API操作ActiveMQ PTP 模式(生产者) /** * 演示点对点模式 -- 消息生产者 */ public class PTP_Producer { public static void main(String[] args) throws JMSExc 阅读全文
posted @ 2020-10-14 11:25 天宇轩-王 阅读(128) 评论(0) 推荐(0) 编辑