Package com.azure.core.amqp
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) CreatesAmqpTransaction
giventransactionId
. -
Method Summary
Modifier and TypeMethodDescriptionGets the id for this transaction.toString()
String representation of the transaction id.
-
Constructor Details
-
AmqpTransaction
CreatesAmqpTransaction
giventransactionId
.- Parameters:
transactionId
- The id for this transaction.- Throws:
NullPointerException
- iftransactionId
is null.
-
-
Method Details