Solve the problem of JMSException: ClassNotFoundException when consuming ActiveMQ queue

The requirement development was completed and tested. During the test, it was found that when the listener of activemq was consuming queue messages, the program caught an exception. See the log below.The exception information is obvious, the class com.cn.yft.ora.entity.TAccReviewRecord does not exist. Looking at this ClassNotFoundException exception, I thought that it had also appeared when […]

Basic usage guide of JMS message queue interface

Overview Introduction JMS (Java Message Service) is the Java Message Service application programming interface, which is an API for message-oriented middleware (MOM) in the Java platform, used to send messages between two applications or in a distributed system for asynchronous communication. The Java Message Service is a platform-independent API, and most MOM providers support JMS. […]

Spring Boot integrates TongLinkQ through JMS

1. maven dependency: Find the TLQ8\java\lib directory under the TongLinkQ installation root directory, and TongJMS.jar is the jar package that the project needs to use. 2. To establish a connection to obtain the main parameter values: Find TLQ8\etc in the TongLinkQ installation directory, open tlqjdni.conf, you can see the configuration Connection address: tmqiAddressList Connection Factory […]

[Solved] Exception in thread “main” javax.jms.JMSSecurityException: User name [system] or password is invalid

Today, when setting up activemq, in order to consider consumers and producers safely, you need to configure the account password of mq. I searched the Internet for a long time to find the correct answer, and now I will share it with you. I have to say that the current environment is really bad, and […]