public class JMSSampler extends AbstractSampler implements ThreadListener
Modifier and Type | Class and Description |
---|---|
static class |
JMSSampler.COMMUNICATION_STYLE |
Modifier and Type | Field and Description |
---|---|
static String |
IS_ONE_WAY
Deprecated.
since 4.0 replaced by JMS_COMMUNICATION_STYLE
|
static String |
JMS_COMMUNICATION_STYLE |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
JMSSampler() |
applies
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
finalize, getClass, notify, notifyAll, wait, wait, wait
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
@Deprecated public static final String IS_ONE_WAY
public static final String JMS_COMMUNICATION_STYLE
public SampleResult sample(Entry entry)
public JMSProperties getJMSProperties()
JMSProperties
JMS Propertiespublic void setJMSProperties(JMSProperties jmsProperties)
jmsProperties
- JMS Propertiespublic Arguments getJNDIProperties()
public void setJNDIProperties(Arguments args)
public String getQueueConnectionFactory()
public void setQueueConnectionFactory(String qcf)
public String getSendQueue()
public void setSendQueue(String name)
public String getReceiveQueue()
public void setReceiveQueue(String name)
public String getContent()
public void setContent(String content)
public boolean isOneway()
public boolean isRead()
public boolean isBrowse()
public boolean isClearQueue()
public boolean isNonPersistent()
public boolean isUseReqMsgIdAsCorrelId()
public boolean isUseResMsgIdAsCorrelId()
public String getInitialContextFactory()
public String getContextProvider()
public int getCommunicationstyle()
public String getCommunicationstyleString()
public void setCommunicationstyle(int communicationStyle)
public void setIsOneway(boolean isOneway)
public void setNonPersistent(boolean value)
public void setUseReqMsgIdAsCorrelId(boolean value)
public void setUseResMsgIdAsCorrelId(boolean value)
public void threadStarted()
ThreadListener
threadStarted
in interface ThreadListener
public String getTimeout()
public String getExpiration()
public String getPriority()
public void threadFinished()
threadFinished
in interface ThreadListener
public void setArguments(Arguments args)
public void setTimeout(String s)
public void setPriority(String s)
public void setExpiration(String s)
public String getJMSSelector()
public void setJMSSelector(String selector)
selector
- String selectorpublic String getNumberOfSamplesToAggregate()
public void setNumberOfSamplesToAggregate(String selector)
public void setInitialContextFactory(String string)
string
- name of the initial context factory to usepublic void setContextProvider(String string)
string
- url of the providerCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.