public enum ProducerType extends Enum<ProducerType>
| Modifier and Type | Method and Description |
|---|---|
static ProducerType |
fromUri(String uri) |
static ProducerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProducerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProducerType TCP
public static final ProducerType SUBMIT
public static final ProducerType STREAM
public static ProducerType[] values()
for (ProducerType c : ProducerType.values()) System.out.println(c);
public static ProducerType 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 static ProducerType fromUri(String uri)
Apache Camel