public class cMsgQueue
extends java.lang.Object
This class is a general purpose cMsg queue utility that queues messages to
a file OR a database. It stores the entire message in serialized binary,
after payload compression. Payload is uncompressed when retrieving messages.
For databases it additionally stores receipt time, creator, subject, type, userTime and userInt,
allowing for selection criteria at some future date.
To use with a database queue:
java cMsgQueue -udl cMsg:cMsg://localhost/cMsg -name myQueue
-url jdbc:mysql://halldweb1/test -driver com.mysql.jdbc.Driver -account fred
To use with a file-based queue:
java cMsgQueue -udl cMsg:cMsg://localhost/cMsg -name myQueue
-dir myDir -base myFileBaseName
- Version:
- 1.0