|
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.ConsumerDenyRequest
A ConsumerDenyRequest
instance is used by a
MessageConsumer
for denying a received message.
Field Summary |
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
target |
Constructor Summary | |
ConsumerDenyRequest()
Constructs a ConsumerDenyRequest instance. |
|
ConsumerDenyRequest(java.lang.String targetName,
java.lang.String id,
boolean queueMode)
Constructs a ConsumerDenyRequest instance. |
|
ConsumerDenyRequest(java.lang.String targetName,
java.lang.String id,
boolean queueMode,
boolean doNotAck)
Constructs a ConsumerDenyRequest instance. |
Method Summary | |
boolean |
getDoNotAck()
Returns true if the request must not be acked by the
server. |
java.lang.String |
getId()
Returns the denied message identifier. |
boolean |
getQueueMode()
Returns true if the request is destinated to a queue. |
void |
setDoNotAck(boolean doNotAck)
Sets the server ack policy. |
void |
setId(java.lang.String id)
Sets the denied message identifier. |
void |
setQueueMode(boolean queueMode)
Sets the target destination type. |
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 ConsumerDenyRequest(java.lang.String targetName, java.lang.String id, boolean queueMode)
ConsumerDenyRequest
instance.
targetName
- Name of the target queue or subscription.id
- The message identifier.queueMode
- true
if this request is destinated to
a queue.public ConsumerDenyRequest(java.lang.String targetName, java.lang.String id, boolean queueMode, boolean doNotAck)
ConsumerDenyRequest
instance.
targetName
- Name of the target queue or subscription.id
- The message identifier.queueMode
- true
if this request is destinated to
a queue.doNotAck
- true
if this request must not be acked by
the server.public ConsumerDenyRequest()
ConsumerDenyRequest
instance.
Method Detail |
public void setId(java.lang.String id)
public void setQueueMode(boolean queueMode)
public void setDoNotAck(boolean doNotAck)
public java.lang.String getId()
public boolean getQueueMode()
true
if the request is destinated to a queue.
public boolean getDoNotAck()
true
if the request must not be acked by the
server.
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 |