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.ConnectionAbstract
-
- org.apache.activemq.artemis.cli.commands.messages.DestAbstract
-
- All Implemented Interfaces:
Action
public class DestAbstract extends ConnectionAbstract
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
acceptor, brokerURL, clientID, password, protocol, user
-
Fields inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
DEFAULT_BROKER_ACCEPTOR, DEFAULT_BROKER_URL, verbose
-
-
Constructor Summary
Constructors Constructor Description DestAbstract()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDestination()protected javax.jms.DestinationgetDestination(javax.jms.Session session)static javax.jms.DestinationgetDestination(javax.jms.Session session, java.lang.String destination)intgetMessageCount()protected MessageSerializergetMessageSerializer()java.lang.StringgetSerializer()intgetSleep()intgetThreads()intgetTxBatchSize()DestAbstractsetDestination(java.lang.String destination)DestAbstractsetMessageCount(int messageCount)DestAbstractsetSerializer(java.lang.String serializer)DestAbstractsetSleep(int sleep)DestAbstractsetThreads(int threads)DestAbstractsetTxBatchSize(int txBatchSize)static java.lang.StringstripPrefix(java.lang.String destination)-
Methods inherited from class org.apache.activemq.artemis.cli.commands.messages.ConnectionAbstract
createConnectionFactory, createConnectionFactory, createCoreConnectionFactory, createCoreConnectionFactory, execute, getAcceptor, getBrokerURL, getClientID, getPassword, getProtocol, getUser, setAcceptor, setBrokerURL, setClientID, setPassword, setProtocol, setUser
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.InputAbstract
enableInput, input, input, inputBoolean, inputInteger, inputPassword, isSilentInput, setSilentInput
-
Methods inherited from class org.apache.activemq.artemis.cli.commands.ActionAbstract
checkOptions, getActionContext, getBrokerConfiguration, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, getBrokerURLInstance, isVerbose, setHomeValues
-
-
-
-
Method Detail
-
getMessageSerializer
protected MessageSerializer 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, java.lang.String destination) throws javax.jms.JMSException- Throws:
javax.jms.JMSException
-
stripPrefix
public static java.lang.String stripPrefix(java.lang.String destination)
-
getDestination
public java.lang.String getDestination()
-
setDestination
public DestAbstract setDestination(java.lang.String destination)
-
getMessageCount
public int getMessageCount()
-
setMessageCount
public DestAbstract setMessageCount(int messageCount)
-
getSleep
public int getSleep()
-
setSleep
public DestAbstract setSleep(int sleep)
-
getTxBatchSize
public int getTxBatchSize()
-
setTxBatchSize
public DestAbstract setTxBatchSize(int txBatchSize)
-
getThreads
public int getThreads()
-
setThreads
public DestAbstract setThreads(int threads)
-
getSerializer
public java.lang.String getSerializer()
-
setSerializer
public DestAbstract setSerializer(java.lang.String serializer)
-
-