Package org.frankframework.jms
Enum Class JMSFacade.MessageClass
- All Implemented Interfaces:
Serializable
,Comparable<JMSFacade.MessageClass>
,Constable
- Enclosing class:
- JMSFacade
The JMS
Message
class for the outgoing message.
Currently supported are TEXT for JMS TextMessage
,
BYTES for JMS BytesMessage
, or AUTO for auto-determination
based on whether the input Message
is binary or character.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAutomatically determine the type of the outgoingMessage
based on the value ofMessage.isBinary()
.Create the outgoing message asBytesMessage
.Create the outgoing message asTextMessage
. -
Method Summary
Modifier and TypeMethodDescriptionstatic JMSFacade.MessageClass
Returns the enum constant of this class with the specified name.static JMSFacade.MessageClass[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Automatically determine the type of the outgoingMessage
based on the value ofMessage.isBinary()
. -
TEXT
Create the outgoing message asTextMessage
. -
BYTES
Create the outgoing message asBytesMessage
.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-