Class Consumer
java.lang.Object
org.apache.activemq.artemis.cli.commands.ActionAbstract
org.apache.activemq.artemis.cli.commands.InputAbstract
org.apache.activemq.artemis.cli.commands.messages.ConnectionConfigurationAbtract
org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
org.apache.activemq.artemis.cli.commands.messages.DestAbstract
org.apache.activemq.artemis.cli.commands.messages.Consumer
-
Field Summary
Fields inherited from class DestAbstract
txBatchSizeFields inherited from class ConnectionAbstract
clientID, protocolFields inherited from class ConnectionConfigurationAbtract
acceptor, brokerURL, CONNECTION_INFORMATION, password, silent, userFields inherited from class ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ActionContext context) getFile()intbooleanbooleansetBreakOnNull(boolean breakOnNull) setDurable(boolean durable) setReceiveTimeout(int receiveTimeout) Methods inherited from class DestAbstract
getDestination, getDestination, getDestination, getMessageCount, getMessageSerializer, getSerializer, getSleep, getThreads, getTxBatchSize, setDestination, setMessageCount, setSerializer, setSleep, setThreads, setTxBatchSize, stripPrefixMethods inherited from class ConnectionAbstract
createConnectionFactory, createConnectionFactory, createCoreConnectionFactory, createCoreConnectionFactory, getClientID, getProtocol, performCoreManagement, performCoreManagement, setClientID, setProtocol, setProtocol, tryConnectMethods inherited from class ConnectionConfigurationAbtract
getAcceptor, getBrokerURL, getPassword, getUser, inputBrokerURL, inputPassword, inputUser, recoverConnectionInformation, saveConnectionInfo, setAcceptor, setBrokerURL, setPassword, setUserMethods inherited from class InputAbstract
enableInput, input, input, inputBoolean, inputInteger, inputPassword, isSilentInput, setSilentInputMethods inherited from class ActionAbstract
done, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, run, setHomeValues
-
Constructor Details
-
Consumer
public Consumer()
-
-
Method Details
-
execute
- Specified by:
executein interfaceAction- Overrides:
executein classDestAbstract- Throws:
Exception
-
isDurable
public boolean isDurable() -
setDurable
-
isBreakOnNull
public boolean isBreakOnNull() -
setBreakOnNull
-
getReceiveTimeout
public int getReceiveTimeout() -
setReceiveTimeout
-
getFilter
-
setFilter
-
getFile
-
setFile
-