Talk about artemis' ha Manager

order This paper mainly studies the HAManager of artemis HAManager activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/ha/HAManager.java public interface HAManager extends ActiveMQComponent { /** * return the current backup servers * * @return the backups */ Map<String, ...

Posted by datamodeler on Sat, 15 Feb 2020 09:19:02 -0800

AES encryption algorithm implemented in Java

AES encryption and decryption tool class package com.yan.demo; import org.apache.commons.lang3.StringUtils; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import java.security ...

Posted by snap2000 on Fri, 14 Feb 2020 10:30:38 -0800

Talk about the FederatedQueue of artemis

order This paper mainly studies the FederatedQueue of artemis FederatedQueue activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/federation/queue/FederatedQueue.java public class FederatedQueue extends FederatedAbstract implements ActiveMQServerConsumerPlugin, Serializable { private static final Logg ...

Posted by sachavdk on Fri, 14 Feb 2020 09:32:43 -0800

java AES encryption and decryption

AES encryption and decryption tool class package com.yan.demo; import org.apache.commons.lang3.StringUtils; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import java.security.MessageDigest; /** * @ClassName AES * @D ...

Posted by kam_uoc on Fri, 14 Feb 2020 08:17:13 -0800

MasterSlave cluster deployment of ActiveMQ high availability solution (HA)

In the previous documents, we demonstrated how to use shared files and shared databases to realize the cluster of activemq. See also MasterSlave cluster deployment of ActiveMQ high availability solution (HA) (I) In this section, we demonstrate how to implement clustering through leveldb + zookeeper. O ...

Posted by gjdunga on Fri, 14 Feb 2020 05:31:00 -0800

Overview of mysql database and its basic operation 1

1, Introduction of database and related concepts Database: warehouse for storing data; 1.DB(DateBase) data base A collection of data organized according to a data model and placed in storage 2.DBMS(DateBase Management System) Database management system Service software for manipulating and managing da ...

Posted by kkeim on Fri, 14 Feb 2020 04:54:00 -0800

Spring cloud project integration [eureka+ribbon+zuul+hystrix+hystrix dashboard]

This article is not suitable for people who do not have the foundation of spring cloud. This article is a shelf that I sorted out after learning spring cloud. Mainly for self study Students who need source code are concerned about the following official account reply: xdxcloud Service Architecture ...

Posted by wiccan8888 on Fri, 14 Feb 2020 02:47:10 -0800

Shiro Simple Use

Shiro 1. Introduction Apache Shiro is a Java security (permissions) framework. Shiro can easily develop applications that are good enough not only for JavaSE environments, but also for JavaEE environments. Shiro can complete authentication, authorization, encryption, session management, Web integration, caching, and more. Download address: ht ...

Posted by jsim on Thu, 13 Feb 2020 21:10:28 -0800

Dubbo: Deep understanding of how Dubbo source implements service references

1. Preface Earlier, we talked about how services are exported to the registry.In fact, one thing Dubbo does is publish the URL of the service to the registry.Now let's talk about how the consumer subscribes to the service from the registry and makes remote calls. 2. Reference Service Time Series Diagram First, generally speaking the general int ...

Posted by Infinitus 8 on Wed, 12 Feb 2020 09:25:50 -0800

ActiveMQ in message middleware: spring boot integrates ActiveMQ

Less nonsense, more dry goods: integration Create an initialization project for springboot Slightly (this can be done) pom.xml is introduced as follows: Note: I use 5.15.11 here, so the imported package should also be the latest 5.15.11 <dependency> <groupId>org.sprin ...

Posted by miltonos on Wed, 12 Feb 2020 07:37:00 -0800