public enum MQDestinationType extends Enum<MQDestinationType> implements org.mule.jms.commons.api.destination.DestinationTypeDescriptor
DestinationTypeDescriptor implementation for IBM MQ Destinations.| Enum Constant and Description |
|---|
QUEUE
Destination is a Queue |
TOPIC
Destination is a Topic |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTopic() |
static MQDestinationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MQDestinationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MQDestinationType QUEUE
Destination is a Queuepublic static final MQDestinationType TOPIC
Destination is a Topicpublic static MQDestinationType[] values()
for (MQDestinationType c : MQDestinationType.values()) System.out.println(c);
public static MQDestinationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isTopic()
isTopic in interface org.mule.jms.commons.api.destination.DestinationTypeDescriptorCopyright © 2025 MuleSoft, Inc.. All rights reserved.