public enum GrpcProducerStrategy extends Enum<GrpcProducerStrategy>
Enum Constant and Description |
---|
SIMPLE
Transform each exchange into a RPC.
|
STREAMING
Forward each exchange using a shared gRPC request.
|
Modifier and Type | Method and Description |
---|---|
static GrpcProducerStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcProducerStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcProducerStrategy SIMPLE
public static final GrpcProducerStrategy STREAMING
public static GrpcProducerStrategy[] values()
for (GrpcProducerStrategy c : GrpcProducerStrategy.values()) System.out.println(c);
public static GrpcProducerStrategy 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 nullApache Camel