Class AmqpTransaction
java.lang.Object
com.azure.core.amqp.AmqpTransaction
Represents transaction in message broker. It does not do any network operation on its own. It contains meta data
about transaction such as transaction id.
-
Constructor Summary
ConstructorsConstructorDescriptionAmqpTransaction(ByteBuffer transactionId) CreatesAmqpTransactiongiventransactionId. -
Method Summary
Modifier and TypeMethodDescriptionGets the id for this transaction.toString()String representation of the transaction id.
-
Constructor Details
-
AmqpTransaction
CreatesAmqpTransactiongiventransactionId.- Parameters:
transactionId- The id for this transaction.- Throws:
NullPointerException- iftransactionIdis null.
-
-
Method Details
-
getTransactionId
Gets the id for this transaction.- Returns:
- The id for this transaction.
-
toString
-