public void isUp() throws IOException, TimeoutException, URISyntaxException { Connection connection = getConnectionFactory().newConnection(); // NOSONAR - closeResources() Channel channel = null; try { channel = createQueues(connection); } finally { closeResources(connection, channel); } }
public void isUp() throws IOException, TimeoutException, URISyntaxException { Connection connection = getConnectionFactory().newConnection(); // NOSONAR - closeResources() Channel channel = null; try { channel = createQueues(connection); } finally { closeResources(connection, channel); } }
channel = createQueues(connection);
channel = createQueues(connection);