From 2f74fa192059acf7a9f0f570a0eca4eb9df669aa Mon Sep 17 00:00:00 2001 From: Emmanuel Hugonnet Date: Thu, 19 Aug 2021 18:50:01 +0200 Subject: [PATCH] [ARTEMIS-3431]: PrintData is missing a retro-compatible method. * Adding public static void printData(File bindingsDirectory, File messagesDirectory, File pagingDirectory, PrintStream out, boolean secret) throws Exception Issue: https://issues.apache.org/jira/browse/ARTEMIS-3431 --- .../apache/activemq/artemis/cli/commands/tools/PrintData.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/PrintData.java b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/PrintData.java index 25df90a442..5c0c3fde38 100644 --- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/PrintData.java +++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/PrintData.java @@ -124,6 +124,10 @@ public class PrintData extends DBOption { printData(bindingsDirectory, messagesDirectory, pagingDirectory, System.out, secret, false); } + public static void printData(File bindingsDirectory, File messagesDirectory, File pagingDirectory, PrintStream out, boolean secret) throws Exception { + printData(bindingsDirectory, messagesDirectory, pagingDirectory, out, secret, false); + } + public static void printData(File bindingsDirectory, File messagesDirectory, File pagingDirectory, PrintStream out, boolean safe, boolean reclaimed) throws Exception { // printing the banner and version Artemis.printBanner(out);