public class ServerPersister extends Persister
capacity, displayMask, linkName, maxRetry, operation, partition, pauseTime, propertyName, repeatPeriod, standbyTime, status, timeout, tolerance, uri, waitTime, xaMode
PSTR_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, setStatus
public void persist(XQueue xq, int baseTime)
MessagePersister
persist
in interface MessagePersister
persist
in class Persister
public void provide(XQueue xq, java.net.Socket sock, java.lang.String ip)
public void doPublish(XQueue xq)
public void close()
MessagePersister
close
in interface MessagePersister
close
in class Persister
protected void finalize()
finalize
in class java.lang.Object