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 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) 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 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
-
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
-