public class Producer extends DestAbstract
Modifier and Type | Field and Description |
---|---|
static String |
DEMO_TEXT |
brokerURL, password, user
context, verbose
Constructor and Description |
---|
Producer() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ActionContext context) |
String |
getFile() |
String |
getMessage() |
int |
getMessageSize() |
String |
getMsgGroupID() |
long |
getMsgTTL() |
int |
getObjectSize() |
int |
getTextMessageSize() |
boolean |
isNonpersistent() |
Producer |
setFile(String file) |
Producer |
setMessage(String message) |
Producer |
setMessageSize(int messageSize) |
Producer |
setMsgGroupID(String msgGroupID) |
Producer |
setMsgTTL(long msgTTL) |
Producer |
setNonpersistent(boolean nonpersistent) |
Producer |
setObjectSize(int objectSize) |
Producer |
setTextMessageSize(int textMessageSize) |
getDestination, getDestination, getMessageCount, getMessageSerializer, getSerializer, getSleep, getThreads, getTxBatchSize, setDestination, setMessageCount, setSerializer, setSleep, setThreads, setTxBatchSize
createConnectionFactory, createCoreConnectionFactory, getClientID, getPassword, getProtocol, getUser, setClientID, setPassword, setProtocol, setUser
enableInput, input, input, inputBoolean, inputPassword, isSilentInput, setSilentInput
checkOptions, getBrokerEtc, getBrokerHome, getBrokerInstance, getBrokerURIInstance, isVerbose, setHomeValues
public static final String DEMO_TEXT
public boolean isNonpersistent()
public Producer setNonpersistent(boolean nonpersistent)
public int getMessageSize()
public Producer setMessageSize(int messageSize)
public String getMessage()
public int getTextMessageSize()
public Producer setTextMessageSize(int textMessageSize)
public int getObjectSize()
public Producer setObjectSize(int objectSize)
public long getMsgTTL()
public Producer setMsgTTL(long msgTTL)
public String getMsgGroupID()
public String getFile()
public Object execute(ActionContext context) throws Exception
execute
in interface Action
execute
in class ConnectionAbstract
Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.