Apache CXF API

org.apache.cxf.transport.jms.util
Class TestReceiver

java.lang.Object
  extended by org.apache.cxf.transport.jms.util.TestReceiver

public class TestReceiver
extends Object

Receiver for integration tests. It simulates the server side of the service


Constructor Summary
TestReceiver(javax.jms.ConnectionFactory connectionFactory, String receiveQueueName, boolean forceMessageIdAsCorrelationId)
           
 
Method Summary
 void close()
           
 String getRequestMessageId()
           
 void runAsync()
           
 void setStaticReplyQueue(String staticReplyQueue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestReceiver

public TestReceiver(javax.jms.ConnectionFactory connectionFactory,
                    String receiveQueueName,
                    boolean forceMessageIdAsCorrelationId)
Parameters:
connectionFactory -
receiveQueueName - listen on this queue
forceMessageIdAsCorrelationId - force the usage of messageId even if correlationId is set
Method Detail

getRequestMessageId

public String getRequestMessageId()

setStaticReplyQueue

public void setStaticReplyQueue(String staticReplyQueue)

runAsync

public void runAsync()

close

public void close()

Apache CXF API

Apache CXF