org.objectweb.joram.shared.client
Class ConsumerAckRequest
- java.io.Serializable
public class ConsumerAckRequest
A ConsumerAckRequest
instance is used by a
MessageConsumer
for acknowledging a received message.
- Serialized Form
String | getId() - Returns the acknowledged message identifier.
|
boolean | getQueueMode() - Returns
true if the request is destinated to a queue.
|
void | setId(String id) - Sets the acknowledged message identifier.
|
void | setQueueMode(boolean queueMode) - Sets the target destination type.
|
Hashtable | soapCode()
|
static Object | soapDecode(Hashtable h)
|
ConsumerAckRequest
public ConsumerAckRequest()
Constructs a ConsumerAckRequest
instance.
ConsumerAckRequest
public ConsumerAckRequest(String targetName,
String id,
boolean queueMode)
Constructs a ConsumerAckRequest
instance.
targetName
- Name of the target queue or subscription.id
- The message identifier.queueMode
- true
if this request is destinated to
a queue.
getId
public String getId()
Returns the acknowledged message identifier.
getQueueMode
public boolean getQueueMode()
Returns true
if the request is destinated to a queue.
setId
public void setId(String id)
Sets the acknowledged 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