IMessageReceiver.receiveDeferredMessageBatch(Collection<Long> sequenceNumbers) 方法

定义

Receives a batch of deferred Message.

public Collection<IMessage> receiveDeferredMessageBatch(Collection<Long> sequenceNumbers)

参数

sequenceNumbers
Collection<Long>

The sequence numbers of desired deferred messages.

返回

Collection<IMessage>

List of messages received. Returns null if no message is found.

例外

InterruptedException

if the current thread was interrupted while waiting

ServiceBusException

if receive failed

适用于