Partager via


ServiceBusMessageState Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.messaging.servicebus.models.ServiceBusMessageState

public enum ServiceBusMessageState
extends Enum<ServiceBusMessageState>

Represents the message state of the ServiceBusReceivedMessage.

Fields

ACTIVE

Specifies an active message state.

DEFERRED

Specifies a deferred message state.

SCHEDULED

Specifies a scheduled message state.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromValue(int value)

public static ServiceBusMessageState fromValue(int value)

Gets the message state from value.

Parameters

value
int
Integer value of the message state.

Returns

The corresponding message state.

getValue()

public int getValue()

Gets the value of the message state.

Returns

int
The value of the message state.

valueOf(String name)

public static ServiceBusMessageState valueOf(String name)

Parameters

name
String

Returns

values()

public static ServiceBusMessageState[] values()

Returns

Applies to