org.apache.cactus.internal.client.jms
Class JmsClient

java.lang.Object
  extended by org.apache.cactus.internal.client.jms.JmsClient

public class JmsClient
extends java.lang.Object

JMS class for performing the steps necessary to run a test. It involves sending a first JMS message to a queue on which the Cactus MDB Redirector is listening.

Since:
1.4
Version:
$Id$
Author:
Vincent Massol

Constructor Summary
JmsClient()
           
 
Method Summary
 void doTest(JmsRequest theRequest)
          Calls the test method indirectly by calling the Redirector MDB (by sending a JMS Message on a queue it is listening to).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsClient

public JmsClient()
Method Detail

doTest

public void doTest(JmsRequest theRequest)
            throws java.lang.Throwable
Calls the test method indirectly by calling the Redirector MDB (by sending a JMS Message on a queue it is listening to).

Parameters:
theRequest - the request containing data to be sent using JMS to the server side
Throws:
java.lang.Throwable - if an error occured in the test method or in the redirector servlet.


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.