public enum MessageExchangePattern extends Enum<MessageExchangePattern>
| Enum Constant and Description |
|---|
ONE_WAY |
REQUEST_RESPONSE |
| Modifier and Type | Method and Description |
|---|---|
static MessageExchangePattern |
fromString(String string) |
abstract boolean |
hasResponse() |
static MessageExchangePattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageExchangePattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageExchangePattern ONE_WAY
public static final MessageExchangePattern REQUEST_RESPONSE
public static MessageExchangePattern[] values()
for (MessageExchangePattern c : MessageExchangePattern.values()) System.out.println(c);
public static MessageExchangePattern 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 abstract boolean hasResponse()
public static MessageExchangePattern fromString(String string)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.