CoreMessageReceiver.completeMessageAsync 方法

定义

重载

completeMessageAsync(byte[] deliveryTag, TransactionContext transaction)
completeMessageAsync(UUID lockToken, TransactionContext transaction)

completeMessageAsync(byte[] deliveryTag, TransactionContext transaction)

public CompletableFuture<Void> completeMessageAsync(byte[] deliveryTag, TransactionContext transaction)

参数

deliveryTag
byte []
transaction
TransactionContext

返回

CompletableFuture<Void>

completeMessageAsync(UUID lockToken, TransactionContext transaction)

public CompletableFuture<Void> completeMessageAsync(UUID lockToken, TransactionContext transaction)

参数

lockToken
UUID
transaction
TransactionContext

返回

CompletableFuture<Void>

适用于