org.arch4j.messaging
Class MessageTopicFacadeTest
java.lang.Object
|
+--org.arch4j.messaging.MessageTopicFacadeTest
- All Implemented Interfaces:
- javax.jms.MessageListener
- public class MessageTopicFacadeTest
- extends Object
- implements javax.jms.MessageListener
Provides a high level test of the message topic facade class architecture
with simple publish and subscribe functionality.
To setup the environment for this test, a topic named
"org.arch4j.testTopic" must exits in the JMS implementation. The
messaging.properties property file must also be set up to reference
the MessageTopicFacade implementation class. Run two or more instances of
this class from the command line.
- Version:
- 1.0
- Author:
- David Colwell
Method Summary |
static void |
main(String[] argv)
Main program entry point. |
void |
onMessage(javax.jms.Message aMessage)
Handle an incoming message
(as specified in the javax.jms.MessageListener interface). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageTopicFacadeTest
public MessageTopicFacadeTest()
onMessage
public void onMessage(javax.jms.Message aMessage)
- Handle an incoming message
(as specified in the javax.jms.MessageListener interface).
- Specified by:
onMessage
in interface javax.jms.MessageListener
main
public static void main(String[] argv)
- Main program entry point. It creates and runs an instance of this class.
Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.