|
xmlBlaster 2.2.0 contributions API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.contrib.dbwriter.DbWatcherTester
public class DbWatcherTester
This application writes into the 'replitems' table (which is the table used for replication) in an own thread. Everytime a commit (or a rollback) is done, it waits until the dbwatcher part has become the new entries. It then compares the sent entries with the entries which the DBWatcher has detected. It compares number of messages and sequence of them.
You can edit this file and change the configuration settings.
Simple usage example:
java org.xmlBlaster.contrib.dbwriter.Example -db.password secret
java -Djava.util.logging.config.file=testlog.properties org.xmlBlaster.contrib.dbwriter.Example -db.password secret
Constructor Summary | |
---|---|
DbWatcherTester(I_Info info)
|
Method Summary | |
---|---|
static java.util.prefs.Preferences |
loadArgs(java.lang.String[] args)
Parse command line arguments |
static void |
main(java.lang.String[] args)
Example code. |
void |
run()
|
static void |
usage()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbWatcherTester(I_Info info) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public static void usage()
public void run()
public static void main(java.lang.String[] args)
args
- Command linepublic static java.util.prefs.Preferences loadArgs(java.lang.String[] args)
args
- Command line
|
xmlBlaster 2.2.0 contributions API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |