public class JMSReceiver extends Receiver
capacity, displayMask, linkName, maxRetry, mode, operation, partition, pauseTime, propertyName, propertyValue, repeatPeriod, standbyTime, status, timeout, tolerance, uri, waitTime, xaModeRCVR_CLOSED, RCVR_DISABLED, RCVR_PAUSE, RCVR_READY, RCVR_RETRYING, RCVR_RUNNING, RCVR_STANDBY, RCVR_STOPPED| Constructor and Description |
|---|
JMSReceiver(java.util.Map props) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes all opened resources
|
protected void |
finalize() |
void |
receive(XQueue xq,
int baseTime)
puts all the received JMS messages to the XQueue as the output.
|
void |
send(javax.jms.Message msg)
sends the message to the default queue
|
void |
send(java.lang.String text,
int d,
int p,
long ttl,
java.lang.String mtype)
sends the message with the text and properties to the default queue
|
getCapacity, getLinkName, getName, getOperation, getPartition, getStatus, getXAMode, isStopped, keepRunning, resetStatus, setStatuspublic void receive(XQueue xq, int baseTime)
MessageReceiverreceive in interface MessageReceiverreceive in class Receiverpublic void send(javax.jms.Message msg)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void send(java.lang.String text,
int d,
int p,
long ttl,
java.lang.String mtype)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void close()
MessageReceiverclose in interface MessageReceiverclose in class Receiverprotected void finalize()
finalize in class java.lang.Object