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 Classes Modifier and Type Class Description static classXmlDataExporter.PrettyPrintHandlerProxy 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, storageManager
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
binding, journal, largeMessges, paging
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.Configurable
global
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description XmlDataExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Objectexecute(ActionContext context)voidprocess(java.io.OutputStream out)voidprocess(java.io.OutputStream out, java.lang.String bindingsDir, java.lang.String journalDir, java.lang.String pagingDir, java.lang.String largeMessagesDir)Deprecated.protected voidwriteOutput(java.io.OutputStream out)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.DBOption
cleanup, getJdbcBindings, getJdbcClassName, getJdbcLargeMessages, getJdbcMessages, getJdbcNodeManager, getJdbcPageStore, getJdbcURL, getParameterConfiguration, initializeJournal, isJDBC, setJdbcBindings, setJdbcClassName, setJdbcLargeMessages, setJdbcMessages, setJdbcNodeManager, setJdbcPageStore, setJdbcURL
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.OptionalLocking
lockCLI
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.LockAbstract
unlock
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.tools.DataAbstract
getBinding, getJournal, getLargeMessages, getPaging
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.Configurable
getBrokerDTO, getConfiguration, getFileConfiguration, getManagementConfiguration, getManagementDTO, helpGroup, readConfiguration, treatError
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
checkOptions, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Method Detail
-
execute
public java.lang.Object execute(ActionContext context) throws java.lang.Exception
-
process
@Deprecated public void process(java.io.OutputStream out, java.lang.String bindingsDir, java.lang.String journalDir, java.lang.String pagingDir, java.lang.String largeMessagesDir) throws java.lang.ExceptionDeprecated.Use setConfiguration and process(out) instead.- Parameters:
out-bindingsDir-journalDir-pagingDir-largeMessagesDir-- Throws:
java.lang.Exception
-
process
public void process(java.io.OutputStream out) throws java.lang.Exception- Throws:
java.lang.Exception
-
writeOutput
protected void writeOutput(java.io.OutputStream out) throws java.lang.Exception- Throws:
java.lang.Exception
-
-