Merge pull request #7605 from gdicristofaro/8334-activeMQTrustedPackages

8334 avoid exception
This commit is contained in:
eugene7646 2022-04-18 17:23:18 -04:00 committed by GitHub
commit f417f5ac3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,7 @@ final class RemoteEventPublisher {
try {
this.localPublisher = localPublisher;
ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(info.getUserName(), info.getPassword(), info.getURI());
connectionFactory.setTrustAllPackages(true);
connection = connectionFactory.createConnection();
connection.start();
session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);