org.openeai.jms.consumer
Class MessageConsumerClient

java.lang.Object
  |
  +--org.openeai.OpenEaiObject
        |
        +--org.openeai.jms.consumer.MessageConsumerClient

public class MessageConsumerClient
extends OpenEaiObject

The runnable class used to implement all OpenEAI based MessageGateways. It is a standard Java class that includes a "main" method. When it is ran, it is passed the location of a .properties file. That file contains information in it necessary for this runnable class to instantiate an AppConfig object for the gateway being started. The AppConfig that gets initialized starts MessageConsumers (PointToPoint and/or PubSub) which are what make up a gateway. Once these are started and are ready to consume messages, the gateway runs until it is stopped at the operating system level.

Version:
3.0 beta2 - 28 January 2003
Author:
Tod Jackson (tod@openeai.org), Steve Wheat (steve@openeai.org)

Field Summary
 
Fields inherited from class org.openeai.OpenEaiObject
logger
 
Constructor Summary
MessageConsumerClient(java.lang.String[] args)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.openeai.OpenEaiObject
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageConsumerClient

public MessageConsumerClient(java.lang.String[] args)
Method Detail

main

public static void main(java.lang.String[] args)


Copyright © 2002, OpenEAI Software Foundation