|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.protocol.jms.sampler.FixedQueueExecutor
public class FixedQueueExecutor
Request/reply executor with a fixed reply queue.
Used by JMS Sampler (Point to Point)
Created on: October 28, 2004
Constructor Summary | |
---|---|
FixedQueueExecutor(QueueSender producer,
int timeout)
Constructor. |
|
FixedQueueExecutor(QueueSender producer,
int timeout,
boolean useReqMsgIdAsCorrelId)
Constructor. |
Method Summary | |
---|---|
Message |
sendAndReceive(Message request)
Sends and receives a message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedQueueExecutor(QueueSender producer, int timeout)
producer
- the queue to send the message ontimeout
- timeout to use for the return messagepublic FixedQueueExecutor(QueueSender producer, int timeout, boolean useReqMsgIdAsCorrelId)
producer
- the queue to send the message ontimeout
- timeout to use for the return messageuseReqMsgIdAsCorrelId
- whether to use the request message id as the correlation idMethod Detail |
---|
public Message sendAndReceive(Message request) throws JMSException
QueueExecutor
sendAndReceive
in interface QueueExecutor
request
- the message to send
null
JMSException
- in case of an exception from the messaging system
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |