Class XmlDataExporter
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.xml.XmlDataExporter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProxy to handle indenting the XML sincejavax.xml.stream.XMLStreamWriterdoesn't support that. -
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) voidprocess(OutputStream out) voidprocess(OutputStream out, String bindingsDir, String journalDir, String pagingDir, String largeMessagesDir) Deprecated.setUndefinedPrefix(String undefinedPrefix) protected voidwriteOutput(OutputStream out) 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
-
XmlDataExporter
public XmlDataExporter()
-
-
Method Details
-
getUndefinedPrefix
-
setUndefinedPrefix
-
execute
-
process
@Deprecated public void process(OutputStream out, String bindingsDir, String journalDir, String pagingDir, String largeMessagesDir) throws Exception Deprecated.Use setConfiguration and process(out) instead.- Throws:
Exception
-
process
- Throws:
Exception
-
writeOutput
- Throws:
Exception
-
getLastError
-