A simple loop test lets you experiment with messaging performance.
The RoundTrip
sample application sends a brief message
to a sample queue and then uses a temporary queue to receive the message
back. A counter is incremented and the message is sent for another trip.
After completing the number of cycles you entered when you started the test,
the run completes by displaying summary and average statistics.
![]() | Note |
---|---|
This sample is not intended as a performance tool. |
To run the QueueRoundTrip sample enter ant
roundtrip
in Window 1.
The QueueRoundTrip
window produces and consumes queue
messages in a loop, producing the next message after the prior one has been
consumed. When it has completed the specified number of cycles (set to
10,000 for the sample run), it reports how long it took to complete all the
cycles.