org.apache.jmeter.protocol.jms.sampler

Class TemporaryQueueExecutor

Implemented Interfaces:
QueueExecutor

public class TemporaryQueueExecutor
extends Object
implements QueueExecutor

Request/reply executor with a temporary reply queue.
Used by JMS Sampler (Point to Point) Created on: October 28, 2004
Version:
$Revision: 678779 $

Constructor Summary

TemporaryQueueExecutor(QueueSession session, Queue destination)
Constructor.

Method Summary

Message
sendAndReceive(Message request)

Constructor Details

TemporaryQueueExecutor

public TemporaryQueueExecutor(QueueSession session,
                              Queue destination)
            throws JMSException
Constructor.
Parameters:
session - the session to use to send the message
destination - the queue to send the message on

Method Details

sendAndReceive

public Message sendAndReceive(Message request)
            throws JMSException
Specified by:
sendAndReceive in interface QueueExecutor

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.