|
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.MessageAdmin
public class MessageAdmin
Administration of messages.
Method Summary | |
---|---|
javax.jms.Message |
get(String id)
Get the reply message. |
static MessageAdmin |
getAdmin()
Get the singleton MessageAdmin object |
void |
putReply(String id,
javax.jms.Message reply)
Try to associate a reply to a previously stored request. |
void |
putRequest(String id,
javax.jms.Message request,
CountDownLatch latch)
Store a request under the given id, so that an arriving reply can be associated with this request and the waiting party can be signaled by means of a CountDownLatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MessageAdmin getAdmin()
public void putRequest(String id, javax.jms.Message request, CountDownLatch latch)
CountDownLatch
id
- id of the requestrequest
- request object to store under idlatch
- communication latch to signal when a reply for this request
was receivedpublic void putReply(String id, javax.jms.Message reply)
CountDownLatch
id
- id of the requestreply
- object with the replypublic javax.jms.Message get(String id)
id
- the id of the message
null
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |