Class Producer
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.Producer
-
Field Summary
FieldsFields 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()intlongintintbooleansetMessage(String message) setMessageSize(int messageSize) setMsgGroupID(String msgGroupID) setMsgTTL(long msgTTL) setNonpersistent(boolean nonpersistent) setObjectSize(int objectSize) setProperties(String properties) setTextMessageSize(int textMessageSize) 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
-
Field Details
-
DEMO_TEXT
- See Also:
-
-
Constructor Details
-
Producer
public Producer()
-
-
Method Details
-
isNonpersistent
public boolean isNonpersistent() -
setNonpersistent
-
getMessageSize
public int getMessageSize() -
setMessageSize
-
getMessage
-
setMessage
-
getProperties
-
setProperties
-
getTextMessageSize
public int getTextMessageSize() -
setTextMessageSize
-
getObjectSize
public int getObjectSize() -
setObjectSize
-
getMsgTTL
public long getMsgTTL() -
setMsgTTL
-
getMsgGroupID
-
setMsgGroupID
-
getFile
-
setFile
-
execute
- Specified by:
executein interfaceAction- Overrides:
executein classDestAbstract- Throws:
Exception
-