|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.client.AbstractJmsRequest
org.objectweb.joram.shared.client.ConsumerReceiveRequest
A ConsumerReceiveRequest
is sent by a
MessageConsumer
when requesting a message.
Field Summary |
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
target |
Constructor Summary | |
ConsumerReceiveRequest()
Constructs a ConsumerReceiveRequest . |
|
ConsumerReceiveRequest(java.lang.String targetName,
java.lang.String selector,
long timeToLive,
boolean queueMode)
Constructs a ConsumerReceiveRequest . |
Method Summary | |
boolean |
getQueueMode()
Returns true if the request is destinated to a queue. |
boolean |
getReceiveAck()
|
java.lang.String |
getSelector()
Returns the selector for filtering the messages. |
long |
getTimeToLive()
Returns the time to live value in milliseconds. |
void |
setQueueMode(boolean queueMode)
Sets the target destination type. |
void |
setReceiveAck(boolean receiveAck)
|
void |
setSelector(java.lang.String selector)
Sets the selector. |
void |
setTimeToLive(long timeToLive)
Sets the time to live value. |
java.util.Hashtable |
soapCode()
|
static java.lang.Object |
soapDecode(java.util.Hashtable h)
|
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
getKey, getRequestId, getTarget, setRequestId, setTarget, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ConsumerReceiveRequest(java.lang.String targetName, java.lang.String selector, long timeToLive, boolean queueMode)
ConsumerReceiveRequest
.
targetName
- Name of the target queue or subscription.selector
- The selector for filtering messages, if any.timeToLive
- Time to live value in milliseconds, negative for
infinite.queueMode
- true
if this request is destinated to a
queue.public ConsumerReceiveRequest()
ConsumerReceiveRequest
.
Method Detail |
public void setReceiveAck(boolean receiveAck)
public final boolean getReceiveAck()
public void setSelector(java.lang.String selector)
public void setTimeToLive(long timeToLive)
public void setQueueMode(boolean queueMode)
public java.lang.String getSelector()
public long getTimeToLive()
public boolean getQueueMode()
true
if the request is destinated to a queue.
public java.util.Hashtable soapCode()
soapCode
in class AbstractJmsRequest
public static java.lang.Object soapDecode(java.util.Hashtable h)
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |