public class TransactionNotification extends MQNotification
The MQ specific fields in this notification is TBD.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TRANSACTION_COMMIT
A transaction was committed.
|
static java.lang.String |
TRANSACTION_PREPARE
A transaction has entered the prepared state.
|
static java.lang.String |
TRANSACTION_ROLLBACK
A transaction was rolled back.
|
PREFIX| Constructor and Description |
|---|
TransactionNotification(java.lang.String type,
java.lang.Object source,
long sequenceNumber)
Creates a TransactionNotification object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTransactionID() |
void |
setTransactionID(java.lang.String id) |
public static final java.lang.String TRANSACTION_COMMIT
public static final java.lang.String TRANSACTION_PREPARE
public static final java.lang.String TRANSACTION_ROLLBACK
public TransactionNotification(java.lang.String type,
java.lang.Object source,
long sequenceNumber)
type - The notification type.source - The notification source.sequenceNumber - The notification sequence number within the source object.Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.