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