org.objectweb.joram.shared.client
Class ConsumerDenyRequest
- java.io.Serializable
public class ConsumerDenyRequest
A ConsumerDenyRequest
instance is used by a
MessageConsumer
for denying a received message.
- Serialized Form
ConsumerDenyRequest() - Constructs a
ConsumerDenyRequest instance.
|
ConsumerDenyRequest(String targetName, String id, boolean queueMode) - Constructs a
ConsumerDenyRequest instance.
|
ConsumerDenyRequest(String targetName, String id, boolean queueMode, boolean doNotAck) - Constructs a
ConsumerDenyRequest instance.
|
boolean | getDoNotAck() - Returns
true if the request must not be acked by the
server.
|
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(String id) - Sets the denied message identifier.
|
void | setQueueMode(boolean queueMode) - Sets the target destination type.
|
Hashtable | soapCode()
|
static Object | soapDecode(Hashtable h)
|
ConsumerDenyRequest
public ConsumerDenyRequest()
Constructs a ConsumerDenyRequest
instance.
ConsumerDenyRequest
public ConsumerDenyRequest(String targetName,
String id,
boolean queueMode)
Constructs a ConsumerDenyRequest
instance.
targetName
- Name of the target queue or subscription.id
- The message identifier.queueMode
- true
if this request is destinated to
a queue.
ConsumerDenyRequest
public ConsumerDenyRequest(String targetName,
String id,
boolean queueMode,
boolean doNotAck)
Constructs a 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.
getDoNotAck
public boolean getDoNotAck()
Returns true
if the request must not be acked by the
server.
getId
public String getId()
Returns the denied message identifier.
getQueueMode
public boolean getQueueMode()
Returns true
if the request is destinated to a queue.
setDoNotAck
public void setDoNotAck(boolean doNotAck)
Sets the server ack policy.
setId
public void setId(String id)
Sets the denied message identifier.
setQueueMode
public void setQueueMode(boolean queueMode)
Sets the target destination type.
soapDecode
public static Object soapDecode(Hashtable h)
- soapDecode in interface AbstractJmsRequest
Copyright B) 2004 Scalagent - All rights reserved