public enum DestinationType extends java.lang.Enum<DestinationType>
MessageConsumeParameters.Builder
and MessageProduceParameters.Builder
.Enum Constant and Description |
---|
EXCHANGE
AMQP Exchange
|
NAMED_QUEUE
Queue with specified name.
|
NAMED_TOPIC
Topic with a specified name.
|
TEMP_QUEUE
Temporary queue.
|
TEMP_TOPIC
Temporary topic.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTypeName()
Get the generalized type name of a queue source or destination.
|
static DestinationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DestinationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DestinationType NAMED_QUEUE
public static final DestinationType TEMP_QUEUE
public static final DestinationType NAMED_TOPIC
public static final DestinationType TEMP_TOPIC
public static final DestinationType EXCHANGE
public static DestinationType[] values()
for (DestinationType c : DestinationType.values()) System.out.println(c);
public static DestinationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getTypeName()