IMessageReceiver.deferAsync 方法

定义

重载

deferAsync(UUID lockToken)

Asynchronously defers a Message using its lock token. This will move message into deferred subqueue.

deferAsync(UUID lockToken, Map<String, Object> propertiesToModify)

Asynchronously defers a Message using its lock token with modified message propert. This will move message into deferred subqueue.

deferAsync(UUID lockToken, Map<String, Object> propertiesToModify, TransactionContext transaction)

Asynchronously defers a Message using its lock token with modified message propert. This will move message into deferred subqueue.

deferAsync(UUID lockToken, TransactionContext transaction)

Asynchronously defers a Message using its lock token. This will move message into deferred subqueue.

deferAsync(UUID lockToken)

Asynchronously defers a Message using its lock token. This will move message into deferred subqueue.

public CompletableFuture<Void> deferAsync(UUID lockToken)

参数

lockToken
UUID

Message lock token getLockToken()

返回

CompletableFuture<Void>

a CompletableFuture representing the pending defer.

deferAsync(UUID lockToken, Map<String, Object> propertiesToModify)

Asynchronously defers a Message using its lock token with modified message propert. This will move message into deferred subqueue.

public CompletableFuture<Void> deferAsync(UUID lockToken, Map<String, Object> propertiesToModify)

参数

lockToken
UUID

Message lock token getLockToken()

propertiesToModify
Map<String, Object>

Message properties to modify.

返回

CompletableFuture<Void>

a CompletableFuture representing the pending defer.

deferAsync(UUID lockToken, Map<String, Object> propertiesToModify, TransactionContext transaction)

Asynchronously defers a Message using its lock token with modified message propert. This will move message into deferred subqueue.

public CompletableFuture<Void> deferAsync(UUID lockToken, Map<String, Object> propertiesToModify, TransactionContext transaction)

参数

lockToken
UUID

Message lock token getLockToken()

propertiesToModify
Map<String, Object>

Message properties to modify.

transaction
TransactionContext

TransactionContext which this operation should enlist to.

返回

CompletableFuture<Void>

a CompletableFuture representing the pending defer.

deferAsync(UUID lockToken, TransactionContext transaction)

Asynchronously defers a Message using its lock token. This will move message into deferred subqueue.

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

参数

lockToken
UUID

Message lock token getLockToken()

transaction
TransactionContext

TransactionContext which this operation should enlist to.

返回

CompletableFuture<Void>

a CompletableFuture representing the pending defer.

适用于