Enum Class AmqpSender.MessageType

java.lang.Object
java.lang.Enum<AmqpSender.MessageType>
org.frankframework.messaging.amqp.AmqpSender.MessageType
All Implemented Interfaces:
Serializable, Comparable<AmqpSender.MessageType>, Constable
Enclosing class:
AmqpSender

public static enum AmqpSender.MessageType extends Enum<AmqpSender.MessageType>
  • Enum Constant Details

    • AUTO

      public static final AmqpSender.MessageType AUTO
      Automatically determine the type of the outgoing Message based on the value of Message.isBinary().
    • TEXT

      public static final AmqpSender.MessageType TEXT
      Create the outgoing message with an AmqpValue section containing character data.
    • BINARY

      public static final AmqpSender.MessageType BINARY
      Create the outgoing message with an AMQP Body section containing the message as binary data. Only binary messages can be read or created in a streaming manner when messages are large.
  • Method Details

    • values

      public static AmqpSender.MessageType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AmqpSender.MessageType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null