|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.arch4j.messaging.MessageQueueFacadeReceiverTest
This class is used in conjunction with MessageQueueFacadeSenderTest
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.
Constructor Summary | |
MessageQueueFacadeReceiverTest()
|
Method Summary | |
void |
close()
Close the queue receiver and message queue facade instance. |
static void |
main(String[] args)
Main program entry point. |
void |
onMessage(javax.jms.Message message)
Satisfies the MessageListener interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessageQueueFacadeReceiverTest()
Method Detail |
public void onMessage(javax.jms.Message message)
MessageListener
interface. Print any incoming
message text to standard output. It signals the main input loop to
exit if receives the "quit" message.
onMessage
in interface javax.jms.MessageListener
public void close()
public static void main(String[] args)
onMessage
method is called.
|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |