public final class TransactionItem extends Object
Item of a TransactionSet. Keeps track of a message lock obtained by a JMS Session in the current transaction.
| Constructor and Description |
|---|
TransactionItem(int handle,
String messageID,
int deliveryMode,
LocalQueue destination)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDeliveryMode() |
LocalQueue |
getDestination() |
int |
getHandle() |
String |
getMessageId() |
void |
setHandle(int handle) |
MessageLock |
toMessageLock(AbstractMessage message) |
String |
toString() |
public TransactionItem(int handle,
String messageID,
int deliveryMode,
LocalQueue destination)
public int getHandle()
public void setHandle(int handle)
handle - the handle to setpublic String getMessageId()
public int getDeliveryMode()
public LocalQueue getDestination()
public MessageLock toMessageLock(AbstractMessage message)
Copyright © 2019. All rights reserved.