|
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
Request/reply executor with a fixed reply queue.
Used by JMS Sampler (Point to Point)
Created on: October 28, 2004
Constructor Summary | |
FixedQueueExecutor(javax.jms.QueueSender producer,
int timeout)
Constructor. |
|
FixedQueueExecutor(javax.jms.QueueSender producer,
int timeout,
boolean useReqMsgIdAsCorrelId)
Constructor. |
Method Summary | |
javax.jms.Message |
sendAndReceive(javax.jms.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(javax.jms.QueueSender producer, int timeout)
producer
- the queue to send the message ontimeout
- timeout to use for the return messagepublic FixedQueueExecutor(javax.jms.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 javax.jms.Message sendAndReceive(javax.jms.Message request) throws javax.jms.JMSException
QueueExecutor
sendAndReceive
in interface QueueExecutor
request
- the message to send
null
javax.jms.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 |