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
context, 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 Objectexecute(ActionContext context)voidprocess(OutputStream out)voidprocess(OutputStream out, String bindingsDir, String journalDir, String pagingDir, String largeMessagesDir)Deprecated.protected voidwriteOutput(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, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Method Detail
-
execute
public Object execute(ActionContext context) throws Exception
-
process
@Deprecated public void process(OutputStream out, String bindingsDir, String journalDir, String pagingDir, String largeMessagesDir) throws Exception
Deprecated.Use setConfiguration and process(out) instead.- Parameters:
out-bindingsDir-journalDir-pagingDir-largeMessagesDir-- Throws:
Exception
-
process
public void process(OutputStream out) throws Exception
- Throws:
Exception
-
writeOutput
protected void writeOutput(OutputStream out) throws Exception
- Throws:
Exception
-
-