1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-08-29 15:43:50 +00:00

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

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);