Arch4J 1.1

org.arch4j.messaging
Class MessageQueueFacadeSenderTest

java.lang.Object
  |
  +--org.arch4j.messaging.MessageQueueFacadeSenderTest

public class MessageQueueFacadeSenderTest
extends Object

This class is used in conjunction with MessageQueueFacadeReceiverTest as a high level test of the SpiderLogic messege queue facade architecture.

To setup the environment for this test, a queue named "org.arch4j.testQueue" must exits in the JMS implementation. The messaging.properties property file must also be set up to reference the MessageQueueFacade implementation class. Run an instance of this class from the command line.

Version:
1.0
Author:
David Colwell

Constructor Summary
MessageQueueFacadeSenderTest()
           
 
Method Summary
 void close()
          Close the queue sender and the message facade.
static void main(String[] args)
          Main program entry point.
 void send(String aTextMessage)
          Send aTextMessage to the queueSender.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageQueueFacadeSenderTest

public MessageQueueFacadeSenderTest()
Method Detail

send

public void send(String aTextMessage)
Send aTextMessage to the queueSender.


close

public void close()
Close the queue sender and the message facade.


main

public static void main(String[] args)
Main program entry point. It creates and runs an instance of this class.


Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.