Class DestAbstract
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
-
Field Summary
FieldsFields 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) protected javax.jms.DestinationgetDestination(javax.jms.Session session) static javax.jms.DestinationgetDestination(javax.jms.Session session, String destination) longprotected MessageSerializerintgetSleep()intintsetDestination(String destination) setMessageCount(long messageCount) setSerializer(String serializer) setSleep(int sleep) setThreads(int threads) setTxBatchSize(int txBatchSize) static StringstripPrefix(String destination) Methods 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
-
txBatchSize
protected int txBatchSize
-
-
Constructor Details
-
DestAbstract
public DestAbstract()
-
-
Method Details
-
getMessageSerializer
-
getDestination
protected javax.jms.Destination getDestination(javax.jms.Session session) throws javax.jms.JMSException - Throws:
javax.jms.JMSException
-
getDestination
public static javax.jms.Destination getDestination(javax.jms.Session session, String destination) throws javax.jms.JMSException - Throws:
javax.jms.JMSException
-
stripPrefix
-
getDestination
-
setDestination
-
getMessageCount
public long getMessageCount() -
setMessageCount
-
getSleep
public int getSleep() -
setSleep
-
getTxBatchSize
public int getTxBatchSize() -
setTxBatchSize
-
getThreads
public int getThreads() -
setThreads
-
getSerializer
-
setSerializer
-
execute
- Specified by:
executein interfaceAction- Overrides:
executein classConnectionConfigurationAbtract- Throws:
Exception
-