Class CompleteOptions
java.lang.Object
com.azure.messaging.servicebus.models.CompleteOptions
Options to specify while completing message.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the transaction associated with the settlement operation.setTransactionContext
(ServiceBusTransactionContext transactionContext) Sets theServiceBusTransactionContext
to the options.
-
Constructor Details
-
CompleteOptions
public CompleteOptions()
-
-
Method Details
-
setTransactionContext
Sets theServiceBusTransactionContext
to the options.- Parameters:
transactionContext
- TheServiceBusTransactionContext
that will be used to complete a message.- Returns:
- The updated
CompleteOptions
object. - See Also:
-
getTransactionContext
Gets the transaction associated with the settlement operation.- Returns:
- The transaction context associated with the settlement operation.
null
if there is none.
-