Should just be turning off the connector not just the bean server.

This commit is contained in:
Timothy Bish 2015-02-20 10:15:02 -05:00
parent 2949e8dbf7
commit 4c272e3081
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ public class AmqpTestSupport {
brokerService.setAdvisorySupport(false);
brokerService.setDeleteAllMessagesOnStartup(deleteAllMessages);
brokerService.setUseJmx(true);
brokerService.getManagementContext().setCreateMBeanServer(false);
brokerService.getManagementContext().setCreateConnector(false);
SSLContext ctx = SSLContext.getInstance("TLS");
ctx.init(new KeyManager[0], new TrustManager[]{new DefaultTrustManager()}, new SecureRandom());