Class RecoverMessages
java.lang.Object
org.apache.activemq.artemis.cli.commands.ActionAbstract
org.apache.activemq.artemis.cli.commands.Configurable
org.apache.activemq.artemis.cli.commands.tools.DataAbstract
org.apache.activemq.artemis.cli.commands.tools.LockAbstract
org.apache.activemq.artemis.cli.commands.tools.OptionalLocking
org.apache.activemq.artemis.cli.commands.tools.DBOption
org.apache.activemq.artemis.cli.commands.tools.RecoverMessages
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.cli.commands.tools.DBOption
config, executor, executorFactory, pagingmanager, scheduledExecutorService, storageManagerFields inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
binding, journal, largeMessges, pagingFields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ActionContext context) static voidrecover(ActionContext context, Configuration configuration, String journallocation, File journalOutput, File largeMessage, boolean reclaimed) Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.DBOption
cleanup, done, getJdbcBindings, getJdbcClassName, getJdbcLargeMessages, getJdbcMessages, getJdbcNodeManager, getJdbcPageStore, getJdbcPassword, getJdbcURL, getJdbcUser, getOutput, getParameterConfiguration, initializeJournal, isJDBC, setJdbcBindings, setJdbcClassName, setJdbcLargeMessages, setJdbcMessages, setJdbcNodeManager, setJdbcPageStore, setJdbcPassword, setJdbcURL, setJdbcUser, setOutputMethods inherited from class org.apache.activemq.artemis.cli.commands.tools.OptionalLocking
isIgnoreLock, lockCLI, setIgnoreLockMethods inherited from class org.apache.activemq.artemis.cli.commands.tools.LockAbstract
unlockMethods inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
getBinding, getJournal, getLargeMessages, getPagingMethods inherited from class org.apache.activemq.artemis.cli.commands.Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, readConfiguration, treatErrorMethods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
Constructor Details
-
RecoverMessages
public RecoverMessages()
-
-
Method Details
-
execute
-
recover
public static void recover(ActionContext context, Configuration configuration, String journallocation, File journalOutput, File largeMessage, boolean reclaimed) throws Exception - Throws:
Exception
-