ReceiveMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.servicebus.ReceiveMode

public enum ReceiveMode
extends Enum<ReceiveMode>

Enumeration to represent the two receive modes Azure Service Bus supports.

Fields

PEEKLOCK

In this mode, received message is not deleted from the queue or subscription, instead it is temporarily locked to the receiver, making it invisible to other receivers.

RECEIVEANDDELETE

In this mode, received message is removed from the queue or subscription and immediately deleted.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

valueOf(String name)

public static ReceiveMode valueOf(String name)

Parameters

name
String

Returns

values()

public static ReceiveMode[] values()

Returns

Applies to