public class ServerPersister extends Persister
capacity, displayMask, linkName, maxRetry, operation, partition, pauseTime, propertyName, repeatPeriod, standbyTime, status, timeout, tolerance, uri, waitTime, xaModePSTR_CLOSED, PSTR_DISABLED, PSTR_PAUSE, PSTR_READY, PSTR_RETRYING, PSTR_RUNNING, PSTR_STANDBY, PSTR_STOPPED| Constructor and Description |
|---|
ServerPersister(java.util.Map props) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes all opened resources
|
void |
doPublish(XQueue xq)
It keeps publishing until its end of life
|
protected void |
finalize() |
void |
persist(XQueue xq,
int baseTime)
gets all the JMS messages from the XQueue and delivers them to
their destinations.
|
void |
provide(XQueue xq,
java.net.Socket sock,
java.lang.String ip)
It gets JMS Messages from an XQueue and writes the content of messages
to the socket continuously.
|
getCapacity, getLinkName, getName, getOperation, getStatus, getXAMode, isStopped, keepRunning, resetStatus, setStatuspublic void persist(XQueue xq, int baseTime)
MessagePersisterpersist in interface MessagePersisterpersist in class Persisterpublic void provide(XQueue xq, java.net.Socket sock, java.lang.String ip)
public void doPublish(XQueue xq)
public void close()
MessagePersisterclose in interface MessagePersisterclose in class Persisterprotected void finalize()
finalize in class java.lang.Object