public enum ExchangeType extends Enum<ExchangeType>
| Enum Constant and Description |
|---|
DIRECT
A message goes to a specific queue.
|
FANOUT
Broadcasts all messages that the exchange receives to all bound queues.
|
HEADERS
A message is sent to a queue depending on its header attributes.
|
TOPIC
A pattern determines which queue receives which message.
|
| Modifier and Type | Method and Description |
|---|---|
static ExchangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangeType DIRECT
public static final ExchangeType TOPIC
public static final ExchangeType FANOUT
public static final ExchangeType HEADERS
public static ExchangeType[] values()
for (ExchangeType c : ExchangeType.values()) System.out.println(c);
public static ExchangeType 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 nullCopyright © 2023 MuleSoft, Inc.. All rights reserved.