public enum ExchangePattern extends Enum<ExchangePattern>
| Enum Constant and Description |
|---|
IN_ONLY
A message exchange consisting of a single request message.
|
IN_OUT
A message exchange consisting of a single request message and a single
response message.
|
| Modifier and Type | Method and Description |
|---|---|
static ExchangePattern |
fromURI(String uri)
Converts an exchange pattern URI string into an instance of this enum.
|
String |
getURI()
Returns the string representation of the ExchangePattern instance.
|
static ExchangePattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangePattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangePattern IN_ONLY
public static final ExchangePattern IN_OUT
public static ExchangePattern[] values()
for (ExchangePattern c : ExchangePattern.values()) System.out.println(c);
public static ExchangePattern 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 String getURI()
public static ExchangePattern fromURI(String uri)
uri - exchange pattern URICopyright © 2013–2017 JBoss by Red Hat. All rights reserved.