摘要: location /wxapi { proxy_pass http://flower-wx-api; ## 指定HOST proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for... 阅读全文
posted @ 2018-07-22 14:39 技术宅home 阅读(2323) 评论(0) 推荐(0) 编辑
摘要: 验证配置是否正确: nginx -t 查看Nginx的版本号:nginx -V 启动Nginx:start nginx 快速停止或关闭Nginx:nginx -s stop 正常停止或关闭Nginx:nginx -s quit 配置文件修改重装载命令:nginx -s reload 阅读全文
posted @ 2018-07-22 11:52 技术宅home 阅读(2222) 评论(0) 推荐(0) 编辑
摘要: 一、Element Element,一套为开发者、设计师和产品经理准备的基于 Vue 2.0 的桌面端组件库 Element组件 http://element-cn.eleme.io/#/zh-CN/component/installation vue-element-admin http://pa 阅读全文
posted @ 2018-07-02 11:13 技术宅home 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1、使用Spring Cloud与Docker实战微服务 Spring Cloud核心组件的系统讲解 帮助大家快速上手,理解Spring Cloud各组件的用途 Docker入门 系统了解微服务 Spring Cloud核心组件的系统讲解 帮助大家快速上手,理解Spring Cloud各组件的用途 阅读全文
posted @ 2018-06-23 14:37 技术宅home 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 一、SpringCloud简介 SpringCloud是一个基于Spring Boot实现的云应用开发工具,它为基于JVM的云应用开发中的配置管理、服务发现、断路器、智能路由、微代理、控制总线、全局锁、决策竞选、分布式会话和集群状态管理等操作提供了一种简单的开发方式。 SpringCloud包含了多 阅读全文
posted @ 2018-05-23 13:35 技术宅home 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 1、ngrok地址 https://www.ngrok.cc http://sjshare.free.ngrok.cc/ 2、frp https://www.chuantou.org http://sxl.frp3.chuantou.org/ 阅读全文
posted @ 2018-05-05 14:52 技术宅home 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 一、下载ActiveMQ 版本:ActiveMQ 5.15.3 Release 地址:http://activemq.apache.org/download.html 二、运行ActiveMQ 1、解压apache-activemq-5.15.3-bin.zip 2、执行\bin\win64\act 阅读全文
posted @ 2018-04-27 16:06 技术宅home 阅读(5920) 评论(0) 推荐(0) 编辑
摘要: 一、配置spring-activemq.xml 二、生产者 三、消费者(监听模式) 四、测试方法 五、测试结果 六、测试小结 “我是队列消息002”由于异常,未接收成功。在重发2次都失败的情况下被发送到“死信队列”。其他4条信息都接收成功。 源码地址:https://gitee.com/tab_su 阅读全文
posted @ 2018-04-27 14:38 技术宅home 阅读(7106) 评论(0) 推荐(0) 编辑
摘要: 一、ACK机制简介 ACK (Acknowledgement),即确认字符,在数据通信中,接收站发给发送站的一种传输类控制字符。表示发来的数据已确认接收无误。 JMS API中约定了Client端可以使用四种ACK_MODE,在javax.jms.Session接口中: Client端指定了ACK_ 阅读全文
posted @ 2018-04-23 09:37 技术宅home 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: 一、重新传递消息的情况 ActiveMQ在接收消息的Client有以下几种操作的时候,需要重新传递消息: 1:Client用了transactions(事务),且在session中调用了rollback() 2:Client用了transactions,且在调用commit()之前关闭 3:Clie 阅读全文
posted @ 2018-04-23 09:13 技术宅home 阅读(6291) 评论(0) 推荐(0) 编辑