Messages Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.messaging.eventhubs.Messages

public enum Messages
extends Enum<Messages>

I18n messages loaded from the messages.properties file located within the same package.

Fields

CANNOT_SEND_EVENT_BATCH_EMPTY

Cannot send empty event batch message.

CLASS_NOT_A_SUPPORTED_TYPE

Class not a supported type message.

ENCODING_TYPE_NOT_SUPPORTED

Encoding type not supported message.

ERROR_OCCURRED_IN_SUBSCRIBER_ERROR

Error occurred in subscriber error message.

ERROR_SENDING_BATCH

Error sending batch message.

EVENT_DATA_DOES_NOT_FIT

Event data doesn't fit message.

EVENT_PROCESSOR_RUN_END

Event processor run end message.

EXCEPTION_OCCURRED_WHILE_EMITTING

Exception occurred while emitting message.

FAILED_CLOSE_CONSUMER_PARTITION

Failed to close consumer partition message.

FAILED_TO_CLAIM_OWNERSHIP

Failed to claim ownership message.

LOAD_BALANCING_FAILED

Load balancing failed message.

MESSAGE_NOT_OF_TYPE

Message not of type message.

PROCESS_SPAN_SCOPE_TYPE_ERROR

Process span scope type error message.

REQUEST_VALUE_NOT_VALID

Request value not valid message.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

getMessage(String key)

public static String getMessage(String key)

Gets the message given its corresponding key.

Parameters

key
String
the key of the message to retrieve

Returns

the message matching the given key

valueOf(String name)

public static Messages valueOf(String name)

Parameters

name
String

Returns

values()

public static Messages[] values()

Returns

Applies to