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 DBOption
config, executor, executorFactory, pagingmanager, scheduledExecutorService, storageManagerFields inherited from class DataAbstract
binding, journal, largeMessges, pagingFields inherited from class 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 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 OptionalLocking
isIgnoreLock, lockCLI, setIgnoreLockMethods inherited from class LockAbstract
unlockMethods inherited from class DataAbstract
getBinding, getJournal, getLargeMessages, getPagingMethods inherited from class Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, readConfiguration, treatErrorMethods inherited from class 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
-