新手区最新随笔(rss) RSS

Spring Integration 中文手册 - GOOD

     摘要: Spring Integration 中文手册 (1) Spring Integration 中文手册 (2)  阅读全文

2019-10-11 10:28 作者: paulwong【评论:0】【阅读:14】 

LINUX配置DNS

vi /etc/resolv.conf

nameserver 8.8.8.8

2019-10-10 10:55 作者: paulwong【评论:0】【阅读:12】 

在SPRING INTEGRATION中手动开始和停止JMS LISTENER

     摘要: 如果要对JMS BROKER生产和消费MESSAGE,一种方式是用JmsTemplate发送和消费消息,另一种方式是SPRING INTEGRATION。SPRING INTEGRATION是实现了EIP模式的一种框架,即使用CHANNEL和JMS-INBOUND-ADAPTER、JMS-OUTBOUND-ADAPTER,完全脱离了JmsTemplate的API。如果需要实现这种场景:从BROKE...  阅读全文

2019-10-09 17:16 作者: paulwong【评论:0】【阅读:9】 

CountDownLatch、CyclicBarrier和Semaphore

     摘要: CountDownLatch、CyclicBarrier和Semaphore这三个并发辅助类,可以在线程中呼叫,使得线程暂停等,但各有不同。 CountDownLatch 1、初始化,并传入计数器 2、向不同的线程传入CountDownLatch实例 3、如果在某一线程中呼叫await(),则此线程被挂起,直到计数器为0,才往下执行 4、如果在某一线程中呼叫coun...  阅读全文

2019-09-24 10:18 作者: paulwong【评论:0】【阅读:29】 

使用 Jenkins 部署 Spring Boot

https://mp.weixin.qq.com/s?__biz=MzI4NDY5Mjc1Mg==&mid=2247489278&idx=2&sn=a48342d706bfd1651e277e1c24e81e3e&chksm=ebf6ce81dc81479764d1e6ff7b207257a78d52bed5ef8c2f16c76f70660d1da9609167ed7bbb&mpshare=1&scene=1&srcid=&sharer_sharetime=1568861026830&sharer_shareid=24856bf403968a883e437b859be0a9b5&pass_ticket=qB9yWQbj%2FGo7PDZNogjBwishDCx5Suu%2BvBWnS1TpKmY%3D#rd

2019-09-19 17:44 作者: paulwong【评论:0】【阅读:23】 

CI/CD 资源

Continuous delivery tool landscape
http://www.jamesbowman.me/post/continuous-delivery-tool-landscape/

2019-09-18 17:08 作者: paulwong【评论:0】【阅读:21】 

ANSIBLE + SPRING BOOT

https://github.com/remyma/ansible-springboot

frontend+backend+jenkins+ansible
https://itnext.io/ci-cd-with-jenkins-and-ansible-f41ef2b33977

2019-09-18 16:09 作者: paulwong【评论:0】【阅读:22】 

Windows终端工具_MobaXterm

     摘要: 前言  有人喜欢小而美的工具,有人喜欢大集成工具。这里推荐一款增强型的Windows终端工具MobaXterm,它提供所有重要的远程网络工具(SSH,X11,RDP,VNC,FTP,MOSH ......)和Unix命令(bash,ls,cat,sed,grep,awk,rsync等)。使用MobaXterm工具,可以替代SSH客户端工具(xshell、putty、securecrt等)...  阅读全文

2019-09-11 13:19 作者: paulwong【评论:0】【阅读:33】 

nohup命令不输出OUTPUT到实体文件

https://stackoverflow.com/questions/10408816/how-do-i-use-the-nohup-command-without-getting-nohup-out

2019-09-06 10:15 作者: paulwong【评论:0】【阅读:31】 

MONGODB拓展操作

MongoTemplate使用Cursor处理大数量的数据
https://blog.csdn.net/ClementAD/article/details/55210973

Spring Data MongoDB系列之三:数据库批量操作
https://blog.csdn.net/sinat_24044957/article/details/80646292

Distinct in Spring Data MongoDB
https://stackoverflow.com/questions/19203724/distinct-in-spring-data-mongodb

MONGODB SQL语句
http://www.runoob.com/mongodb/mongodb-indexing.html


2019-09-03 15:52 作者: paulwong【评论:0】【阅读:34】 

MAVEN中SCOPE为SYSTEM的JAR包如何打包?

     摘要: https://stackoverflow.com/questions/2065928/maven-2-assembly-with-dependencies-jar-under-scope-system-not-included 在pom.xml中加入REPOSITRY: Code highlighting produced by Actipro CodeHighlighter (...  阅读全文

2019-08-27 17:32 作者: paulwong【评论:0】【阅读:63】 

淘宝千万级并发分布式架构的14次演进

     摘要: 一、概述 本文以淘宝作为例子,介绍从一百个并发到千万级并发情况下服务端的架构的演进过程,同时列举出每个演进阶段会遇到的相关技术,让大家对架构的演进有一个整体的认知,文章最后汇总了一些架构设计的原则。 二、基本概念 在介绍架构之前,为了避免部分读者对架构设计中的一些概念不了解,下面对几个最基础的概念进行介绍: 1)分布式 系统中的多个模块在不同服务器上部署,即可称为分布式系统,如Tomca...  阅读全文

2019-08-16 10:05 作者: paulwong【评论:0】【阅读:128】 

Guide to the Most Important JVM Parameters

https://www.baeldung.com/jvm-parametersa

Optimising Your Minecraft: Jvm Arguments
https://xealgaming.net/threads/optimising-your-minecraft-jvm-arguments.4758/

2019-08-01 16:55 作者: paulwong【评论:0】【阅读:33】 

JVM内存配置

     摘要: JVM内存主要分为两个部分,分别是PermanentSapce和HeapSpace。PermantSpace主要负责存放加载的Class类级对象如class本身,method,field等反射对象,一般不用配置。JVM的Heap区可以通过-X参数来设定。HeapSpace= {Old + NEW {= Eden , from, to } }当一个URL被访问时,内存申请过程如下:JVM会试图为相关...  阅读全文

2019-08-01 16:44 作者: paulwong【评论:0】【阅读:74】 

使用 Awaitility 测试异步代码

自动化工具 异步校验工具 awaitility 快速入门
https://testerhome.com/topics/7408


https://yanbin.blog/test-asyn-call-with-awaitility/

Introduction to Awaitlity
https://www.baeldung.com/awaitlity-testing




2019-08-01 10:06 作者: paulwong【评论:0】【阅读:46】 

Spring Batch JUnit test for multiple jobs

     摘要: https://stackoverflow.com/questions/34217101/spring-batch-junit-test-for-multiple-jobsCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->@Configurationpu...  阅读全文

2019-07-31 10:48 作者: paulwong【评论:0】【阅读:50】 

Keep SSH session alive

     摘要: sshd (the server) closes the connection if it doesn't hear anything from the client for a while. You can tell your client to send a sign-of-life signal to the server once in a while.The configuration ...  阅读全文

2019-07-30 13:46 作者: paulwong【评论:0】【阅读:34】 

publish over ssh 实现 Jenkins 远程部署

     摘要: Jenkins远程部署,一开始没有任何头绪,想了很多方案. 因为两台机器都是windows系统,所以想到publish over cifs, 但是这个网上资料太少,貌似只能内网使用。又想到了Jenkins 分布式构建,但是Jenkins构建的代码和产物最后自动拷贝到主节点。而远程机器其实是客户方的机器,所以这个分布式构建并不适用。最后还是选定publish over ssh来实现远程部署。&nbs...  阅读全文

2019-07-25 09:33 作者: paulwong【评论:0】【阅读:75】 

How do I clear my Jenkins/Hudson build history?

     摘要: 问题:I recently updated the configuration of one of my hudson builds. The build history is out of sync. Is there a way to clear my build history?Please and thank you回答1:If you click Manage Hudson / Relo...  阅读全文

2019-07-24 16:18 作者: paulwong【评论:0】【阅读:45】 

Springboot ActiveMQ jmsTemplate配置

     摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->@Configuration@DependsOn(value="cachingConnectionFactory")public class JmsTemplateConfigurat...  阅读全文

2019-07-24 11:40 作者: paulwong【评论:0】【阅读:156】 

Enterprise Integration Patterns

     摘要: Why Enterprise Integration Patterns? Enterprise integration is too complex to be solved with a simple 'cookbook' approach. Instead, patterns can provide guidance by documenting the kind of experience...  阅读全文

2019-07-18 14:11 作者: paulwong【评论:0】【阅读:52】 

SPRING BATCH & SPRING INTEGRATION TUTORIAL

     摘要: Spring JMS Integration Gateway Example 12 minute read A detailed step-by-step tutorial on how to connect to a JMS broker using a Spring Integration Gateway and Spring Boot. Spring JMS Artem...  阅读全文

2019-07-18 13:21 作者: paulwong【评论:0】【阅读:51】 

Spring Integration Java DSL

     摘要: This time I decided to play a little bit with Spring Integration Java DSL. Which has been merged directly into Spring Integration Core 5.0, which is smart and obvious move because:Everyone s...  阅读全文

2019-07-18 13:16 作者: paulwong【评论:0】【阅读:55】 

技 术 改 变 世 界

宣传语

网站分类

其他分类

Google站内搜索

 

24小时内最热随笔

统计信息

订阅

Blog客户端API

推荐客户端

博客排行榜[前100人]

友情链接